Name Zen where the site already serves Zen
The two variable faces under public/fonts are Zen and Zen Mono, but three places still said Geist. The OG card's source SVG asked for a family the site does not serve, so rsvg resolved it out of whatever the build host had installed. The repo notes claimed Geist was served from /fonts/ and pointed at an OFL.txt that is not there — the notice sits at LICENSE-Zen.txt. The stylesheet comment narrated a dead CDN path instead of the rule that keeps the faces on this origin.
This commit is contained in:
@@ -265,13 +265,12 @@ page. `og:image` is absolute, because scrapers do not all resolve relative URLs
|
||||
— it pointed at `/og-image.svg`, a file that never existed in this repo, so
|
||||
every social card resolved to a 404.
|
||||
|
||||
Geist and Geist Mono are served from `/fonts/` (OFL, `public/fonts/OFL.txt`).
|
||||
They used to be `@import`ed from `cdn.jsdelivr.net/npm/[email protected]/dist/fonts/`,
|
||||
a path that package no longer has: both requests 404'd, `document.fonts.size`
|
||||
was 0, and every visitor read the page in their system fallback. Nothing
|
||||
surfaced it, because a cross-origin fetch that fails is not a console error. The
|
||||
brand typeface is not something to borrow from a CDN on the host whose whole job
|
||||
is one curl command.
|
||||
Zen and Zen Mono are served from `/fonts/` as two variable woff2, with the SIL
|
||||
OFL notice beside them at `public/fonts/LICENSE-Zen.txt`. They are served from
|
||||
this origin, not a CDN: a cross-origin font fetch that 404s is not a console
|
||||
error, so a broken `@import` reads as a working page in the system fallback and
|
||||
nothing surfaces it. The brand typeface is not something to borrow from a CDN on
|
||||
the host whose whole job is one curl command.
|
||||
|
||||
## Stack
|
||||
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
<path d="M66.7198 67V44.6369H44.5098V67H66.7198Z"/>
|
||||
</g>
|
||||
|
||||
<text x="80" y="316" font-family="Geist" font-size="104" font-weight="600" fill="#ffffff" letter-spacing="-3">hanzo.sh</text>
|
||||
<text x="80" y="316" font-family="Zen" font-size="104" font-weight="600" fill="#ffffff" letter-spacing="-3">hanzo.sh</text>
|
||||
|
||||
<text x="80" y="384" font-family="Geist" font-size="32" font-weight="400" fill="#ffffff" fill-opacity="0.55">The Hanzo CLI, the MCP server and the coding agent,</text>
|
||||
<text x="80" y="428" font-family="Geist" font-size="32" font-weight="400" fill="#ffffff" fill-opacity="0.55">as native binaries. One command, nothing to build.</text>
|
||||
<text x="80" y="384" font-family="Zen" font-size="32" font-weight="400" fill="#ffffff" fill-opacity="0.55">The Hanzo CLI, the MCP server and the coding agent,</text>
|
||||
<text x="80" y="428" font-family="Zen" font-size="32" font-weight="400" fill="#ffffff" fill-opacity="0.55">as native binaries. One command, nothing to build.</text>
|
||||
|
||||
<rect x="80" y="480" width="700" height="80" rx="16" fill="#0d1117" stroke="#ffffff" stroke-opacity="0.12"/>
|
||||
<text x="116" y="529" font-family="Geist Mono" font-size="30" font-weight="400" fill="#e6edf3">curl -fsSL hanzo.sh | sh</text>
|
||||
<text x="116" y="529" font-family="Zen Mono" font-size="30" font-weight="400" fill="#e6edf3">curl -fsSL hanzo.sh | sh</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
+6
-8
@@ -1,14 +1,12 @@
|
||||
@import "tailwindcss";
|
||||
@config "../tailwind.config.ts";
|
||||
|
||||
/* Zen and Zen Mono, from this origin. These were @imported from
|
||||
cdn.jsdelivr.net/npm/[email protected]/dist/fonts/…/style.css — a path the package
|
||||
no longer has. Both requests 404'd, so document.fonts.size was 0: no
|
||||
@font-face rule ever existed and every visitor read the page in the system
|
||||
fallback. Nothing said so, because a cross-origin fetch that fails is not a
|
||||
console error. The variable files ship with the site instead (OFL, see
|
||||
public/fonts/OFL.txt) — the brand typeface is not something to borrow from a
|
||||
CDN on the host whose whole job is that one curl command. */
|
||||
/* Zen and Zen Mono, from this origin. The two variable files ship with the site
|
||||
(SIL OFL, see public/fonts/LICENSE-Zen.txt) rather than coming off a CDN: a
|
||||
cross-origin font fetch that 404s is not a console error, so the page reads
|
||||
as fine in the system fallback and nothing surfaces the miss. The brand
|
||||
typeface is not something to borrow on the host whose whole job is that one
|
||||
curl command. */
|
||||
@font-face {
|
||||
font-family: 'Zen';
|
||||
src: url('/fonts/Zen-Variable.woff2') format('woff2');
|
||||
|
||||
Reference in New Issue
Block a user