828a81f3a5
- English, Spanish (/es) and Arabic (/ar, right to left) versions of every page, with a language switch - Self-hosted "I'm not a robot" check on the contact form; the message field is optional - Google Tag Manager, GA4 and Search Console verification in the shared layout - Sitemap, robots.txt and canonical links point at aigrowthtechnologies.com
15 lines
537 B
TypeScript
15 lines
537 B
TypeScript
import ContentPage from "@/components/content/content-page";
|
|
import { getUI } from "@/i18n/server";
|
|
import { getStaticPage } from "@/lib/pages";
|
|
import { pageMetadata } from "@/lib/metadata";
|
|
|
|
export async function generateMetadata() {
|
|
const { locale } = await getUI();
|
|
return pageMetadata(getStaticPage(locale, "contact"));
|
|
}
|
|
|
|
export default async function ContactPage() {
|
|
const { locale, t } = await getUI();
|
|
return <ContentPage page={getStaticPage(locale, "contact")} trail={[{ name: t.nav.contact, path: "/contact" }]} />;
|
|
}
|