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:
20
packages/ui/src/Home/About/AboutIntroduction.tsx
Normal file
20
packages/ui/src/Home/About/AboutIntroduction.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user