32 lines
979 B
TypeScript
32 lines
979 B
TypeScript
import type { Metadata } from "next";
|
|||
|
|
import "./globals.css";
|
||
|
|
import { Geist, Space_Grotesk } from "next/font/google";
|
||
|
|
import { cn } from "@/lib/utils";
|
||
|
|
import { ThemeProvider } from "@/components/layout/ThemeProvider";
|
||
|
|
import { Toaster } from "@/components/ui/sonner";
|
||
|
|
|
||
|
|
const geist = Geist({ subsets: ["latin"], variable: "--font-sans" });
|
||
|
|
const spaceGrotesk = Space_Grotesk({ subsets: ["latin"], variable: "--font-display" });
|
||
|
|
|
||
|
|
export const metadata: Metadata = {
|
||
|
|
title: "sexy",
|
||
|
|
description: "Bluetooth toy control console",
|
||
|
|
};
|
||
|
|
|
||
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||
|
|
return (
|
||
|
|
<html
|
||
|
|
lang="en"
|
||
|
|
suppressHydrationWarning
|
||
|
|
className={cn("font-sans", geist.variable, spaceGrotesk.variable)}
|
||
|
|
>
|
||
|
|
<body>
|
||
|
|
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem disableTransitionOnChange>
|
||
|
|
{children}
|
||
|
|
<Toaster />
|
||
|
|
</ThemeProvider>
|
||
|
|
</body>
|
||
|
|
</html>
|
||
|
|
);
|
||
|
|
}
|