Adds a Footer component (credit line, repo/buttplug.io links) below main content on all app pages, with the layout shell now flex-column so it sticks to the bottom on short pages. Also swaps the display font from Space Grotesk to Sora (after trying Fraunces, a serif, which didn't fit). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
33 lines
1.1 KiB
TypeScript
33 lines
1.1 KiB
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
import { Inter, Sora, JetBrains_Mono } from "next/font/google";
|
|
import { cn } from "@/lib/utils";
|
|
import { ThemeProvider } from "@/components/layout/ThemeProvider";
|
|
import { Toaster } from "@/components/ui/sonner";
|
|
|
|
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });
|
|
const sora = Sora({ subsets: ["latin"], variable: "--font-display" });
|
|
const jetbrainsMono = JetBrains_Mono({ subsets: ["latin"], variable: "--font-mono" });
|
|
|
|
export const metadata: Metadata = {
|
|
title: { default: "Sexy", template: "%s · Sexy" },
|
|
description: "Bluetooth toy control console",
|
|
};
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
suppressHydrationWarning
|
|
className={cn("font-sans", inter.variable, sora.variable, jetbrainsMono.variable)}
|
|
>
|
|
<body>
|
|
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem disableTransitionOnChange>
|
|
{children}
|
|
<Toaster />
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|