52 lines
1.7 KiB
TypeScript
52 lines
1.7 KiB
TypeScript
"use client";
|
|
|
|
import Link from "next/link";
|
|
import { LanguageSwitcher } from "~/components/language-switcher";
|
|
import { useLocale } from "~/components/locale-provider";
|
|
|
|
export default function ContactPage() {
|
|
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.contact.title}</h1>
|
|
<p className="mt-4 text-sm leading-relaxed text-neutral-600">
|
|
{t.contact.body}
|
|
</p>
|
|
<div className="mt-6 flex flex-col gap-3">
|
|
<Link
|
|
href="https://nomadro.live"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
className="flex h-12 items-center justify-center rounded-2xl bg-violet-600 text-sm font-medium text-white active:bg-violet-700"
|
|
>
|
|
{t.contact.liveCta}
|
|
</Link>
|
|
<Link
|
|
href="https://vip.hackrobot.cn"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
className="flex h-12 items-center justify-center rounded-2xl border border-neutral-200 bg-white text-sm font-medium text-neutral-700 active:bg-neutral-50"
|
|
>
|
|
{t.contact.vipCta}
|
|
</Link>
|
|
</div>
|
|
<Link
|
|
href="/"
|
|
className="mt-8 inline-block text-sm text-violet-600 active:text-violet-800"
|
|
>
|
|
{t.contact.backHome}
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|