import "~/styles/globals.css";

import { type Metadata } from "next";
import { Bakbak_One, Teko } from "next/font/google";

import { TRPCReactProvider } from "~/trpc/react";

export const metadata: Metadata = {
  title: "Folder Game Challenge",
  description:
    "An interactive game challenge focused on file management and navigating software.",
  icons: [{ rel: "icon", url: "/favicon.ico" }],
};

const teko = Teko({
  weight: "700",
  subsets: ["latin"],
  variable: "--font-teko",
});

const bakbakOne = Bakbak_One({
  weight: "400",
  subsets: ["latin"],
  variable: "--font-bakbak-one",
});

export default function RootLayout({
  children,
}: Readonly<{ children: React.ReactNode }>) {
  return (
    <html lang="en" className={`${teko.variable} ${bakbakOne.variable}`}>
      <body className="bg-zinc-950 text-zinc-100 antialiased">
        <TRPCReactProvider>{children}</TRPCReactProvider>
      </body>
    </html>
  );
}
