Marketing site for Radon, built as a standalone Next.js app in site/.
- A standalone, crawlable Next.js App Router marketing site for the Radon brand and product narrative
- The institutional-terminal landing page under
app/ - Reusable section and content primitives under
components/andlib/ - Site-only deployment and verification helpers under
scripts/
cd site
npm install
npm run devThe site runs on http://localhost:3333.
For canonical URLs and share metadata, set:
NEXT_PUBLIC_SITE_URL=https://radon.runIf the deployed hostname changes, update that value in Vercel so canonical, robots, sitemap, JSON-LD, and social cards all emit the correct absolute URL.
cd site
npm run lint
NEXT_DIST_DIR=.next-build npm run build
python3 scripts/seo_audit_report.pyNEXT_DIST_DIR is supported so local verification can build without colliding with another live Next.js process using the default .next/ directory.
Standalone browser coverage for the marketing site lives under site/e2e/ and runs through the shared Playwright harness in playwright.site.config.ts:
cd web
npx playwright test branding.spec.ts theme-toggle.spec.ts surface-preview.spec.ts --config playwright.site.config.tsThat suite covers the site metadata/brand chrome, the header theme toggle, and the surface-preview metric containment regression on the landing page.
The site ships an audit script that verifies the rendered landing page, robots.txt, sitemap.xml, manifest.webmanifest, and the social-image metadata routes against a local production server.
cd site
python3 scripts/seo_audit_report.pyUse NEXT_PUBLIC_SITE_URL=https://radon.run in production so canonical URLs, sitemap entries, and Open Graph/Twitter URLs resolve to the public hostname. The script writes an HTML report to reports/ and opens it unless --no-open is passed.
The site publishes its crawl/share primitives through App Router metadata routes and a shared SEO helper:
site/lib/seo.tsdefines canonical metadata, viewport, Open Graph, Twitter cards, and JSON-LD.site/app/robots.tsemitsrobots.txt.site/app/sitemap.tsemitssitemap.xml.site/app/manifest.tsemitsmanifest.webmanifest.site/app/opengraph-image.tsxandsite/app/twitter-image.tsxgenerate branded share cards.
Generate a live HTML audit report against a running site instance:
python3 scripts/site_seo_audit.py --url http://127.0.0.1:3333 --openIf local ports are unavailable, audit the verified static build artifacts instead:
cd site
NEXT_DIST_DIR=.next-build npx next build --webpack
cd ..
python3 scripts/site_seo_audit.py --build-dir site/.next-build/server/app --openThe script writes reports/site-seo-audit-YYYY-MM-DD.html, checks the homepage plus robots.txt, sitemap.xml, manifest.webmanifest, and the social image endpoints, then opens the report locally when --open is passed.
The Vercel project for the site should use site/ as its Root Directory.
This app includes vercel.json with an ignoreCommand that only allows a deploy to continue when files under site/ changed. Pushes that only touch web/, scripts/, data/, or other repo paths will skip the site build.
The ignore step is implemented by vercel-ignore-build.mjs. It compares the current commit against the previous deployed commit and defaults to continuing the build if Vercel cannot determine the diff.