add simpleanalytics

This commit is contained in:
KM Koushik
2025-09-11 10:40:10 +10:00
parent 5423013b77
commit 59fac64356

View File

@@ -4,6 +4,7 @@ import { Inter } from "next/font/google";
import { JetBrains_Mono } from "next/font/google";
import type { Metadata } from "next";
import { ThemeProvider } from "@usesend/ui";
import Script from "next/script";
const inter = Inter({
subsets: ["latin"],
@@ -63,6 +64,9 @@ export default function RootLayout({
suppressHydrationWarning
className="scroll-smooth bg-background"
>
{process.env.NODE_ENV === "production" && (
<Script src="https://scripts.simpleanalyticscdn.com/latest.js" />
)}
<body
className={`font-mono ${inter.variable} ${jetbrainsMono.variable} bg-background`}
>