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 = { metadataBase: new URL('https://ayris.tech'), 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"], openGraph: { 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.", url: 'https://ayris.tech', siteName: 'Ayris Tech', images: [ { url: '/og-image.jpg', width: 1200, height: 630, alt: 'Ayris Tech - AI & Blockchain Solutions' } ], locale: 'en_US', type: 'website', }, twitter: { card: 'summary_large_image', title: "Ayris Tech | Forging the Future with AI & Blockchain", description: "Ayris Tech delivers enterprise-grade digital transformation.", images: ['/og-image.jpg'], }, alternates: { canonical: '/', languages: { 'en': '/en', 'tr': '/tr', }, }, }; const jsonLd = { '@context': 'https://schema.org', '@type': 'Organization', name: 'Ayris Tech', url: 'https://ayris.tech', logo: 'https://ayris.tech/logo.png', // Update with actual logo URL if available description: 'Ayris Tech delivers enterprise-grade digital transformation using AI, Blockchain, and modern web technologies.', address: { '@type': 'PostalAddress', addressLocality: 'Muğla', addressCountry: 'TR' } }; 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} ); }