Dev (#7)
* removed vercel analytics, added umami * removed unused stuff
This commit is contained in:
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import {SpeedInsights} from "@vercel/speed-insights/next";
|
|
||||||
import {Analytics} from "@vercel/analytics/next";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
|
|
||||||
import {Roboto} from 'next/font/google';
|
import {Roboto} from 'next/font/google';
|
||||||
@@ -22,16 +20,6 @@ export default function RootLayout({
|
|||||||
}: {
|
}: {
|
||||||
children: React.ReactNode;
|
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 (
|
return (
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|||||||
Reference in New Issue
Block a user