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: "Hyperware Hybrid App Example",
  description: "visit https://github.com/hyperware-ai/hyperware-login",
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <link rel="icon" href="/favicon.png" type="image/png" sizes="16x16" />

      <link
        precedence="default"
        href="https://db.onlinewebfonts.com/c/cecb4be234bd82f3bc858201426b2b59?family=CHANEY+Ultra+Extended"
        rel="stylesheet"
      />
      <body className={`${geistSans.variable} ${geistMono.variable}`}>
        {children}
      </body>
    </html>
  );
}
