1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

feat!: remove Clarity implicit consent option (EU compliance)

This commit is contained in:
2025-09-01 19:16:55 +00:00
parent ac7a3e2213
commit e16ab1f6f6
7 changed files with 25 additions and 65 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import { PropsWithChildren } from "react";
import CookieBanner from "./_components/CookieBanner";
import Footer from "./_components/Footer";
import Header from "./_components/Header";
import { analyticsEnabled, requireExplicitConsent } from "./_utils/analytics/server";
import { analyticsEnabled } from "./_utils/analytics/server";
import fonts from "./fonts";
import "./_styles/globals.scss";
@@ -28,7 +28,7 @@ export default function RootLayout(props: PropsWithChildren)
}
<body>
{ analyticsEnabled() &&
<CookieBanner askForConsent={ requireExplicitConsent() } />
<CookieBanner />
}
<Header />