mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-09-30 02:38:09 +03:00
30 lines
863 B
TypeScript
30 lines
863 B
TypeScript
import type {Metadata} from "next";
|
|
import {Inter as FontSans} from "next/font/google";
|
|
import {cn} from "@/lib/utils";
|
|
import "./globals.css";
|
|
import {ThemeProvider} from "@/components/theme-provider";
|
|
|
|
const fontSans = FontSans({
|
|
subsets: ["latin"],
|
|
variable: "--font-sans",
|
|
})
|
|
|
|
export const metadata: Metadata = {
|
|
title: "AimeNet"
|
|
};
|
|
|
|
export default function RootLayout({children}: Readonly<{ children: React.ReactNode; }>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<head>
|
|
<title>AimeNet</title>
|
|
</head>
|
|
<body className={cn("min-h-screen bg-background font-sans antialiased", fontSans.variable)}>
|
|
<ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange>
|
|
{children}
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|