This commit is contained in:
 Илья Шалонин 2025-10-29 13:43:43 +05:00
commit 8538ab969a
434 changed files with 44051 additions and 0 deletions

View file

@ -0,0 +1,33 @@
import { ContactForm } from "@marketing/home/components/ContactForm";
import { config } from "@repo/config";
import { getTranslations } from "next-intl/server";
import { redirect } from "next/navigation";
export async function generateMetadata() {
const t = await getTranslations();
return {
title: t("contact.title"),
};
}
export default async function ContactPage() {
if (!config.contactForm.enabled) {
redirect("/");
}
const t = await getTranslations();
return (
<div className="container max-w-xl pt-32 pb-16">
<div className="mb-12 pt-8 text-center">
<h1 className="mb-2 font-bold text-5xl">
{t("contact.title")}
</h1>
<p className="text-balance text-lg opacity-50">
{t("contact.description")}
</p>
</div>
<ContactForm />
</div>
);
}