diff --git a/apps/landing/components/CookieBanner.tsx b/apps/landing/components/CookieBanner.tsx index 1056398..c7230fa 100644 --- a/apps/landing/components/CookieBanner.tsx +++ b/apps/landing/components/CookieBanner.tsx @@ -16,11 +16,9 @@ export default function CookieBanner() { const hasChoice = localStorage.getItem(STORAGE_KEY) !== null; if (!hasChoice) setVisible(true); } catch { - // SSR / restricted storage: keep banner visible by default setVisible(true); } - // expose reopen API (window as any).showCookieBanner = () => setVisible(true); }, []); @@ -39,7 +37,6 @@ export default function CookieBanner() { return true; }; if (!call()) { - // retry for up to ~8s while gtag loads let tries = 0; const t = setInterval(() => { tries++; @@ -66,7 +63,7 @@ export default function CookieBanner() { aria-label="Cookie notice" className="fixed left-1/2 -translate-x-1/2 bottom-4 z-50 w-[min(720px,calc(100%-1.5rem))] rounded-xl border border-border bg-secondary text-secondary-foreground shadow-xl" > -
+

We use cookies for analytics only. Ads & personalization are off by default. Choose Accept to enable analytics or Reject to continue with @@ -76,7 +73,7 @@ export default function CookieBanner() { .

-
+