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 BentoGrid from '../../components/BentoGrid.astro';
import BentoTile from '../../components/BentoTile.astro';
import DecoOrb from '../../components/DecoOrb.astro';
@@ -325,8 +323,6 @@ const featureList = data.features || data.services || [];
---
<Base title={`${service.data.title} | MoreminiMore`}>
<Navigation />
<!-- HERO -->
<section class="service-hero section-bento">
<DecoOrb color="yellow" size="500px" speed={0.4} position={{ top: '-150px', right: '-100px' }} opacity={0.3} blur="80px" />
@@ -626,8 +622,6 @@ const featureList = data.features || data.services || [];
</div>
</div>
</section>
<Footer />
</Base>
<style>