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:
@@ -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 PortfolioCard from '../components/PortfolioCard.astro';
|
||||
import Icon from '../components/Icon.astro';
|
||||
@@ -25,8 +23,6 @@ const serviceFilters = [
|
||||
---
|
||||
|
||||
<Base title="ผลงาน | MoreminiMore | รับทำเว็บไซต์ SEO AI Chatbot">
|
||||
<Navigation />
|
||||
|
||||
<PageHero
|
||||
badge="9 โปรเจกต์ · 5 อุตสาหกรรม · ผลงานจริงทุกชิ้น"
|
||||
title="เราส่งมอบให้ใคร มาบ้างแล้วบ้าง"
|
||||
@@ -115,8 +111,6 @@ const serviceFilters = [
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<Footer />
|
||||
</Base>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user