diff --git a/app/[locale]/[slug]/page.tsx b/app/[locale]/[slug]/page.tsx
index e5ad4eb1..23d0242e 100644
--- a/app/[locale]/[slug]/page.tsx
+++ b/app/[locale]/[slug]/page.tsx
@@ -1,6 +1,6 @@
import { notFound } from 'next/navigation';
import { MDXRemote } from 'next-mdx-remote/rsc';
-import { Container, Badge } from '@/components/ui';
+import { Container, Badge, Heading } from '@/components/ui';
import { getTranslations } from 'next-intl/server';
import { Metadata } from 'next';
import { getPageBySlug, getAllPages } from '@/lib/pages';
@@ -74,9 +74,9 @@ 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 95c23d50..dedadd25 100644
--- a/app/[locale]/blog/[slug]/page.tsx
+++ b/app/[locale]/blog/[slug]/page.tsx
@@ -10,6 +10,7 @@ import PostNavigation from '@/components/blog/PostNavigation';
import PowerCTA from '@/components/blog/PowerCTA';
import TableOfContents from '@/components/blog/TableOfContents';
import { mdxComponents } from '@/components/blog/MDXComponents';
+import { Heading } from '@/components/ui';
interface BlogPostProps {
params: {
@@ -84,9 +85,9 @@ export default async function BlogPost({ params: { locale, slug } }: BlogPostPro
)}
-
+
{post.frontmatter.title}
-
+
)}
-
+
{post.frontmatter.title}
-
+
@@ -325,9 +325,9 @@ export default async function ProductPage({ params }: ProductPageProps) {
))}
-
+
{product.frontmatter.title}
-
+
{product.frontmatter.description}
diff --git a/app/[locale]/products/page.tsx b/app/[locale]/products/page.tsx
index 3f7b63b3..e106b45d 100644
--- a/app/[locale]/products/page.tsx
+++ b/app/[locale]/products/page.tsx
@@ -1,6 +1,6 @@
import Reveal from '@/components/Reveal';
import Scribble from '@/components/Scribble';
-import { Badge, Button, Card, Container, Section } from '@/components/ui';
+import { Badge, Button, Card, Container, Heading, Section } from '@/components/ui';
import { getTranslations } from 'next-intl/server';
import { Metadata } from 'next';
import Image from 'next/image';
@@ -90,7 +90,7 @@ export default async function ProductsPage({ params }: ProductsPageProps) {
{t('heroSubtitle')}
-
+
{t.rich('title', {
green: (chunks) => (
@@ -99,7 +99,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 63dde4c4..aa81148e 100644
--- a/app/[locale]/team/page.tsx
+++ b/app/[locale]/team/page.tsx
@@ -102,9 +102,9 @@ export default async function TeamPage({ params: { locale } }: TeamPageProps) {
{t('hero.badge')}
-
+
{t('hero.subtitle')}
-
+
{t('hero.title')}
diff --git a/components/home/Hero.tsx b/components/home/Hero.tsx
index 85fff68a..6224677d 100644
--- a/components/home/Hero.tsx
+++ b/components/home/Hero.tsx
@@ -19,7 +19,7 @@ export default function Hero() {
variants={containerVariants}
>
-
+
{t.rich('title', {
green: (chunks) => (
diff --git a/components/ui/Heading.tsx b/components/ui/Heading.tsx
index c05e5f09..f92034fb 100644
--- a/components/ui/Heading.tsx
+++ b/components/ui/Heading.tsx
@@ -17,9 +17,9 @@ export function Heading({
const Tag = `h${level}` as any;
const sizes = {
- 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',
+ 1: 'text-2xl md:text-4xl lg:text-5xl font-bold leading-[1.1] tracking-tight',
+ 2: 'text-xl md:text-3xl lg:text-4xl font-bold leading-[1.2] tracking-tight',
+ 3: 'text-lg 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]',