feat: switch to markdown content collections + remove emdash integration

- Remove emdash from astro.config.mjs (no more SSR/runtime)
- Remove emdash + @astrojs/node from package.json
- Switch output from 'server' to 'static'
- Rewrite src/content.config.ts with 6 collections:
  pages, services, portfolio, faq, settings, blog
- Keep live.config.ts as inert stub for build compat
- Push new content from content-temp/pages/ into src/content/pages/
  with full schema (title, subtitle, badge, hero_image, show_cta, cta_*, etc.)

Build: 18 static pages, 0 errors
This commit is contained in:
Macky
2026-06-03 14:14:35 +07:00
parent b7787cc403
commit 0faf75a9a2
4 changed files with 88 additions and 25 deletions

View File

@@ -13,10 +13,8 @@
},
"dependencies": {
"@astrojs/mdx": "^5.0.6",
"@astrojs/node": "^10.1.1",
"@astrojs/react": "^5.0.5",
"astro": "^6.2.2",
"emdash": "^0.12.0",
"react": "^19.2.5",
"react-dom": "^19.2.5"
}