From 3582370449a033f3606eb1696d3c779146769718 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sun, 25 Jan 2026 11:34:57 +0100 Subject: [PATCH] font sizes --- app/[locale]/[slug]/page.tsx | 2 +- app/[locale]/blog/[slug]/page.tsx | 4 ++-- app/[locale]/blog/page.tsx | 4 ++-- app/[locale]/contact/page.tsx | 2 +- app/[locale]/products/[...slug]/page.tsx | 4 ++-- app/[locale]/products/page.tsx | 4 ++-- app/[locale]/team/page.tsx | 8 ++++---- components/blog/PowerCTA.tsx | 2 +- components/blog/StickyNarrative.tsx | 2 +- components/home/Experience.tsx | 4 ++-- components/home/VideoSection.tsx | 2 +- components/ui/Heading.tsx | 10 +++++----- styles/globals.css | 12 ++++++------ 13 files changed, 30 insertions(+), 30 deletions(-) diff --git a/app/[locale]/[slug]/page.tsx b/app/[locale]/[slug]/page.tsx index de43b8e2..9ad882c4 100644 --- a/app/[locale]/[slug]/page.tsx +++ b/app/[locale]/[slug]/page.tsx @@ -60,7 +60,7 @@ export default async function StandardPage({ params: { locale, slug } }: PagePro
{t('badge')} - + {pageData.frontmatter.title}
diff --git a/app/[locale]/blog/[slug]/page.tsx b/app/[locale]/blog/[slug]/page.tsx index e22b3676..48912278 100644 --- a/app/[locale]/blog/[slug]/page.tsx +++ b/app/[locale]/blog/[slug]/page.tsx @@ -224,7 +224,7 @@ export default async function BlogPost({ params: { locale, slug } }: BlogPostPro )} -

+

{post.frontmatter.title}

@@ -252,7 +252,7 @@ export default async function BlogPost({ params: { locale, slug } }: BlogPostPro
)} -

+

{post.frontmatter.title}

