feat(footer+layout): v6-footer + mount UtilityBar/Marquee/Nav/Footer in Base.astro

- Footer.astro (v6-footer): REPLACED legacy 439-line version. 4-col sitemap
  bound to site settings (phone, email, line, facebook, linkedin) +
  servicesDropdown + company links. Logo uses /images/logo-long-black.png
  (local, was hardcoded to dataroot CDN in v7-5).
- Base.astro: mount <UtilityBar /> + <Marquee /> + <Navigation /> + <Footer />
  around <slot />. Nav receives currentPath for active link highlight.
  Animation init now runs BOTH initAnimations (legacy bento) and fxInit (v7-5).
- SWEEP: removed duplicate <Navigation /> / <Footer /> + their imports
  from 11 page files. Idempotent script via execute_code.

Verified: all 9 pages return 200, header/footer render exactly once each.

Refs: .hermes/plans/2026-06-13_124000-moreminimore-v7-5-migration.md Task 3.1-3.2
This commit is contained in:
Kunthawat Greethong
2026-06-13 17:50:10 +07:00
parent 1f859921cb
commit b586464b5c
13 changed files with 83 additions and 494 deletions

View File

@@ -1,7 +1,5 @@
---
import Base from '../layouts/Base.astro';
import Navigation from '../components/Navigation.astro';
import Footer from '../components/Footer.astro';
import PageHero from '../components/PageHero.astro';
import BentoGrid from '../components/BentoGrid.astro';
import BentoTile from '../components/BentoTile.astro';
@@ -9,8 +7,6 @@ import DecoOrb from '../components/DecoOrb.astro';
---
<Base title="เงื่อนไขการให้บริการ | MoreminiMore - รับทำเว็บไซต์ SEO AI Chatbot">
<Navigation />
<PageHero
badge="กฎหมาย"
title="เงื่อนไขการให้บริการ"
@@ -83,8 +79,6 @@ import DecoOrb from '../components/DecoOrb.astro';
</BentoGrid>
</div>
</section>
<Footer />
</Base>
<style>