perf: site-wide performance optimizations including image delivery and hero overhaul

This commit is contained in:
2026-02-11 18:47:13 +01:00
parent 407edc15f9
commit 24181a48c1
13 changed files with 300 additions and 1105 deletions

View File

@@ -43,7 +43,7 @@ export default async function RecentPosts({ locale }: RecentPostsProps) {
alt={post.frontmatter.title}
fill
className="w-full h-full object-cover transition-transform duration-700 group-hover:scale-110"
unoptimized
sizes="(max-width: 768px) 100vw, 33vw"
/>
<div className="absolute inset-0 image-overlay-gradient opacity-0 group-hover:opacity-100 transition-opacity duration-500" />
{post.frontmatter.category && (