diff --git a/app/[locale]/blog/page.tsx b/app/[locale]/blog/page.tsx index e6053551..60e38273 100644 --- a/app/[locale]/blog/page.tsx +++ b/app/[locale]/blog/page.tsx @@ -68,10 +68,10 @@ export default async function BlogIndex({ params: { locale } }: BlogIndexProps) {t('featuredPost')} {featuredPost && ( <> -

+

{featuredPost.frontmatter.title}

-

+

{featuredPost.frontmatter.excerpt}

diff --git a/app/[locale]/products/[...slug]/page.tsx b/app/[locale]/products/[...slug]/page.tsx index e08cb309..6aee00e8 100644 --- a/app/[locale]/products/[...slug]/page.tsx +++ b/app/[locale]/products/[...slug]/page.tsx @@ -93,7 +93,7 @@ const components = { p: (props: any) =>

, h2: (props: any) => (

-

+

), @@ -118,7 +118,7 @@ const components = { blockquote: (props: any) => (
-
+
), }; diff --git a/app/[locale]/products/page.tsx b/app/[locale]/products/page.tsx index 5d14cf0d..65b7409f 100644 --- a/app/[locale]/products/page.tsx +++ b/app/[locale]/products/page.tsx @@ -88,7 +88,7 @@ export default async function ProductsPage({ params }: ProductsPageProps) { {t('heroSubtitle')} -

+

{t.rich('title', { green: (chunks) => ( @@ -98,7 +98,7 @@ export default async function ProductsPage({ params }: ProductsPageProps) { ) })}

-

+

{t('subtitle')}

diff --git a/app/[locale]/team/page.tsx b/app/[locale]/team/page.tsx index c67928f5..099c5dba 100644 --- a/app/[locale]/team/page.tsx +++ b/app/[locale]/team/page.tsx @@ -99,10 +99,10 @@ export default function TeamPage() { {t('hero.badge')} -

+

{t('hero.subtitle')}

-

+

{t('hero.title')}

@@ -115,12 +115,12 @@ export default function TeamPage() {
{t('michael.role')} - + {t('michael.name')}
-

+

{t('michael.quote')}

diff --git a/components/blog/PowerCTA.tsx b/components/blog/PowerCTA.tsx index d922cddd..60f15051 100644 --- a/components/blog/PowerCTA.tsx +++ b/components/blog/PowerCTA.tsx @@ -23,7 +23,7 @@ export default function PowerCTA({ locale }: PowerCTAProps) { {isDe ? 'Lösungen' : 'Solutions'}
-

+

{isDe ? 'Bereit für die' : 'Ready for the'} {isDe ? 'Energiewende?' : 'Energy Transition?'}

diff --git a/components/blog/StickyNarrative.tsx b/components/blog/StickyNarrative.tsx index dd45e3b6..30780842 100644 --- a/components/blog/StickyNarrative.tsx +++ b/components/blog/StickyNarrative.tsx @@ -14,7 +14,7 @@ export default function StickyNarrative({ title, items }: StickyNarrativeProps) return (
-

+

{title}

diff --git a/components/home/Experience.tsx b/components/home/Experience.tsx index 87a8ed32..85a042d6 100644 --- a/components/home/Experience.tsx +++ b/components/home/Experience.tsx @@ -36,11 +36,11 @@ export default function Experience() {
-
{t('certifiedQuality')}
+
{t('certifiedQuality')}
{t('vdeApproved')}
-
{t('fullSpectrum')}
+
{t('fullSpectrum')}
{t('solutionsRange')}
diff --git a/components/home/VideoSection.tsx b/components/home/VideoSection.tsx index b796a8ec..36d62287 100644 --- a/components/home/VideoSection.tsx +++ b/components/home/VideoSection.tsx @@ -17,7 +17,7 @@ export default function VideoSection() {
-

+

{t.rich('title', { future: (chunks) => ( diff --git a/components/ui/Heading.tsx b/components/ui/Heading.tsx index 5497425b..c05e5f09 100644 --- a/components/ui/Heading.tsx +++ b/components/ui/Heading.tsx @@ -17,11 +17,11 @@ export function Heading({ const Tag = `h${level}` as any; const sizes = { - 1: 'text-4xl md:text-6xl lg:text-7xl xl:text-8xl font-extrabold leading-[1.1] tracking-tight', - 2: 'text-3xl md:text-5xl lg:text-6xl font-bold leading-[1.2] tracking-tight', - 3: 'text-2xl md:text-3xl lg:text-4xl font-bold leading-[1.3] tracking-tight', - 4: 'text-xl md:text-2xl font-bold leading-[1.4]', - 5: 'text-lg md:text-xl font-bold leading-[1.5]', + 1: 'text-3xl md:text-5xl lg:text-6xl font-extrabold leading-[1.1] tracking-tight', + 2: 'text-2xl md:text-4xl lg:text-5xl font-bold leading-[1.2] tracking-tight', + 3: 'text-xl md:text-2xl lg:text-3xl font-bold leading-[1.3] tracking-tight', + 4: 'text-lg md:text-xl lg:text-2xl font-bold leading-[1.4]', + 5: 'text-base md:text-lg font-bold leading-[1.5]', 6: 'text-base md:text-lg font-semibold leading-[1.6]', }; diff --git a/styles/globals.css b/styles/globals.css index 717833a2..1c0dc860 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -75,12 +75,12 @@ } /* Enhanced Mobile-first typography hierarchy with fluid sizing */ - h1 { @apply text-3xl md:text-6xl lg:text-7xl xl:text-8xl leading-[1.1]; } - h2 { @apply text-2xl md:text-5xl lg:text-6xl leading-[1.2]; } - h3 { @apply text-xl md:text-3xl lg:text-4xl leading-[1.3]; } - h4 { @apply text-lg md:text-2xl leading-[1.4]; } - h5 { @apply text-base md:text-xl leading-[1.5]; } - h6 { @apply text-sm md:text-lg leading-[1.6]; } + h1 { @apply text-3xl md:text-5xl lg:text-6xl leading-[1.1]; } + h2 { @apply text-2xl md:text-4xl lg:text-5xl leading-[1.2]; } + h3 { @apply text-xl md:text-2xl lg:text-3xl leading-[1.3]; } + h4 { @apply text-lg md:text-xl lg:text-2xl leading-[1.4]; } + h5 { @apply text-base md:text-lg leading-[1.5]; } + h6 { @apply text-sm md:text-base leading-[1.6]; } /* Paragraph and text styles */ p {