fix: eyebrow/UI font jump — Inter inlined too; zero font swaps site-wide

This commit is contained in:
ctao
2026-07-26 00:18:49 +02:00
parent 47902f7278
commit beb585e5dc
2 changed files with 6 additions and 4 deletions
+2 -3
View File
@@ -44,9 +44,8 @@ const links = [
<link rel="icon" href="/brand/CTAO_Logo_positive.svg" type="image/svg+xml" />
{/* Brand typography (BRAND D.3): Inter (body) + Space Grotesk (headlines),
self-hosted latin woff2 (variable) — @font-face lives in global.css. */}
{/* Space Grotesk ships inlined in the stylesheet (no swap on headlines);
only Inter needs a preload — its metric fallback hides the body swap. */}
<link rel="preload" href="/fonts/inter-latin.woff2" as="font" type="font/woff2" crossorigin />
{/* Both brand fonts ship inlined in the render-blocking stylesheet —
no font swap exists anywhere (see global.css @font-face). */}
</head>
<body class={ambient ? 'has-ambient' : undefined}>
<a class="skip" href="#main">Skip to content</a>
File diff suppressed because one or more lines are too long