Skip to content

fix: landing page — remove CDN dependencies, use system fonts#206

Open
kingmylord wants to merge 1 commit intolangoustine69:mainfrom
kingmylord:feat/landing-page
Open

fix: landing page — remove CDN dependencies, use system fonts#206
kingmylord wants to merge 1 commit intolangoustine69:mainfrom
kingmylord:feat/landing-page

Conversation

@kingmylord
Copy link

Closes #3

Changes

Removed CDN dependencies (spec requirement: "no CDN dependencies")

The previous implementation loaded Inter and JetBrains Mono from Google Fonts CDN:

<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter..." rel="stylesheet">

This violates the spec and adds ~200ms latency on first load.

Fix: Replaced with system font stack — zero external requests, loads instantly.

--font: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
--mono: ui-monospace, 'Fira Code', 'Cascadia Code', Consolas, monospace;

Result

  • ✅ Zero CDN dependencies
  • ✅ Faster initial load (no font fetch roundtrip)
  • ✅ All 5 sections intact: Hero, Pricing, Quick start, How it works, Footer
  • ✅ Dark theme: bg #0a0a0a, surface #141414, accent #6366F1
  • ✅ Mobile responsive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[T3] Landing page — dark, clean, agent-focused

1 participant