post
This commit is contained in:
@@ -141,6 +141,7 @@ function ExploreCard({
|
||||
fill
|
||||
className="object-cover"
|
||||
sizes="33vw"
|
||||
unoptimized
|
||||
/>
|
||||
)}
|
||||
{media.kind === "video" && (
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -180,6 +180,7 @@ export default function ReelsPostCard({
|
||||
className="object-contain"
|
||||
priority={isActive}
|
||||
onLoadingComplete={() => setImageLoading(false)}
|
||||
unoptimized
|
||||
/>
|
||||
{mediaFiles.length > 1 && (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user