import type { Metadata } from "next"; import { Archivo, Space_Grotesk, IBM_Plex_Mono } from "next/font/google"; import "../globals.css"; import { Locale, i18n } from "@/i18n-config"; const archivo = Archivo({ subsets: ["latin"], weight: ["300", "400", "500", "600", "700", "900"], variable: "--font-archivo", }); const spaceGrotesk = Space_Grotesk({ subsets: ["latin"], weight: ["300", "400", "500", "600", "700"], variable: "--font-space-grotesk", }); const ibmPlexMono = IBM_Plex_Mono({ subsets: ["latin"], weight: ["300", "400", "500", "600", "700"], variable: "--font-ibm-plex-mono", }); export const metadata: Metadata = { title: "Ayris Tech | Forging the Future with AI & Blockchain", description: "Ayris Tech delivers enterprise-grade digital transformation. We build the impossible for the next generation of business using AI, Blockchain, and modern web technologies.", keywords: ["AI Solutions", "Blockchain Development", "Mobile App", "Web Development", "Digital Transformation"], }; export async function generateStaticParams() { return i18n.locales.map((locale) => ({ lang: locale })); } export default async function RootLayout({ children, params, }: { children: React.ReactNode; params: Promise<{ lang: string }>; }) { const { lang } = await params; return ( {children} ); }