diff --git a/src/lib/components/CookieConsent.svelte b/src/lib/components/CookieConsent.svelte new file mode 100644 index 0000000..e120364 --- /dev/null +++ b/src/lib/components/CookieConsent.svelte @@ -0,0 +1,27 @@ + + +{#if showBanner} +
+

+ We use cookies to ensure you get the best experience on our website. By continuing, you agree + to our use of cookies. +

+ +
+{/if} diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 3fa38ee..88063d5 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,11 +1,13 @@ @@ -44,6 +55,10 @@ + + {#if cookiesAccepted} + + {/if}
@@ -162,6 +177,8 @@ + + +