headings
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 4m3s

This commit is contained in:
2026-01-29 16:51:11 +01:00
parent bb7d17001b
commit 13e56a88bc
8 changed files with 24 additions and 23 deletions

View File

@@ -69,9 +69,9 @@ export default async function BlogIndex({ params: { locale } }: BlogIndexProps)
<Badge variant="saturated" className="mb-4 md:mb-6">{t('featuredPost')}</Badge>
{featuredPost && (
<>
<h1 className="text-3xl md:text-6xl font-extrabold text-white mb-4 md:mb-8 leading-[1.1] line-clamp-3 md:line-clamp-none">
<Heading level={1} className="text-white mb-4 md:mb-8">
{featuredPost.frontmatter.title}
</h1>
</Heading>
<p className="text-base md:text-xl text-white/80 mb-6 md:mb-10 line-clamp-2 md:line-clamp-2 max-w-2xl">
{featuredPost.frontmatter.excerpt}
</p>