- Created index_backup.html with complete layout and styling for the homepage. - Added home.html partial for the hero section, including province and station selectors. - Implemented responsive design elements and navigation for bus routes. - Included sponsor section with partner logos in a marquee format.
197 lines
13 KiB
HTML
197 lines
13 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">✨ ยินดีต้อนรับ</span>
|
|
<h1>สถานีขนส่งผู้โดยสารภายใน<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>
|
|
เลือกจังหวัด
|
|
</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" aria-label="เลือกจังหวัด"></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">→</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>
|
|
สถานีขนส่งผู้โดยสาร
|
|
</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" aria-label="สถานีขนส่งผู้โดยสาร"></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="./busDetail.html?route=101">ดูรายละเอียดสายรถ</a>
|
|
<a class="mu-pill-link" href="./busStop.html">ค้นหาป้ายหยุดรถ</a>
|
|
<a class="mu-pill-link" href="./stopDetail.html?stop=at_main_terminal&route=101">ดูตัวอย่างป้ายหยุด</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="mu-sponsor-marquee" aria-label="ผู้สนับสนุนและพาร์ทเนอร์">
|
|
<div class="mu-sponsor-head">
|
|
<h4>ผู้สนับสนุน & พาร์ทเนอร์</h4>
|
|
<p class="lead">จองตั๋ว · สั่งของ · เช็กของฝาก ที่ร้านค้าและบริการพันธมิตรของเรา</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">หมวดเส้นทางเข้ากรุงเทพฯ</span>
|
|
<p class="mu-zone-desc">เส้นทางเชื่อมต่อกรุงเทพมหานคร · 6 เส้นทาง</p>
|
|
</div>
|
|
<div class="mu-grid">
|
|
<a class="mu-card" data-route="902" href="./busDetail.html?route=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">✅ ดูตาราง</span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="15" href="./busDetail.html?route=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">✅ ดูตาราง</span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="951" href="./busDetail.html?route=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">✅ ดูตาราง</span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="952" href="./busDetail.html?route=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">✅ ดูตาราง</span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="954" href="./busDetail.html?route=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">✅ ดูตาราง</span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="8" href="./busDetail.html?route=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">✅ ดูตาราง</span></div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- หมวด 3: ระหว่างจังหวัด -->
|
|
<section class="mu-zone">
|
|
<div class="mu-zone-head">
|
|
<span class="mu-zone-tag tag-purple">หมวดเส้นทางระหว่างจังหวัด</span>
|
|
<p class="mu-zone-desc">เส้นทางเชื่อมต่อจังหวัดใกล้เคียง · 4 เส้นทาง</p>
|
|
</div>
|
|
<div class="mu-grid">
|
|
<a class="mu-card" data-route="101" href="./busDetail.html?route=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">⏰ เที่ยวถัดไป 09:30</span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="464" href="./busDetail.html?route=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">⏰ เที่ยวถัดไป 18:00</span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="641" href="./busDetail.html?route=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">✅ ดูตาราง</span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="2194" href="./busDetail.html?route=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">✅ ดูตาราง</span></div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- หมวด 4: ภายในจังหวัด -->
|
|
<section class="mu-zone">
|
|
<div class="mu-zone-head">
|
|
<span class="mu-zone-tag tag-pink">หมวดเส้นทางภายในจังหวัด</span>
|
|
<p class="mu-zone-desc">เส้นทางภายในจังหวัดอ่างทอง · 4 เส้นทาง</p>
|
|
</div>
|
|
<div class="mu-grid">
|
|
<a class="mu-card" data-route="324" href="./busDetail.html?route=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">✅ ดูตาราง</span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="1011" href="./busDetail.html?route=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">✅ ดูตาราง</span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="2231" href="./busDetail.html?route=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">✅ ดูตาราง</span></div>
|
|
</div>
|
|
</a>
|
|
<a class="mu-card" data-route="999" href="./busDetail.html?route=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">⌛ ยังไม่มีตาราง</span></div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
|
|
</div>
|
|
</main>
|