Files
Aut.ManagementFaculty/src/app/(main)/contact/page.tsx
T
smhk1376andCursor 2b0db26a93
Deploy edu.mstaut.ir / deploy (push) Has been cancelled
Ship site UI checklist, move admin to /mstcontroller, and add safe taxonomy label migration.
Production already has migrations through 008; 009 only updates four seed labels by id. Faculty sync remains upsert-by-email/name and does not wipe curated data.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 16:26:21 +03:30

40 lines
1.4 KiB
TypeScript

import type { Metadata } from "next";
import { getTranslations } from "next-intl/server";
import { Container } from "@/components/atoms/Container";
import { Section } from "@/components/atoms/Section";
import { PageHero } from "@/components/molecules/PageHero";
import { ContactDetails } from "@/components/molecules/ContactDetails";
import { FormCard } from "@/components/molecules/FormCard";
import { ContactInterestForm } from "@/components/organisms/ContactInterestForm";
import { pageMetadata } from "@/lib/seo/metadata";
export async function generateMetadata(): Promise<Metadata> {
const t = await getTranslations("pages");
return pageMetadata({
title: t("contactTitle"),
description: t("contactIntro"),
path: "/contact",
});
}
export default async function ContactPage() {
const t = await getTranslations("pages");
return (
<main id="main-content">
<PageHero title={t("contactTitle")} intro={t("contactIntro")} />
<Section tone="subtle">
<Container className="grid gap-10 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.2fr)] lg:items-start">
<ContactDetails />
<FormCard title="ارسال پیام">
<ContactInterestForm
submitLabel={t("submit")}
successLabel={t("registerSuccess")}
/>
</FormCard>
</Container>
</Section>
</main>
);
}