Skip to content

Commit

Permalink
don't lazy load home page top images
Browse files Browse the repository at this point in the history
  • Loading branch information
mitjapotocin committed Nov 20, 2023
1 parent da3b610 commit 388d7c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Home/HomeBlogs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export default function HomeBlogs({ blogs }: { blogs: BlogMetadata[] }) {
</h2>
<BodyText>{lastBlog.shortExcerpt}</BodyText>
<Link href={`blog/${lastBlog.url}`}>
<Image {...lastBlog.thumbImage} alt={lastBlog.title} />
<Image priority {...lastBlog.thumbImage} alt={lastBlog.title} />
</Link>
</ExposedHomeBlog>

Expand All @@ -235,7 +235,7 @@ export default function HomeBlogs({ blogs }: { blogs: BlogMetadata[] }) {
</ListContentWrapper>
<ListImageWrapper>
<Link href={`blog/${url}`}>
<Image {...thumbImage} alt={title} />
<Image priority {...thumbImage} alt={title} />
</Link>
</ListImageWrapper>
</ListItem>
Expand Down

0 comments on commit 388d7c8

Please sign in to comment.