Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/blog/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export default function StaticMarkdownPage({
src={recentBlog[0].frontmatter.cover}
alt={recentBlog[0].frontmatter.title}
fill
className='object-cover w-full h-full opacity-70 blur-[5px]'
className='object-fill w-full h-full opacity-70 blur-[5px]'
priority
quality={75}
/>
Expand Down Expand Up @@ -316,7 +316,7 @@ export default function StaticMarkdownPage({
src={frontmatter.cover}
alt={frontmatter.title}
fill
className='object-cover transition-transform duration-300 group-hover:scale-110'
className='object-fill transition-transform duration-300 group-hover:scale-110'
loading={idx < 10 ? 'eager' : 'lazy'}
priority={idx < 10}
quality={75}
Expand Down
2 changes: 1 addition & 1 deletion pages/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ const Home = (props: any) => {
<>
<Image
src={blogPosts[0].frontmatter.cover}
className='w-full h-[232px] mb-4'
className='object-fill mb-4'
width={600}
height={232}
alt='blog'
Expand Down