Add Spanish and Arabic versions, a contact form captcha and a multilingual sitemap
- 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
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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" }]} />;
|
||||
}
|
||||
Reference in New Issue
Block a user