mirror of
https://github.com/theoludwig/theoludwig.git
synced 2026-02-28 16:01:00 +01:00
26 lines
755 B
TypeScript
26 lines
755 B
TypeScript
import { useTranslations } from "next-intl"
|
|
import { Button } from "../../Design/Button/Button.tsx"
|
|
import { Typography } from "../../Design/Typography/Typography.tsx"
|
|
|
|
export interface AboutDescriptionProps {}
|
|
|
|
export const AboutDescription: React.FC<AboutDescriptionProps> = () => {
|
|
const t = useTranslations()
|
|
|
|
return (
|
|
<div className="my-6 max-w-md text-center text-black dark:text-gray-lighter">
|
|
<Typography as="p" variant="text1" className="my-6">
|
|
{t.rich("home.about.description", {
|
|
strong: (children) => {
|
|
return <strong>{children}</strong>
|
|
},
|
|
})}
|
|
</Typography>
|
|
|
|
<Button href="/curriculum-vitae" variant="outline">
|
|
Curriculum vitæ
|
|
</Button>
|
|
</div>
|
|
)
|
|
}
|