Skip to content

Commit f2bedd5

Browse files
Ask visitors for consent before loading trackers
Add a c15t consent banner and hold Google Analytics, NameThatHost, Scarf and video embeds until the visitor chooses. Sentry strips user data until Analytics is allowed. Self-host fonts so Google Fonts no longer sees each visitor's IP before a choice.
1 parent 9f34e6e commit f2bedd5

71 files changed

Lines changed: 2049 additions & 1231 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.agents/analytics.md‎

Lines changed: 3 additions & 3 deletions

‎package.json‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@
6767
"@babel/parser": "7.29.9",
6868
"@babel/types": "7.29.8",
6969
"@base-ui/react": "^1.8.0",
70+
"@c15t/integrations": "3.0.0-alpha.11",
71+
"@c15t/react": "3.0.0-alpha.12",
72+
"@c15t/tanstack-start": "3.0.0-alpha.12",
7073
"@cfworker/json-schema": "^4.1.1",
7174
"@codemirror/lang-css": "^6.3.1",
7275
"@codemirror/lang-html": "^6.4.12",
@@ -91,9 +94,9 @@
9194
"@radix-ui/react-tooltip": "^1.2.8",
9295
"@react-three/drei": "^10.7.7",
9396
"@react-three/fiber": "^9.5.0",
94-
"@sentry/browser": "^10.47.0",
95-
"@sentry/node": "^10.47.0",
96-
"@sentry/tanstackstart-react": "^10.47.0",
97+
"@sentry/browser": "^10.76.1",
98+
"@sentry/node": "^10.76.1",
99+
"@sentry/tanstackstart-react": "^10.76.1",
97100
"@shopify/hydrogen-react": "^2026.4.0",
98101
"@tailwindcss/typography": "^0.5.19",
99102
"@tailwindcss/vite": "^4.2.2",

‎pnpm-lock.yaml‎

Lines changed: 425 additions & 1087 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎public/_headers‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@
1111

1212
/.well-known/security.txt
1313
Content-Type: text/plain; charset=utf-8
14+
15+
# Self-hosted fonts aren't fingerprinted. Without a long cache every page load
16+
# revalidates them before text can switch from the fallback font. Give a font
17+
# a new filename if its contents change.
18+
/fonts/*
19+
Cache-Control: public, max-age=31536000, immutable
29.9 KB
Binary file not shown.
75.1 KB
Binary file not shown.
12.8 KB
Binary file not shown.
30.6 KB
Binary file not shown.
61.1 KB
Binary file not shown.
4.13 KB
Binary file not shown.

0 commit comments

Comments
 (0)