Refine site hero copy and reusable badge
This commit is contained in:
@@ -36,7 +36,12 @@ export default async function AboutPage({ params: { locale } }: AboutPageProps)
|
||||
|
||||
return (
|
||||
<>
|
||||
<PageHero title={t("title")} description={t("intro")} />
|
||||
<PageHero
|
||||
locale={localeKey}
|
||||
badge={t("heroBadge")}
|
||||
title={t("heroTitle")}
|
||||
description={t("intro")}
|
||||
/>
|
||||
|
||||
<Container className="flex flex-col gap-section pb-12 lg:pb-16">
|
||||
<MotionFade delay={0.05}>
|
||||
|
||||
@@ -50,7 +50,12 @@ export default async function ContactPage({
|
||||
|
||||
return (
|
||||
<>
|
||||
<PageHero title={t("title")} description={t("intro")} />
|
||||
<PageHero
|
||||
locale={localeKey}
|
||||
badge={t("heroBadge")}
|
||||
title={t("heroTitle")}
|
||||
description={t("intro")}
|
||||
/>
|
||||
|
||||
<Container className="grid gap-6 pb-12 lg:grid-cols-2 lg:pb-16">
|
||||
<MotionFade>
|
||||
|
||||
@@ -57,7 +57,12 @@ export default async function PortfolioPage({
|
||||
|
||||
return (
|
||||
<>
|
||||
<PageHero title={t("title")} description={t("intro")} />
|
||||
<PageHero
|
||||
locale={localeKey}
|
||||
badge={t("heroBadge")}
|
||||
title={t("heroTitle")}
|
||||
description={t("intro")}
|
||||
/>
|
||||
|
||||
<Container className="flex flex-col gap-section pb-12 lg:pb-16">
|
||||
<section className="flex flex-wrap gap-3">
|
||||
|
||||
@@ -38,7 +38,12 @@ export default async function ProductsPage({ params: { locale } }: ProductsPageP
|
||||
|
||||
return (
|
||||
<>
|
||||
<PageHero title={t("title")} description={t("intro")} />
|
||||
<PageHero
|
||||
locale={localeKey}
|
||||
badge={t("heroBadge")}
|
||||
title={t("heroTitle")}
|
||||
description={t("intro")}
|
||||
/>
|
||||
|
||||
<Container className="flex flex-col gap-section pb-12 lg:pb-16">
|
||||
<section className="grid gap-4 md:grid-cols-3">
|
||||
|
||||
Reference in New Issue
Block a user