2026-08-25 07:51:38 +02:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import "./globals.css";
|
2026-08-25 16:43:28 +02:00
|
|
|
import { Inter, Space_Grotesk, JetBrains_Mono } from "next/font/google";
|
2026-08-25 07:51:38 +02:00
|
|
|
import { cn } from "@/lib/utils";
|
|
|
|
|
import { ThemeProvider } from "@/components/layout/ThemeProvider";
|
|
|
|
|
import { Toaster } from "@/components/ui/sonner";
|
|
|
|
|
|
2026-08-25 16:43:28 +02:00
|
|
|
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });
|
2026-08-25 07:51:38 +02:00
|
|
|
const spaceGrotesk = Space_Grotesk({ subsets: ["latin"], variable: "--font-display" });
|
2026-08-25 16:43:28 +02:00
|
|
|
const jetbrainsMono = JetBrains_Mono({ subsets: ["latin"], variable: "--font-mono" });
|
2026-08-25 07:51:38 +02:00
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2026-08-25 21:26:18 +02:00
|
|
|
title: { default: "Sexy", template: "%s · Sexy" },
|
2026-08-25 07:51:38 +02:00
|
|
|
description: "Bluetooth toy control console",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
|
|
|
return (
|
|
|
|
|
<html
|
|
|
|
|
lang="en"
|
|
|
|
|
suppressHydrationWarning
|
2026-08-25 16:43:28 +02:00
|
|
|
className={cn("font-sans", inter.variable, spaceGrotesk.variable, jetbrainsMono.variable)}
|
2026-08-25 07:51:38 +02:00
|
|
|
>
|
|
|
|
|
<body>
|
|
|
|
|
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem disableTransitionOnChange>
|
|
|
|
|
{children}
|
|
|
|
|
<Toaster />
|
|
|
|
|
</ThemeProvider>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|