34 lines
973 B
TypeScript
34 lines
973 B
TypeScript
"use client";
|
|
|
|
import Link from "next/link";
|
|
import { LanguageSwitcher } from "~/components/language-switcher";
|
|
import { useLocale } from "~/components/locale-provider";
|
|
|
|
export default function AboutPage() {
|
|
const { t } = useLocale();
|
|
|
|
return (
|
|
<div
|
|
className="relative flex min-h-dvh flex-col bg-[#f8f7fc] px-5 py-10"
|
|
style={{
|
|
paddingTop: "max(2.5rem, calc(1.5rem + var(--safe-top)))",
|
|
paddingBottom: "max(2.5rem, calc(1.5rem + var(--safe-bottom)))",
|
|
}}
|
|
>
|
|
<LanguageSwitcher />
|
|
<div className="mx-auto w-full max-w-md">
|
|
<h1 className="text-xl font-bold text-neutral-900">{t.about.title}</h1>
|
|
<p className="mt-4 text-sm leading-relaxed text-neutral-600">
|
|
{t.about.body}
|
|
</p>
|
|
<Link
|
|
href="/"
|
|
className="mt-8 inline-block text-sm text-violet-600 active:text-violet-800"
|
|
>
|
|
{t.about.backHome}
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|