Move seed.sql out of migrations and add SEO structured data

- Relocate seed.sql to scripts/ so wrangler d1 migrations apply
  doesn't treat it as a migration; update package.json, setup.mjs,
  README, and all AGENTS.md references.
- Add src/lib/schema-org.ts builders (LocalBusiness, FAQPage,
  BlogPosting, BreadcrumbList) and emit JSON-LD via Base.astro.
- Add lastmod to sitemap entries.
- Set real site domain, worker route, and D1/KV ids.
- Improve image loading hints and heading semantics across site
  components; switch BlogIndex to client:idle.
This commit is contained in:
2026-09-13 16:21:59 +08:00
parent f6b885efe6
commit 6dedb5469f
28 changed files with 255 additions and 108 deletions
+2 -2
View File
@@ -14,8 +14,8 @@
"db:generate": "drizzle-kit generate",
"db:migrate": "wrangler d1 migrations apply yingfung-solar-db --remote",
"db:migrate:local": "wrangler d1 migrations apply yingfung-solar-db --local",
"db:seed": "wrangler d1 execute yingfung-solar-db --remote --file=./migrations/seed.sql",
"db:seed:local": "wrangler d1 execute yingfung-solar-db --local --file=./migrations/seed.sql",
"db:seed": "wrangler d1 execute yingfung-solar-db --remote --file=./scripts/seed.sql",
"db:seed:local": "wrangler d1 execute yingfung-solar-db --local --file=./scripts/seed.sql",
"db:studio": "drizzle-kit studio",
"kv:create": "wrangler kv namespace create CACHE",
"r2:create": "wrangler r2 bucket create yingfung-solar-media",