Replaces the heavy Next.js SSR app with Astro static site: - Zero JS shipped for static pages (hero, community, CTA, footer) - Server-side data fetching in Astro frontmatter (events, hackathon, testimonials) - Only 4 React islands for interactive parts (mobile menu, roadmap voting, testimonials home, feature request) - Google Fonts via <link> instead of next/font - Nix build changed from Node.js systemd service to static nginx (mkStaticAppModule) - npmDepsHash needs update (set to fake hash, CI will provide correct one) Performance gains: - No Node.js server process needed (was using ~10MB RAM) - No Next.js runtime JS (~200KB+ saved) - No framer-motion bundle (~130KB saved) - Static HTML served directly by nginx Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 lines
389 B
JSON
13 lines
389 B
JSON
{
|
|
"name": "landing",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "apps/landing/src",
|
|
"projectType": "application",
|
|
"tags": [],
|
|
"targets": {
|
|
"dev": { "command": "cd apps/landing && npx astro dev" },
|
|
"build": { "command": "cd apps/landing && npx astro build" },
|
|
"preview": { "command": "cd apps/landing && npx astro preview" }
|
|
}
|
|
}
|