diff --git a/app/about/page.tsx b/app/[locale]/about/page.tsx similarity index 100% rename from app/about/page.tsx rename to app/[locale]/about/page.tsx diff --git a/app/contact/layout.tsx b/app/[locale]/contact/layout.tsx similarity index 100% rename from app/contact/layout.tsx rename to app/[locale]/contact/layout.tsx diff --git a/app/contact/page.tsx b/app/[locale]/contact/page.tsx similarity index 100% rename from app/contact/page.tsx rename to app/[locale]/contact/page.tsx diff --git a/app/documents/layout.tsx b/app/[locale]/documents/layout.tsx similarity index 100% rename from app/documents/layout.tsx rename to app/[locale]/documents/layout.tsx diff --git a/app/documents/page.tsx b/app/[locale]/documents/page.tsx similarity index 100% rename from app/documents/page.tsx rename to app/[locale]/documents/page.tsx diff --git a/app/fraud/layout.tsx b/app/[locale]/fraud/layout.tsx similarity index 100% rename from app/fraud/layout.tsx rename to app/[locale]/fraud/layout.tsx diff --git a/app/fraud/page.tsx b/app/[locale]/fraud/page.tsx similarity index 100% rename from app/fraud/page.tsx rename to app/[locale]/fraud/page.tsx diff --git a/app/inspection/layout.tsx b/app/[locale]/inspection/layout.tsx similarity index 100% rename from app/inspection/layout.tsx rename to app/[locale]/inspection/layout.tsx diff --git a/app/inspection/page.tsx b/app/[locale]/inspection/page.tsx similarity index 100% rename from app/inspection/page.tsx rename to app/[locale]/inspection/page.tsx diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx new file mode 100644 index 0000000..429a259 --- /dev/null +++ b/app/[locale]/layout.tsx @@ -0,0 +1,77 @@ +import type { Metadata } from "next"; +import "./globals.css"; +import { Lora, Figtree } from "next/font/google"; +import { Nav } from "@/components/layout/Nav"; +import { Footer } from "@/components/layout/Footer"; +// import { CarCursor } from "@/components/ui/CarCursor"; + +const lora = Lora({ + subsets: ["latin"], + variable: "--font-heading", + weight: ["400", "500", "600", "700"], + style: ["normal", "italic"], + display: "swap", +}); + +const figtree = Figtree({ + subsets: ["latin"], + variable: "--font-body", + weight: ["400", "500", "600", "700", "800", "900"], + display: "swap", +}); + +export const metadata: Metadata = { + metadataBase: new URL( + process.env.NEXT_PUBLIC_SITE_URL ?? "https://getvindicated.org" + ), + title: { + default: "VINdicated | Educate. Empower. Vindicate.", + template: "%s | VINdicated", + }, + description: + "VINdicated is a nonprofit built on the belief that car knowledge should be public knowledge. We break down the systems that allow consumer discrimination to thrive.", + openGraph: { + type: "website", + siteName: "VINdicated", + title: { + default: "VINdicated | Educate. Empower. Vindicate.", + template: "%s | VINdicated", + }, + description: + "VINdicated is a nonprofit built on the belief that car knowledge should be public knowledge. We break down the systems that allow consumer discrimination to thrive.", + url: "/", + images: [ + { + url: "/illus-woman-dealership.png", + alt: "VINdicated", + }, + ], + }, + twitter: { + card: "summary_large_image", + title: { + default: "VINdicated | Educate. Empower. Vindicate.", + template: "%s | VINdicated", + }, + description: + "VINdicated is a nonprofit built on the belief that car knowledge should be public knowledge. We break down the systems that allow consumer discrimination to thrive.", + images: ["/illus-woman-dealership.png"], + }, +}; + +export default function RootLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( + + + {/* */} +