import type React from "react"
import type { Metadata } from "next"
import { Geist, Geist_Mono, Permanent_Marker } from "next/font/google"
import { Analytics } from "@vercel/analytics/next"
import "./globals.css"

const _geist = Geist({ subsets: ["latin"] })
const _geistMono = Geist_Mono({ subsets: ["latin"] })
const _permanentMarker = Permanent_Marker({ weight: "400", subsets: ["latin"] })

export const metadata: Metadata = {
  metadataBase: new URL("https://cryptocommonsgather.ing"),
  title: "Crypto Commons Gathering 2026 | CCG",
  description:
    "The sixth annual hack-ademic confluence of commons praxis and the latest cryptographic technologies in the Austrian Alps. August 16-22, 2026.",
  generator: "v0.app",
  icons: {
    icon: [
      {
        url: 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" fontSize="90">🏔️</text></svg>',
      },
    ],
  },
  openGraph: {
    title: "Crypto Commons Gathering 2026 | CCG",
    description:
      "The sixth annual hack-ademic confluence of commons praxis and the latest cryptographic technologies in the Austrian Alps. August 16-22, 2026.",
    url: "https://cryptocommonsgather.ing",
    siteName: "Crypto Commons Gathering",
    images: [
      {
        url: "/og-image.jpg",
        width: 1200,
        height: 630,
        alt: "Crypto Commons Gathering 2026 - Austrian Alps",
      },
    ],
    locale: "en_US",
    type: "website",
  },
  twitter: {
    card: "summary_large_image",
    title: "Crypto Commons Gathering 2026 | CCG",
    description:
      "The sixth annual hack-ademic confluence of commons praxis and the latest cryptographic technologies in the Austrian Alps. August 16-22, 2026.",
    images: ["/og-image.jpg"],
  },
}

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode
}>) {
  return (
    <html lang="en">
      <body className={`font-sans antialiased`}>
        {children}
        <Analytics />
      </body>
    </html>
  )
}
