import type { Metadata } from "next";
import { Inter, JetBrains_Mono, Domine } from "next/font/google";
import "./globals.css";

const inter = Inter({
  subsets: ["latin"],
  variable: "--font-inter",
  display: "swap",
});

const jetbrainsMono = JetBrains_Mono({
  subsets: ["latin"],
  variable: "--font-jetbrains",
  display: "swap",
});

const domine = Domine({
  subsets: ["latin"],
  variable: "--font-domine",
  weight: ["400", "700"],
  display: "swap",
});

export const metadata: Metadata = {
  title: "Asset Homepage",
  description: "Asset management platform homepage",
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="zh-CN" className={`${inter.variable} ${jetbrainsMono.variable} ${domine.variable}`}>
      <body className="antialiased">
        {children}
      </body>
    </html>
  );
}
