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". */ ---