This commit is contained in:
payacom
2026-07-11 16:48:45 +03:30
parent 2863cdf490
commit c6db3cee05
4 changed files with 4 additions and 0 deletions

View File

@@ -141,6 +141,7 @@ function ExploreCard({
fill
className="object-cover"
sizes="33vw"
unoptimized
/>
)}
{media.kind === "video" && (

View File

@@ -114,6 +114,7 @@ const SwipeImageSlider: React.FC<SwipeImageSliderProps> = ({
loading={idx === 0 ? "eager" : "lazy"}
className="object-contain w-full min-h-[30vh] rounded-xl shadow-lg transition-opacity duration-300"
onLoadingComplete={() => setImageLoading?.(false)}
unoptimized
/>
)}
</div>

View File

@@ -113,6 +113,7 @@ function ModelContentPosts({ filters, token, _id }: InfinitePostsProps) {
height={300}
className="h-full w-full object-cover transition-transform duration-300 group-hover:scale-105 group-active:scale-100"
loading="lazy"
unoptimized
/>
) : (
<video

View File

@@ -180,6 +180,7 @@ export default function ReelsPostCard({
className="object-contain"
priority={isActive}
onLoadingComplete={() => setImageLoading(false)}
unoptimized
/>
{mediaFiles.length > 1 && (
<>