feat(pages): wire v6 sections to all 9 pages

- index.astro: full 9-section home (Hero → Case → Services → Callout →
  Portfolio → Process → Pricing → Faq → Contact prompt form)
- about.astro: v6 Hero + body content from <Content /> wrapped in .fx-prose
- services/index.astro: v6 Hero + v6 Services (4 from collection) + Contact prompt
- portfolio.astro: v6 Hero + v6 Portfolio (pinned 3) + grid of remaining 6 + Contact
- blog/index.astro: PageHero → Hero (badge→eyebrow, subtitle→lede, showStats=false)
- blog/[slug].astro: same PageHero → Hero swap
- faq.astro: same swap (existing bento FAQ body preserved)
- contact.astro: same swap + WIRED form to submitContact() (real backend).
  Was setTimeout 800ms placeholder — now uses contact-submit.ts which
  POSTs to PUBLIC_CONTACT_ENDPOINT (Apps Script) or dev-mocks if empty.
- privacy.astro + terms.astro: same PageHero → Hero swap

Build: 22 pages, 0 errors. Phase 4.9d complete (contact form wired).

Refs: .hermes/plans/2026-06-13_124000-moreminimore-v7-5-migration.md Task 5.1-5.9
This commit is contained in:
Kunthawat Greethong
2026-06-13 18:01:17 +07:00
parent 8c2bf3d303
commit caa412dbe2
10 changed files with 210 additions and 1606 deletions

View File

@@ -1,6 +1,6 @@
---
import Base from '../../layouts/Base.astro';
import PageHero from '../../components/PageHero.astro';
import Hero from '../../components/Hero.astro';
import BentoGrid from '../../components/BentoGrid.astro';
import BentoTile from '../../components/BentoTile.astro';
import DecoOrb from '../../components/DecoOrb.astro';
@@ -43,11 +43,11 @@ function surfaceFor(i: number) {
---
<Base title={`${post.data.title} | MoreminiMore`}>
<PageHero
badge={post.data.category}
<Hero
eyebrow={post.data.category}
title={post.data.title}
subtitle={formattedDate}
/>
lede={formattedDate}
showStats={false} />
{post.data.image && (
<section class="section section-bento article-image-section">