diff --git a/src/components/CookieBanner.astro b/src/components/CookieBanner.astro deleted file mode 100644 index 2406eef..0000000 --- a/src/components/CookieBanner.astro +++ /dev/null @@ -1,82 +0,0 @@ ---- -/** - * 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". - */ ---- - -
- - diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 3653689..f76e7a3 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -2,7 +2,6 @@ import "../styles/global.css"; import Navbar from "../components/Navbar.astro"; import Footer from "../components/Footer.astro"; -import CookieBanner from "../components/CookieBanner.astro"; import logo from "../assets/logo.svg"; import { SEO } from "astro-seo"; @@ -82,22 +81,8 @@ const seoConfig = { -