fix(privacy): self-host Inter font, remove Google Fonts
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 19m23s
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 19m23s
- Drops all fonts.googleapis.com / fonts.gstatic.com references - Adds self-hosted woff2 under public/fonts/ - @font-face with font-display: swap - Test asserts no external font refs in generated HTML Closes GDPR contradiction: privacy policy promises 'no third-party tracking' and 'EU-hosted' while every page was leaking visitor IPs to Google (Munich District Court 2022 ruling, €100/visitor damages precedent).
This commit is contained in:
parent
6ce773a071
commit
a374a93937
21 changed files with 143 additions and 23 deletions
|
|
@ -13,8 +13,13 @@
|
|||
<meta name="twitter:image" content="https://docfast.dev/og-image.png">
|
||||
<link rel="canonical" href="https://docfast.dev/terms">
|
||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
/* Self-hosted Inter font (GDPR: no third-party requests to Google) */
|
||||
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/Inter-Regular.woff2') format('woff2'); }
|
||||
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/Inter-Medium.woff2') format('woff2'); }
|
||||
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/Inter-SemiBold.woff2') format('woff2'); }
|
||||
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/Inter-Bold.woff2') format('woff2'); }
|
||||
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/Inter-ExtraBold.woff2') format('woff2'); }
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
:root {
|
||||
--bg: #0b0d11; --bg2: #12151c; --fg: #e4e7ed; --muted: #7a8194;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue