import type React from "react"
import type { Metadata } from "next"
import { GeistSans } from "geist/font/sans"
import { GeistMono } from "geist/font/mono"
import { Analytics } from "@vercel/analytics/next"
import Footer from "@/components/Footer"
import "./globals.css"
import { Suspense } from "react"

export const metadata: Metadata = {
  title: "Kaplong Creative - Wedding Photography & Videography",
  description:
    "Professional wedding photography and videography services in Kenya. Candid, clean, cinematic storytelling for your special day.",
  generator: "v0.app",
}

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode
}>) {
  return (
    <html lang="en">
      <body className={`font-sans ${GeistSans.variable} ${GeistMono.variable}`}>
        <Suspense fallback={null}>{children}</Suspense>
        <Footer />
        <Analytics />
      </body>
    </html>
  )
}
