bam/app/layout.tsx
Felix Schulze 4db42044ce
All checks were successful
Lint / Lint (push) Successful in 1m8s
styles, form, backend partial
2024-10-18 13:12:19 +02:00

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>
);
}