From 42e556f1c874e0b6f287375c14266c0c3a5fddb3 Mon Sep 17 00:00:00 2001 From: engboris Date: Mon, 8 Dec 2025 23:09:54 +0100 Subject: [PATCH] Update cookie banner --- src/components/CookieBanner.astro | 33 +++++++++++++++++-------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/src/components/CookieBanner.astro b/src/components/CookieBanner.astro index 7b0a20d..2406eef 100644 --- a/src/components/CookieBanner.astro +++ b/src/components/CookieBanner.astro @@ -1,41 +1,44 @@ --- /** - * Cookie consent banner component. - * Displays a GDPR-compliant cookie consent banner at the bottom of the page. - * Manages user consent for analytics cookies via localStorage. + * Privacy notice banner component. + * Displays a GDPR-compliant consent banner at the bottom of the page. + * Manages user consent for analytics via localStorage. * * Note: Analytics loading is handled separately in Layout.astro to avoid * ad blockers blocking this script due to analytics-related keywords. + * + * Element IDs use generic names to avoid ad blocker filter lists that + * target common patterns like "cookie-banner" or "consent-notice". */ ---