1
0
mirror of https://github.com/theoludwig/theoludwig.git synced 2026-02-28 16:01:00 +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,21 @@
import { useTranslations } from "next-intl"
import { Button } from "../../Design/Button/Button"
import { Typography } from "../../Design/Typography/Typography"
export interface AboutDescriptionProps {}
export const AboutDescription: React.FC<AboutDescriptionProps> = () => {
const t = useTranslations()
return (
<div className="dark:text-gray my-6 max-w-md text-center text-black">
<Typography as="p" variant="text1" className="my-6">
{t.rich("home.about.description")}
</Typography>
<Button href="/curriculum-vitae/index.html" variant="outline">
Curriculum vitæ ({t("locales.fr-FR")})
</Button>
</div>
)
}