2026-07-26 11:27:21 +07:00
|
|
|
import type { Metadata } from "next";
|
2026-08-14 10:49:44 +07:00
|
|
|
import { Bricolage_Grotesque, Inter, JetBrains_Mono } from "next/font/google";
|
2026-08-07 17:33:12 +07:00
|
|
|
import { ThemeProvider } from "next-themes";
|
2026-08-14 10:49:44 +07:00
|
|
|
import { Toaster } from "@/components/primitives/toast";
|
2026-07-26 11:27:21 +07:00
|
|
|
import "./globals.css";
|
|
|
|
|
|
2026-07-28 10:05:08 +07:00
|
|
|
const inter = Inter({
|
2026-07-26 11:27:21 +07:00
|
|
|
subsets: ["latin"],
|
2026-07-28 10:05:08 +07:00
|
|
|
variable: "--font-inter",
|
2026-08-14 10:49:44 +07:00
|
|
|
display: "swap",
|
2026-07-26 11:27:21 +07:00
|
|
|
});
|
|
|
|
|
|
2026-07-28 10:05:08 +07:00
|
|
|
const jetbrainsMono = JetBrains_Mono({
|
2026-07-26 11:27:21 +07:00
|
|
|
subsets: ["latin"],
|
2026-07-28 10:05:08 +07:00
|
|
|
variable: "--font-jetbrains-mono",
|
2026-08-14 10:49:44 +07:00
|
|
|
display: "swap",
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const bricolage = Bricolage_Grotesque({
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
variable: "--font-display",
|
|
|
|
|
display: "swap",
|
2026-07-26 11:27:21 +07:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2026-08-14 10:49:44 +07:00
|
|
|
title: "Bete — Discord Moderation Console",
|
|
|
|
|
description:
|
|
|
|
|
"AI-powered Discord moderation, voice monitoring, and media control console",
|
2026-07-26 11:27:21 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
return (
|
|
|
|
|
<html
|
|
|
|
|
lang="en"
|
2026-08-14 10:49:44 +07:00
|
|
|
className={`${inter.variable} ${jetbrainsMono.variable} ${bricolage.variable} h-full antialiased`}
|
2026-07-26 11:27:21 +07:00
|
|
|
suppressHydrationWarning
|
|
|
|
|
>
|
2026-07-26 15:13:18 +07:00
|
|
|
<body className="min-h-full flex flex-col">
|
2026-08-07 17:33:12 +07:00
|
|
|
<ThemeProvider
|
|
|
|
|
attribute="class"
|
|
|
|
|
defaultTheme="dark"
|
|
|
|
|
enableSystem={false}
|
|
|
|
|
enableColorScheme={false}
|
|
|
|
|
disableTransitionOnChange
|
|
|
|
|
>
|
|
|
|
|
{children}
|
2026-08-14 10:49:44 +07:00
|
|
|
<Toaster position="bottom-right" />
|
2026-08-07 17:33:12 +07:00
|
|
|
</ThemeProvider>
|
2026-07-26 15:13:18 +07:00
|
|
|
</body>
|
2026-07-26 11:27:21 +07:00
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|