Files
hanzo.sh-native/tsconfig.app.json
Hanzo Dev 6c1f593a45 fix: render one page shell and self-host Geist
The page mounted two complete bodies: pages/Index wrapped Install (then named
Hero, itself a full page with its own fixed header and footer) in a leftover
template shell — a second fixed header at the same top/z-index that occluded
the first bar's links, plus a second footer carrying copy about container
solutions and a 2024 copyright. Install is the page; the shell and the unused
template components are gone, so the document now has one header and one
footer and every header link hit-tests to itself.

Geist named in CSS but absent from the bundle: the CDN @import it came from
404s, and an @import cannot place an @font-face in our own stylesheet. Ship
the variable woff2 from src/fonts so the served CSS carries the faces it
names, and move the theme into @theme in index.css so --font-sans feeds
preflight and the utilities from one place. The build asserts the CSS carries
@font-face, Geist, an emitted woff2, and no remote @import.

Deploy ran to GitHub Pages while hanzo.sh is served by the assets Worker, so
no push reached the live surface; deploy.yml now runs wrangler.

Drop the third-party editor script from a page that tells people to pipe a
shell, and the deps the removed components pulled in (CSS 63 -> 20 kB,
JS 380 -> 244 kB).

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-26 16:15:48 -07:00

26 lines
584 B
JSON

{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitAny": false,
"noFallthroughCasesInSwitch": false
},
"include": ["src"]
}