1
0
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-12-12 20:46:52 +01:00

refactor: components struture

This commit is contained in:
2024-07-31 11:41:39 +02:00
parent ceeeb2f9c5
commit b5c50728de
72 changed files with 122 additions and 114 deletions

View File

@@ -0,0 +1,20 @@
import { useTranslations } from "next-intl"
import { Typography } from "../../Design/Typography/Typography"
export interface AboutIntroductionProps {}
export const AboutIntroduction: React.FC<AboutIntroductionProps> = () => {
const t = useTranslations()
return (
<div className="border-b border-black dark:border-white">
<Typography as="h1" variant="h1">
{t("meta.title")}
</Typography>
<Typography as="h2" variant="text1" className="my-3">
{t("meta.description")}
</Typography>
</div>
)
}