import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";

const geistSans = Geist({
  variable: "--font-geist-sans",
  subsets: ["latin"],
});

const geistMono = Geist_Mono({
  variable: "--font-geist-mono",
  subsets: ["latin"],
});

export const metadata: Metadata = {
  title: {
    default: "Vido International Home School",
    template: "%s | Vido International Home School",
  },
  description:
    "Vido International Home School — personalised home schooling that helps every learner thrive. MoE registered (No. 342001547), serving Nairobi and beyond since 2011.",
  applicationName: "Vido International Home School",
  authors: [{ name: "Vido International Home School" }],
  keywords: [
    "Vido International Home School",
    "home schooling Kenya",
    "Nairobi tutoring",
    "CBC KNEC",
    "IGCSE",
    "IB Diploma",
    "A-Level",
    "GED Kenya",
  ],
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html
      lang="en"
      className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
    >
      <body className="min-h-full flex flex-col">{children}</body>
    </html>
  );
}
