Skip to content

Commit

Permalink
Set image priority on carousel (#1504)
Browse files Browse the repository at this point in the history
  • Loading branch information
bookernath authored Oct 22, 2024
1 parent c3c323f commit ef64ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/components/ui/slideshow/slideshow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const Slideshow = ({ className, interval = 15_000, slides }: Props) => {
className="absolute -z-10 object-cover"
fill
placeholder="blur"
priority
priority={index === 0}
sizes="(max-width: 1536px) 100vw, 1536px"
src={slide.image.src}
/>
Expand Down

0 comments on commit ef64ed5

Please sign in to comment.