bam/app/layout.tsx
Felix Schulze 75eb3d2259
All checks were successful
Check / Lint and Check (push) Successful in 50s
update analytics to correct subdomain
2025-05-08 17:15:53 +02:00

39 lines
1.1 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: "Members List - Bangers and Mash",
description: "Sign up to the Bangers and Mash members list here to join our parties.",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" className="scroll-smooth dark">
<head>
<PlausibleProvider
domain="signup.bangersandmashgbg.com"
customDomain="https://analytics.schulze.network"
selfHosted={true}
enabled={true}
/>
<meta name="apple-mobile-web-app-title" content="BAM" />
</head>
<body className={cn("min-h-screen bg-background font-sans antialiased", inter.variable)}>
{children}
</body>
</html>
);
}