* removed vercel analytics, added umami

* removed unused stuff
This commit is contained in:
Denshooter
2025-02-10 23:39:09 +01:00
committed by GitHub
parent a5233d09a4
commit 008ac8523f

View File

@@ -2,8 +2,6 @@
"use client";
import {SpeedInsights} from "@vercel/speed-insights/next";
import {Analytics} from "@vercel/analytics/next";
import "./globals.css";
import {Roboto} from 'next/font/google';
@@ -22,16 +20,6 @@ export default function RootLayout({
}: {
children: React.ReactNode;
}) {
const [consent, setConsent] = useState<string | null>(null);
useEffect(() => {
const storedConsent = localStorage.getItem("CookieConsent");
setConsent(storedConsent);
}, []);
const handleConsentChange = (newConsent: string) => {
setConsent(newConsent);
};
return (
<html lang="en">