39 lines
1.0 KiB
TypeScript
39 lines
1.0 KiB
TypeScript
import type { Metadata, Viewport } from "next";
|
|
import { Inter } from "next/font/google";
|
|
import PlausibleProvider from "next-plausible";
|
|
import "./globals.css";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });
|
|
|
|
export const viewport: Viewport = {
|
|
colorScheme: "dark",
|
|
};
|
|
export const metadata: Metadata = {
|
|
title: "Bangers and Mash GBG",
|
|
description: "Sign up to the Bangers and Mash GBG guest list",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" className="scroll-smooth dark">
|
|
<head>
|
|
<PlausibleProvider
|
|
domain="bangersandmashgbg.com"
|
|
customDomain="https://analytics.schulze.network"
|
|
selfHosted={true}
|
|
enabled={true}
|
|
trackOutboundLinks={true}
|
|
/>
|
|
</head>
|
|
<body className={cn("min-h-screen bg-background font-sans antialiased", inter.variable)}>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|