Skip to content

feat(landing): migrate from Astro/Cloudflare Pages to void#103

Merged
doodlewind merged 1 commit intomainfrom
fix-landing-deploy-run-command
Apr 22, 2026
Merged

feat(landing): migrate from Astro/Cloudflare Pages to void#103
doodlewind merged 1 commit intomainfrom
fix-landing-deploy-run-command

Conversation

@doodlewind
Copy link
Copy Markdown
Contributor

Summary

  • Complete rewrite of the landing site on void SDK + React + @void/md, deployed to Cloudflare Workers via void CDN.
  • Homepage ports the v2 editorial/archive design; docs/blog/connectors/RSS/workflow all ported over.
  • FOUC fixed via Vite ?inline CSS imports rendered inline in the root layout.
  • Production already cut over: spool.pro and preview.spool.pro both pointing at void (DNS switched from CF Pages → cname.void.app, proxy off).
  • Workflow swaps to VOID_TOKEN + NODE_AUTH_TOKEN (GH Packages for @void-sdk/*).

Test plan

  • spool.pro returns 200 for all 15 routes (home, docs/*, blog, blog/rss.xml, connectors, install.sh, registry.json)
  • preview.spool.pro staging verified before production cutover
  • Content types correct (install.sh = application/x-sh; registry.json = application/json; rss.xml = application/xml)
  • TLS cert active (Google Trust Services, valid through 2026-07-20)
  • Merge → GH Actions Deploy Landing Page workflow re-deploys from main

Follow-ups

  • Delete old Cloudflare Pages spool-landing project after 24–48h observation.

🤖 Generated with Claude Code

Complete rewrite of the landing site on void SDK (@void-sdk/void + React +
@void/md) deployed to Cloudflare Workers. Replaces Astro + Starlight + CF
Pages; swaps wrangler/astro config for void.json/vite.config.ts.

- Homepage: v2 editorial/archive redesign as React with SSR-inlined CSS
  (?inline imports) to eliminate FOUC that Vite's runtime CSS inject
  would otherwise cause.
- Docs: island layout with sidebar + prev/next navigation; ports all
  existing markdown, migrates :::note[...] to ::: info syntax.
- Blog: plain layout with conditional article chrome (pass-through for
  index, full chrome for posts); blog/rss.xml served from routes/.
- Connectors: registry-driven card grid grouped by package, imports
  registry.json from data/ (public/ kept as external API for the CLI).
- Workflow: deploy-landing.yml uses VOID_TOKEN + NODE_AUTH_TOKEN with
  GitHub Packages registry scope for @void-sdk/*.
- Root .npmrc maps @void-sdk scope; root package.json adds workerd to
  onlyBuiltDependencies and allowAny for vite/vitest peer deps.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@doodlewind doodlewind force-pushed the fix-landing-deploy-run-command branch from 8efc6bf to 374d9fc Compare April 22, 2026 02:11
@doodlewind doodlewind merged commit b36f47a into main Apr 22, 2026
0 of 4 checks passed
@doodlewind doodlewind deleted the fix-landing-deploy-run-command branch April 22, 2026 02:11
graydawnc added a commit that referenced this pull request Apr 22, 2026
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