Next.js app with a browser-side buttplug/buttplug-wasm control layer (server never touches real-time device commands), SQLite storage via Drizzle, single-secret auth, recordings/replay with device remapping, a usage stats dashboard, Docker deployment, and Gitea CI. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W8WkFF5ppURBAB918593Eb
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>
|
|
);
|
|
}
|