File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22import Layout from ' ../layouts/Layout.astro' ;
33import Link from ' ../components/Link.astro' ;
4- import { Image } from ' astro:assets' ;
5- import cookieMonster from ' ../assets/c-is-for-cookie.webp' ;
64
75const metadata = {
86 title: ' Privacy Policy' ,
@@ -23,17 +21,12 @@ const metadata = {
2321 contact me.
2422 </p >
2523 <h2 >Cookies</h2 >
26- <p >This website does not use <span id =' cookie-trigger' >cookies</span >.</p >
27- <Image
28- id =' cookie-monster'
29- src ={ cookieMonster }
30- alt =' Cookie Monster'
31- class =' hidden max-w-25 rounded-lg'
32- />
24+ <p >This website does not use cookies.</p >
3325 <h2 >Analytics</h2 >
3426 <p >
3527 This website uses a web analytics service called <Link
36- href =' https://umami.is/' isExternal >Umami</Link
28+ href =' https://umami.is/'
29+ isExternal >Umami</Link
3730 > (hosted on Umami Cloud) to understand overall website usage, such as the number
3831 of people who visit different pages.
3932 </p >
@@ -57,10 +50,3 @@ const metadata = {
5750 your interaction with their content according to their own privacy policies.
5851 </p >
5952</Layout >
60-
61- <script >
62- const trigger = document.getElementById('cookie-trigger')!;
63- const img = document.getElementById('cookie-monster')!;
64- trigger.addEventListener('mouseenter', () => img.classList.remove('hidden'));
65- trigger.addEventListener('mouseleave', () => img.classList.add('hidden'));
66- </script >
You can’t perform that action at this time.
0 commit comments