Skip to content

feat(landing): public multi-page site#280

Merged
chiliec merged 22 commits into
mainfrom
feat/public-multipage-site
Jul 6, 2026
Merged

feat(landing): public multi-page site#280
chiliec merged 22 commits into
mainfrom
feat/public-multipage-site

Conversation

@chiliec

@chiliec chiliec commented Jul 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Zero-dependency static site generator (scripts/build-landing.ts) with pure parseFrontMatter, renderMarkdown, renderTemplate helpers — no new npm packages
  • 16-page multi-page marketing site under src/landing/dist/: home hub (live metrics tiles), gameplay/economy/faq/screens, history timeline (v1/v2/v3), investors (3 tracks), press kit, legal pages, seed devlog post
  • Live public metrics API (GET /api/public/metrics, 60s cache) — player count, NFTs minted, USDT paid out, weekly active; client-side fetch fills [data-metric] spans with static fallbacks
  • Serving fliplandingPathdist/, resolveLandingFile clean-URL resolver (/investors/dist/investors/index.html), 404 page, dev-mode static asset serving, prod via @fastify/static
  • Old src/landing/index.html deleted — superseded by dist/index.html
  • tonconnect-manifest.json + logo.png remain at origin root (copied to dist/ by the build)
  • Dockerfile updated: RUN npm run build:landing added after frontend build; tsx was already in dependencies

Test plan

  • npm run lint — clean
  • npm run typecheck — clean
  • npm run test:backend — 766/766 passing (754 pre-existing + 12 new generator tests)
  • npm run build:landing — 16 pages built, all assets present
  • npm run dev — smoke-test all content routes return 200, /investors (no slash) 200, /nope 404, /api/public/metrics returns JSON, /tonconnect-manifest.json 200, /game serves Mini App

Notes

  • The data-metric spans on home + investors use static fallbacks until MongoDB is reachable; the fetch script fills them on load
  • Unverified stat on investors page ("1B Telegram users") — should be hedged before launch
  • EXPEDITION_FAUCET_ENABLED copy in the seed blog post is forward-looking — update when faucet flips on

🤖 Generated with Claude Code

chiliec added 22 commits July 6, 2026 13:47
@chiliec chiliec merged commit a1732d0 into main Jul 6, 2026
2 checks passed
@chiliec chiliec deleted the feat/public-multipage-site branch July 6, 2026 07:03
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.

1 participant