- Single-page shell (ui/index.html) + vanilla hash router; each screen is a partial - New #/check schedule view (all stop times open, no collapse) wired to the 'check schedules' CTA; contact-operator box, route map and gallery trimmed from it - Mobile-first responsive.css (375px iPhone 8 up to 27-inch/1440p) - TH/EN i18n system (data-i18n, browser-language detect, topbar switcher) - Shared form controls moved to _shared.css (mu-btn, custom select chevron, focus-visible ring); footer contact column now mailto:[email protected] - SW v9: JS network-first, precache i18n.js + all partials - Legacy pages become redirect stubs to index.html#/...
199 lines
15 KiB
HTML
199 lines
15 KiB
HTML
<section class="mu-hero">
|
|
<img class="mu-hero-map" src="../resource/images/network/overview-map.png" alt="" aria-hidden="true" fetchpriority="high" decoding="async">
|
|
<div class="mu-blob one"></div>
|
|
<div class="mu-blob two"></div>
|
|
<div class="mu-blob three"></div>
|
|
<div class="mu-container mu-hero-content">
|
|
<span class="mu-badge" data-i18n="home.welcome">ยินดีต้อนรับ</span>
|
|
<h1><span data-i18n="home.title1">สถานีขนส่งผู้โดยสารภายใน</span><br><span class="mu-gradient-text" id="hero-province">จังหวัดอ่างทอง</span></h1>
|
|
<div class="mu-route-selector">
|
|
<div class="mu-select-field">
|
|
<label for="province-select">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"/><circle cx="12" cy="10" r="3"/></svg>
|
|
<span data-i18n="home.chooseProvince">เลือกจังหวัด</span>
|
|
</label>
|
|
<div class="mu-select-box">
|
|
<svg class="mu-select-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"/><circle cx="12" cy="10" r="3"/></svg>
|
|
<select id="province-select" data-i18n-attr="aria-label:home.chooseProvince"></select>
|
|
<svg class="mu-select-chevron" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>
|
|
</div>
|
|
</div>
|
|
|
|
<span class="mu-select-arrow" aria-hidden="true"><svg class="ic"><use href="#ic-arrow-right"/></svg></span>
|
|
|
|
<div class="mu-select-field">
|
|
<label for="station-select">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M8 6v6"/><path d="M15 6v6"/><path d="M2 12h19.6"/><path d="M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3"/><circle cx="7" cy="18" r="2"/><path d="M9 18h5"/><circle cx="16" cy="18" r="2"/></svg>
|
|
<span data-i18n="home.chooseStation">สถานีขนส่งผู้โดยสาร</span>
|
|
</label>
|
|
<div class="mu-select-box">
|
|
<svg class="mu-select-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M8 6v6"/><path d="M15 6v6"/><path d="M2 12h19.6"/><path d="M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3"/><circle cx="7" cy="18" r="2"/><path d="M9 18h5"/><circle cx="16" cy="18" r="2"/></svg>
|
|
<select id="station-select" data-i18n-attr="aria-label:home.chooseStation"></select>
|
|
<svg class="mu-select-chevron" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p class="mu-select-hint" id="station-hint" aria-live="polite"></p>
|
|
<div class="mu-hero-actions">
|
|
<a class="mu-pill-link primary" data-route="101" href="#/routes/101" data-i18n="home.seeRoutes">ดูรายละเอียดสายรถ</a>
|
|
<a class="mu-pill-link" href="#/stops" data-i18n="home.findStops">ค้นหาป้ายหยุดรถ</a>
|
|
<a class="mu-pill-link" href="#/stops/at_main_terminal?route=101" data-i18n="home.preview">ดูตัวอย่างป้ายหยุด</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="mu-sponsor-marquee" aria-label="ผู้สนับสนุนและพาร์ทเนอร์">
|
|
<div class="mu-sponsor-head">
|
|
<h4 data-i18n="footer.sponsors">ผู้สนับสนุน & พาร์ทเนอร์</h4>
|
|
<p class="lead" data-i18n="footer.sponsorsLead">จองตั๋ว · สั่งของ · เช็กของฝาก ที่ร้านค้าและบริการพันธมิตรของเรา</p>
|
|
</div>
|
|
<div class="mu-marquee">
|
|
<div class="mu-marquee-track">
|
|
<a class="mu-marquee-tile" href="#" aria-label="7-Eleven"><img src="../resource/images/partners/7-11.png" alt="7-Eleven" decoding="async"></a>
|
|
<a class="mu-marquee-tile" href="#" aria-label="Shopee"><img src="../resource/images/partners/shopee.png" alt="Shopee" decoding="async"></a>
|
|
<a class="mu-marquee-tile" href="#" aria-label="Lazada"><img src="../resource/images/partners/lazada.png" alt="Lazada" decoding="async"></a>
|
|
<a class="mu-marquee-tile" href="#" aria-label="airasia MOVE"><img src="../resource/images/partners/airasia-move.png" alt="airasia MOVE" decoding="async"></a>
|
|
<a class="mu-marquee-tile" href="#" aria-label="busonlineticket"><img src="../resource/images/partners/busonlineticket.png" alt="busonlineticket" decoding="async"></a>
|
|
<a class="mu-marquee-tile" href="#" aria-label="Trip.com"><img src="../resource/images/partners/trip.jpg" alt="Trip.com" decoding="async"></a>
|
|
<a class="mu-marquee-tile" href="#" aria-label="truck2hand"><img src="../resource/images/partners/truck2hand.png" alt="truck2hand" decoding="async"></a>
|
|
<a class="mu-marquee-tile" href="#" aria-label="ทีซีแอล 999 อ่างทอง"><img src="../resource/images/partners/tcl999-angthong.jpg" alt="ทีซีแอล 999 อ่างทอง" decoding="async"></a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<main class="mu-main">
|
|
<div class="mu-container">
|
|
|
|
<!-- หมวด 1: เข้ากรุงเทพฯ -->
|
|
<section class="mu-zone">
|
|
<div class="mu-zone-head">
|
|
<span class="mu-zone-tag tag-sky" data-i18n="zone.bangkok">หมวดเส้นทางเข้ากรุงเทพฯ</span>
|
|
<p class="mu-zone-desc"><span data-i18n="zone.bangkokDesc">เส้นทางเชื่อมต่อกรุงเทพมหานคร</span> · 6 <span data-i18n="common.routes">เส้นทาง</span></p>
|
|
</div>
|
|
<div class="mu-grid">
|
|
<a class="mu-card" data-route="902" href="#/routes/902">
|
|
<div class="mu-card-head"><p class="mu-route-number">902</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">กรุงเทพ-อ่างทอง สายเอเซีย</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-purple"><svg class="ic" aria-hidden="true"><use href="#ic-check"/></svg> <span data-i18n="card.schedule">ดูตาราง</span></span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="15" href="#/routes/15">
|
|
<div class="mu-card-head"><p class="mu-route-number">15</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">กรุงเทพ-อ่างทอง สายใน</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-sky"><svg class="ic" aria-hidden="true"><use href="#ic-check"/></svg> <span data-i18n="card.schedule">ดูตาราง</span></span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="951" href="#/routes/951">
|
|
<div class="mu-card-head"><p class="mu-route-number">951</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">กรุงเทพ-วิเศษ-สุพรรณ</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-pink"><svg class="ic" aria-hidden="true"><use href="#ic-check"/></svg> <span data-i18n="card.schedule">ดูตาราง</span></span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="952" href="#/routes/952">
|
|
<div class="mu-card-head"><p class="mu-route-number">952</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">กรุงเทพ-วิเศษชัยชาญ</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-mint"><svg class="ic" aria-hidden="true"><use href="#ic-check"/></svg> <span data-i18n="card.schedule">ดูตาราง</span></span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="954" href="#/routes/954">
|
|
<div class="mu-card-head"><p class="mu-route-number">954</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">กรุงเทพ-ท่าช้าง</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-purple"><svg class="ic" aria-hidden="true"><use href="#ic-check"/></svg> <span data-i18n="card.schedule">ดูตาราง</span></span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="8" href="#/routes/8">
|
|
<div class="mu-card-head"><p class="mu-route-number">8</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">กรุงเทพ-สรรคบุรี-ชัยนาท</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-sky"><svg class="ic" aria-hidden="true"><use href="#ic-check"/></svg> <span data-i18n="card.schedule">ดูตาราง</span></span></div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- หมวด 3: ระหว่างจังหวัด -->
|
|
<section class="mu-zone">
|
|
<div class="mu-zone-head">
|
|
<span class="mu-zone-tag tag-purple" data-i18n="zone.interprov">หมวดเส้นทางระหว่างจังหวัด</span>
|
|
<p class="mu-zone-desc"><span data-i18n="zone.interprovDesc">เส้นทางเชื่อมต่อจังหวัดใกล้เคียง</span> · 4 <span data-i18n="common.routes">เส้นทาง</span></p>
|
|
</div>
|
|
<div class="mu-grid">
|
|
<a class="mu-card" data-route="101" href="#/routes/101">
|
|
<div class="mu-card-head"><p class="mu-route-number">101</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">อ่างทอง-ป่าโมก-อยุธยา</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-purple"><svg class="ic" aria-hidden="true"><use href="#ic-alarm-clock"/></svg> <span data-i18n="card.nextTrip">เที่ยวถัดไป</span> 09:30</span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="464" href="#/routes/464">
|
|
<div class="mu-card-head"><p class="mu-route-number">464</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">สุพรรณ-อ่างทอง-สระบุรี</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-sky"><svg class="ic" aria-hidden="true"><use href="#ic-alarm-clock"/></svg> <span data-i18n="card.nextTrip">เที่ยวถัดไป</span> 18:00</span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="641" href="#/routes/641">
|
|
<div class="mu-card-head"><p class="mu-route-number">641</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">อ่างทอง-บ้านแพรก-ลพบุรี</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-pink"><svg class="ic" aria-hidden="true"><use href="#ic-check"/></svg> <span data-i18n="card.schedule">ดูตาราง</span></span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="2194" href="#/routes/2194">
|
|
<div class="mu-card-head"><p class="mu-route-number">2194</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">หัวเวียง-อยุธยา</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-mint"><svg class="ic" aria-hidden="true"><use href="#ic-check"/></svg> <span data-i18n="card.schedule">ดูตาราง</span></span></div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- หมวด 4: ภายในจังหวัด -->
|
|
<section class="mu-zone">
|
|
<div class="mu-zone-head">
|
|
<span class="mu-zone-tag tag-pink" data-i18n="zone.inprov">หมวดเส้นทางภายในจังหวัด</span>
|
|
<p class="mu-zone-desc"><span data-i18n="zone.inprovDesc">เส้นทางภายในจังหวัดอ่างทอง</span> · 4 <span data-i18n="common.routes">เส้นทาง</span></p>
|
|
</div>
|
|
<div class="mu-grid">
|
|
<a class="mu-card" data-route="324" href="#/routes/324">
|
|
<div class="mu-card-head"><p class="mu-route-number">324</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">อ่างทอง-วัดพิกุลทอง</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-pink"><svg class="ic" aria-hidden="true"><use href="#ic-check"/></svg> <span data-i18n="card.schedule">ดูตาราง</span></span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="1011" href="#/routes/1011">
|
|
<div class="mu-card-head"><p class="mu-route-number">1011</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">อ่างทอง-สีบัวทอง</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-mint"><svg class="ic" aria-hidden="true"><use href="#ic-check"/></svg> <span data-i18n="card.schedule">ดูตาราง</span></span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="2231" href="#/routes/2231">
|
|
<div class="mu-card-head"><p class="mu-route-number">2231</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">อ่างทอง-มหานาม</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-purple"><svg class="ic" aria-hidden="true"><use href="#ic-check"/></svg> <span data-i18n="card.schedule">ดูตาราง</span></span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="999" href="#/routes/999">
|
|
<div class="mu-card-head"><p class="mu-route-number">999</p></div>
|
|
<div class="mu-route-info">
|
|
<p class="mu-route-name">บขส.อ่างทอง สายเอเชีย-เหนือ</p>
|
|
<div class="mu-route-chip-wrap"><span class="mu-next-trip badge-sky"><svg class="ic" aria-hidden="true"><use href="#ic-hourglass"/></svg> <span data-i18n="card.noSchedule">ยังไม่มีตาราง</span></span></div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
|
|
</div>
|
|
</main>
|
|
|
|
<script src="./partials/home.init.js"></script>
|