Add initial HTML structure for AT Transit homepage and hero section
- 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.
This commit is contained in:
1 parent
7bf06e6f88
commit
413e280e9a
4 files changed
+947
-222
No files matched your search
+45
-18
@@ -6,7 +6,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&family=Prompt:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<link href="../../frontend-web-transit/web-transit/css/main-theme.css" rel="stylesheet">
|
||||
<link href="./_shared.css" rel="stylesheet">
|
||||
<link rel="icon" type="image/png" href="../images/icons/minibus-512x512.png">
|
||||
<link rel="icon" type="image/png" href="../resource/images/icons/minibus-512x512.png">
|
||||
<style>
|
||||
:root {
|
||||
--soft-purple: #7a4cc0;
|
||||
@@ -126,7 +126,6 @@
|
||||
}
|
||||
|
||||
/* === Modern image polish === */
|
||||
.mu-logo-img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
|
||||
.mu-route-hero {
|
||||
position: relative;
|
||||
border-radius: 22px;
|
||||
@@ -173,13 +172,41 @@
|
||||
.mu-qr-box .txt strong { display: block; color: #2b2f42; font-size: .95rem; }
|
||||
.mu-qr-box .txt span { display: block; color: #6f7b95; font-size: .82rem; margin-top: 2px; }
|
||||
.mu-qr-box .txt .line-tag { display: inline-block; margin-top: 6px; background: #06c755; color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; }
|
||||
|
||||
/* ===== Shared component styles (originally in main-theme.css) ===== */
|
||||
.mu-page { padding: 28px 0 48px; }
|
||||
.mu-breadcrumb { color: #6f7b95; font-size: .85rem; margin: 0 0 10px; }
|
||||
.mu-breadcrumb a { color: #7a4cc0; text-decoration: none; font-weight: 600; }
|
||||
.mu-breadcrumb a:hover { text-decoration: underline; }
|
||||
.mu-page-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 8px; font-size: 1.55rem; color: #1f2a44; font-weight: 800; line-height: 1.2; }
|
||||
.mu-route-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 12px; background: linear-gradient(135deg, #7a4cc0, #8b5cf6); color: #fff; font-weight: 800; font-size: 1.15rem; box-shadow: 0 6px 14px rgba(122, 76, 192, .25); }
|
||||
.mu-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: #fff; border: 1px solid #e7e2f6; border-radius: 14px; padding: 12px; box-shadow: 0 8px 20px rgba(63, 43, 94, .06); margin: 12px 0 18px; }
|
||||
.mu-toolbar select { border: 1px solid #dfe6f1; background: linear-gradient(180deg, #fff, #f8fbff); border-radius: 10px; min-height: 42px; padding: 0 12px; font-family: inherit; color: #1f2a44; }
|
||||
.mu-back-btn { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #7a4cc0; font-weight: 700; text-decoration: none; font-size: .9rem; }
|
||||
.mu-back-btn:hover { text-decoration: underline; }
|
||||
.mu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: .85rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
|
||||
.mu-btn.primary { background: linear-gradient(135deg, #a855f7, #7c3aed); color: #fff; box-shadow: 0 8px 18px rgba(124, 58, 237, .25); }
|
||||
.mu-btn.ghost { background: #fff; border-color: #e7e2f6; color: #5b3b71; box-shadow: 0 2px 8px rgba(63, 43, 94, .05); }
|
||||
.mu-btn.ghost:hover { border-color: #d8c9f2; }
|
||||
.mu-list { list-style: none; margin: 0; padding: 0; }
|
||||
.mu-route-type-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #ede9fe; color: #6d28d9; white-space: nowrap; }
|
||||
.mu-stop-expander summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; }
|
||||
.mu-stop-summary-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
|
||||
.mu-stop-summary-main strong { color: #1f2a44; font-size: .95rem; }
|
||||
.mu-stop-summary-meta { color: #6f7b95; font-size: .78rem; }
|
||||
.mu-stop-summary-rail { margin-left: auto; flex: none; }
|
||||
.mu-stop-chevron { color: #8b5cf6; font-size: 1rem; }
|
||||
.mu-stop-expander-body { padding: 0 16px 16px; }
|
||||
.mu-time-grid { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
.mu-time-chip { padding: 6px 12px; border-radius: 10px; background: #f1f4fb; color: #2b2f42; font-weight: 700; font-size: .85rem; border: 1px solid #e6eaf3; font-variant-numeric: tabular-nums; }
|
||||
.mu-time-chip.next { background: linear-gradient(135deg, #7a4cc0, #8b5cf6); color: #fff; border-color: transparent; box-shadow: 0 4px 10px rgba(122, 76, 192, .25); }
|
||||
</style>
|
||||
</head>
|
||||
<body class="main-theme-page">
|
||||
<header class="mu-topbar">
|
||||
<div class="mu-container mu-topbar-inner">
|
||||
<div class="mu-brand">
|
||||
<img class="mu-logo-img" src="../images/icons/minibus-512x512.png" alt="AT Transit logo" width="44" height="44" decoding="async">
|
||||
<img class="mu-logo-img" src="../resource/images/icons/minibus-512x512.png" alt="AT Transit logo" width="44" height="44" decoding="async">
|
||||
<div>
|
||||
<p class="mu-brand-title">AT Transit</p>
|
||||
<p class="mu-brand-subtitle">สถานีขนส่งผู้โดยสารจังหวัดอ่างทอง</p>
|
||||
@@ -200,7 +227,7 @@
|
||||
<h1 class="mu-page-title"><span class="mu-route-chip">101</span> อ่างทอง - ป่าโมก - อยุธยา</h1>
|
||||
|
||||
<section class="mu-route-hero" aria-label="ภาพรวมของสาย">
|
||||
<img class="bg" src="../images/routes/101/hero.jpeg" alt="ภาพบรรยากาศริมทางของสาย 101" fetchpriority="high" decoding="async">
|
||||
<img class="bg" src="../resource/images/routes/101/hero.jpeg" alt="ภาพบรรยากาศริมทางของสาย 101" fetchpriority="high" decoding="async">
|
||||
<div class="overlay">
|
||||
<span class="badge">🚌 สายระหว่างจังหวัด · 4 จุดจอดหลัก</span>
|
||||
<h2>เส้นทางสาย 101</h2>
|
||||
@@ -389,7 +416,7 @@
|
||||
<span>🌐 ยังไม่ระบุเว็บไซต์</span>
|
||||
</div>
|
||||
<div class="mu-qr-box">
|
||||
<img src="../images/qrcode/101.png" alt="LINE QR สาย 101" loading="lazy" decoding="async">
|
||||
<img src="../resource/images/qrcode/101.png" alt="LINE QR สาย 101" loading="lazy" decoding="async">
|
||||
<div class="txt">
|
||||
<strong>ติดตามข่าวสาย 101</strong>
|
||||
<span>สแกน QR เพื่อรับข่าวสารถัด · เลื่อนเวลา · ไม่มีรถ</span>
|
||||
@@ -397,7 +424,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="mu-vehicle-card">
|
||||
<img src="../images/routes/101/car.jpeg" alt="รถของสาย 101" loading="lazy" decoding="async">
|
||||
<img src="../resource/images/routes/101/car.jpeg" alt="รถของสาย 101" loading="lazy" decoding="async">
|
||||
<div class="meta">
|
||||
<h3>รถบัสประจำสาย</h3>
|
||||
<p>รถปรับอากาศ · ไม่สูบบุหรี่ · 40 ที่นั่ง</p>
|
||||
@@ -455,17 +482,17 @@
|
||||
<h3>🚌 รูปรถประจำเส้นทางในเครือข่าย</h3>
|
||||
<p class="sub">ภาพรถที่ให้บริการบนเส้นทางต่าง ๆ ของจังหวัดอ่างทอง</p>
|
||||
<div class="mu-photo-strip">
|
||||
<figure><img src="../images/routes/101/hero.jpeg" alt="สาย 101 อ่างทอง-อยุธยา" loading="lazy"><figcaption>101 · อ่างทอง-อยุธยา</figcaption></figure>
|
||||
<figure><img src="../images/routes/902/hero.jpg" alt="สาย 902 กรุงเทพ-อ่างทอง สายเอเซีย" loading="lazy"><figcaption>902 · สายเอเซีย</figcaption></figure>
|
||||
<figure><img src="../images/routes/15/hero.jpg" alt="สาย 15 สายใน" loading="lazy"><figcaption>15 · สายใน</figcaption></figure>
|
||||
<figure><img src="../images/routes/951/car.jpg" alt="สาย 951 กรุงเทพ-วิเศษ-สุพรรณ" loading="lazy"><figcaption>951 · กรุงเทพ-วิเศษ</figcaption></figure>
|
||||
<figure><img src="../images/routes/952/hero.webp" alt="สาย 952 กรุงเทพ-วิเศษชัยชาญ" loading="lazy"><figcaption>952 · วิเศษชัยชาญ</figcaption></figure>
|
||||
<figure><img src="../images/routes/464/car.jpeg" alt="สาย 464 สุพรรณ-อ่างทอง-สระบุรี" loading="lazy"><figcaption>464 · สุพรรณ-สระบุรี</figcaption></figure>
|
||||
<figure><img src="../images/routes/641/car.jpeg" alt="สาย 641 อ่างทอง-บ้านแพรก-ลพบุรี" loading="lazy"><figcaption>641 · ลพบุรี</figcaption></figure>
|
||||
<figure><img src="../images/routes/2194/car.jpg" alt="สาย 2194 หัวเวียง-อยุธยา" loading="lazy"><figcaption>2194 · หัวเวียง</figcaption></figure>
|
||||
<figure><img src="../images/routes/324/car.jpg" alt="สาย 324 อ่างทอง-วัดพิกุลทอง" loading="lazy"><figcaption>324 · วัดพิกุลทอง</figcaption></figure>
|
||||
<figure><img src="../images/routes/1011/car.jpeg" alt="สาย 1011 อ่างทอง-สีบัวทอง" loading="lazy"><figcaption>1011 · สีบัวทอง</figcaption></figure>
|
||||
<figure><img src="../images/routes/2231/car.jpg" alt="สาย 2231 อ่างทอง-มหานาม" loading="lazy"><figcaption>2231 · มหานาม</figcaption></figure>
|
||||
<figure><img src="../resource/images/routes/101/hero.jpeg" alt="สาย 101 อ่างทอง-อยุธยา" loading="lazy"><figcaption>101 · อ่างทอง-อยุธยา</figcaption></figure>
|
||||
<figure><img src="../resource/images/routes/902/hero.jpg" alt="สาย 902 กรุงเทพ-อ่างทอง สายเอเซีย" loading="lazy"><figcaption>902 · สายเอเซีย</figcaption></figure>
|
||||
<figure><img src="../resource/images/routes/15/hero.jpg" alt="สาย 15 สายใน" loading="lazy"><figcaption>15 · สายใน</figcaption></figure>
|
||||
<figure><img src="../resource/images/routes/951/car.jpg" alt="สาย 951 กรุงเทพ-วิเศษ-สุพรรณ" loading="lazy"><figcaption>951 · กรุงเทพ-วิเศษ</figcaption></figure>
|
||||
<figure><img src="../resource/images/routes/952/hero.webp" alt="สาย 952 กรุงเทพ-วิเศษชัยชาญ" loading="lazy"><figcaption>952 · วิเศษชัยชาญ</figcaption></figure>
|
||||
<figure><img src="../resource/images/routes/464/car.jpeg" alt="สาย 464 สุพรรณ-อ่างทอง-สระบุรี" loading="lazy"><figcaption>464 · สุพรรณ-สระบุรี</figcaption></figure>
|
||||
<figure><img src="../resource/images/routes/641/car.jpeg" alt="สาย 641 อ่างทอง-บ้านแพรก-ลพบุรี" loading="lazy"><figcaption>641 · ลพบุรี</figcaption></figure>
|
||||
<figure><img src="../resource/images/routes/2194/car.jpg" alt="สาย 2194 หัวเวียง-อยุธยา" loading="lazy"><figcaption>2194 · หัวเวียง</figcaption></figure>
|
||||
<figure><img src="../resource/images/routes/324/car.jpg" alt="สาย 324 อ่างทอง-วัดพิกุลทอง" loading="lazy"><figcaption>324 · วัดพิกุลทอง</figcaption></figure>
|
||||
<figure><img src="../resource/images/routes/1011/car.jpeg" alt="สาย 1011 อ่างทอง-สีบัวทอง" loading="lazy"><figcaption>1011 · สีบัวทอง</figcaption></figure>
|
||||
<figure><img src="../resource/images/routes/2231/car.jpg" alt="สาย 2231 อ่างทอง-มหานาม" loading="lazy"><figcaption>2231 · มหานาม</figcaption></figure>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -479,7 +506,7 @@
|
||||
<div class="mu-footer-grid">
|
||||
<div class="mu-footer-brand">
|
||||
<div class="mu-footer-brand-row">
|
||||
<img src="../images/icons/minibus-512x512.png" alt="AT Transit">
|
||||
<img src="../resource/images/icons/minibus-512x512.png" alt="AT Transit">
|
||||
<div><strong>AT Transit</strong><span>สถานีขนส่งผู้โดยสารจังหวัดอ่างทอง</span></div>
|
||||
</div>
|
||||
<p class="about">รวมตารางเดินรถ ผู้ประกอบการ และจุดจอดทุกสายรถที่เชื่อมต่อจังหวัดอ่างทอง</p>
|
||||
|
||||
+319
-204
@@ -6,7 +6,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&family=Prompt:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<link href="../../frontend-web-transit/web-transit/css/main-theme.css" rel="stylesheet">
|
||||
<link href="./_shared.css" rel="stylesheet">
|
||||
<link rel="icon" type="image/png" href="../images/icons/minibus-512x512.png">
|
||||
<link rel="icon" type="image/png" href="../resource/images/icons/minibus-512x512.png">
|
||||
<style>
|
||||
.mu-card.empty { width: 100%; padding: 16px; text-align: center; color: #6f7b95; background: #fff7fb; border: 1px dashed #f4c7df; }
|
||||
a.mu-card { text-decoration: none; color: inherit; display: block; }
|
||||
@@ -73,8 +73,84 @@
|
||||
.mu-badge { display: inline-block; background: rgba(255,255,255,.7); backdrop-filter: blur(6px); color: #6d28d9; padding: 6px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700; margin-bottom: 18px; box-shadow: 0 4px 10px rgba(124,58,237,.12); }
|
||||
.mu-hero h1 { margin: 0 0 26px; font-size: 2.2rem; font-weight: 800; line-height: 1.35; color: #1f2a44; }
|
||||
.mu-gradient-text { background: linear-gradient(120deg, #d946ef 10%, #a855f7 60%, #6366f1 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
|
||||
.mu-station { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e2e8f5; border-radius: 14px; padding: 6px 14px; box-shadow: 0 6px 16px rgba(40,60,120,.08); min-width: 340px; }
|
||||
.mu-station select { border: none; outline: none; background: transparent; font-family: inherit; font-size: .95rem; padding: 8px 4px; flex: 1; color: #1f2a44; }
|
||||
/* ===== Route selector: จังหวัด → สถานีขนส่งผู้โดยสาร (cascade) ===== */
|
||||
.mu-route-selector {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: center;
|
||||
gap: 14px;
|
||||
flex-wrap: wrap;
|
||||
max-width: 780px;
|
||||
margin: 2px auto 0;
|
||||
}
|
||||
.mu-select-field { flex: 1 1 250px; min-width: 240px; text-align: left; }
|
||||
.mu-select-field > label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin: 0 0 7px 8px;
|
||||
font-size: .8rem;
|
||||
font-weight: 700;
|
||||
color: #6f7b95;
|
||||
letter-spacing: .01em;
|
||||
}
|
||||
.mu-select-field > label svg { width: 15px; height: 15px; color: #8b5cf6; flex: none; }
|
||||
.mu-select-box {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: #fff;
|
||||
border: 1px solid #e7e2f6;
|
||||
border-radius: 14px;
|
||||
box-shadow: 0 8px 20px rgba(63, 43, 94, .08);
|
||||
transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
|
||||
}
|
||||
.mu-select-box:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(63,43,94,.12); }
|
||||
.mu-select-box:focus-within { border-color: #c8b4ec; box-shadow: 0 0 0 4px rgba(122,76,192,.14), 0 10px 24px rgba(63,43,94,.10); }
|
||||
.mu-select-box .mu-select-icon { width: 20px; height: 20px; margin-left: 14px; color: #8b5cf6; flex: none; }
|
||||
.mu-select-box select {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
border: none;
|
||||
outline: none;
|
||||
background: transparent;
|
||||
font-family: inherit;
|
||||
font-size: .95rem;
|
||||
font-weight: 600;
|
||||
color: #1f2a44;
|
||||
padding: 14px 12px;
|
||||
cursor: pointer;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
.mu-select-box .mu-select-chevron { width: 18px; height: 18px; margin-right: 14px; color: #8b5cf6; flex: none; pointer-events: none; }
|
||||
.mu-select-arrow { display: none; align-self: center; color: #c4b5e6; font-weight: 700; font-size: 1.15rem; padding-bottom: 18px; }
|
||||
.mu-select-hint { margin: 12px 0 0; font-size: .84rem; color: #6f7b95; min-height: 1.25em; }
|
||||
.mu-select-hint b { color: #7a4cc0; font-weight: 700; }
|
||||
|
||||
/* ===== Hero actions ===== */
|
||||
.mu-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
|
||||
.mu-pill-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
padding: 11px 20px;
|
||||
border-radius: 999px;
|
||||
background: #fff;
|
||||
border: 1px solid #e7e2f6;
|
||||
color: #5b3b71;
|
||||
text-decoration: none;
|
||||
font-size: .88rem;
|
||||
font-weight: 700;
|
||||
box-shadow: 0 6px 16px rgba(63,43,94,.08);
|
||||
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
|
||||
}
|
||||
.mu-pill-link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(63,43,94,.14); border-color: #d8c9f2; }
|
||||
.mu-pill-link.primary { background: linear-gradient(135deg, #a855f7, #7c3aed); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(124,58,237,.28); }
|
||||
@media (min-width: 720px) { .mu-select-arrow { display: block; } }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.mu-select-box, .mu-pill-link { transition: none; }
|
||||
}
|
||||
|
||||
/* Zones / grid */
|
||||
main.mu-container { padding-top: 40px; padding-bottom: 40px; }
|
||||
@@ -118,13 +194,71 @@
|
||||
.mu-stat.tag-sky { background: #dbeafe; }
|
||||
.mu-stat.tag-purple { background: #ede9fe; }
|
||||
.mu-stat.tag-mint { background: #d1fae5; }
|
||||
|
||||
/* ===== Visitor counter (footer bottom bar) ===== */
|
||||
.mu-footer-bottom { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
|
||||
.mu-visitor {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
margin: 0;
|
||||
padding: 5px 12px;
|
||||
border-radius: 999px;
|
||||
background: rgba(255,255,255,.06);
|
||||
border: 1px solid rgba(255,255,255,.1);
|
||||
color: #b6bdda;
|
||||
font-size: .78rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: .01em;
|
||||
line-height: 1;
|
||||
}
|
||||
.mu-visitor svg { width: 14px; height: 14px; color: #b694f6; flex: none; }
|
||||
.mu-visitor strong { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
|
||||
|
||||
/* ===== Sponsor marquee (between hero and main) ===== */
|
||||
.mu-sponsor-marquee { padding: 26px 0 6px; background: #fff; border-bottom: 1px solid #f0f2f8; }
|
||||
.mu-sponsor-head { text-align: center; margin-bottom: 18px; }
|
||||
.mu-sponsor-head h4 { margin: 0 0 4px; font-size: 1rem; font-weight: 800; color: #1f2a44; letter-spacing: .01em; }
|
||||
.mu-sponsor-head .lead { margin: 0; color: #6f7b95; font-size: .84rem; }
|
||||
.mu-marquee-track {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 16px;
|
||||
padding: 4px 0 16px;
|
||||
}
|
||||
.mu-marquee-tile {
|
||||
flex: 0 0 auto;
|
||||
width: 170px;
|
||||
height: 96px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #fff;
|
||||
border: 1px solid #eef0f6;
|
||||
border-radius: 14px;
|
||||
box-shadow: 0 4px 12px rgba(63, 43, 94, .05);
|
||||
transition: transform .2s ease, box-shadow .2s ease;
|
||||
}
|
||||
.mu-marquee-tile img {
|
||||
max-width: 78%;
|
||||
max-height: 64%;
|
||||
object-fit: contain;
|
||||
filter: grayscale(.2);
|
||||
transition: filter .2s ease;
|
||||
}
|
||||
.mu-marquee-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(63, 43, 94, .12); }
|
||||
.mu-marquee-tile:hover img { filter: grayscale(0); }
|
||||
|
||||
/* ===== SPA central view ===== */
|
||||
#view { min-height: 60vh; }
|
||||
</style>
|
||||
</head>
|
||||
<body class="main-theme-page">
|
||||
<header class="mu-topbar">
|
||||
<div class="mu-container mu-topbar-inner">
|
||||
<div class="mu-brand">
|
||||
<img class="mu-logo-img" src="../images/icons/minibus-512x512.png" alt="AT Transit logo" width="44" height="44" decoding="async">
|
||||
<img class="mu-logo-img" src="../resource/images/icons/minibus-512x512.png" alt="AT Transit logo" width="44" height="44" decoding="async">
|
||||
<div>
|
||||
<p class="mu-brand-title">AT Transit</p>
|
||||
<p class="mu-brand-subtitle">สถานีขนส่งผู้โดยสารจังหวัดอ่างทอง</p>
|
||||
@@ -139,196 +273,14 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section class="mu-hero">
|
||||
<img class="mu-hero-map" src="../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">จังหวัดอ่างทอง</span></h1>
|
||||
<div class="mu-station">
|
||||
<span>📍</span>
|
||||
<select aria-label="เลือกสถานี">
|
||||
<option>บขส.อ่างทอง</option>
|
||||
<option>สถานีขนส่งป่าโมก</option>
|
||||
<option>จุดขึ้นลงรถสองแถว 101 อยุธยา-ป่าโมก-อ่างทอง</option>
|
||||
<option>ตลาดเจ้าพรหม</option>
|
||||
<option>ท่ารถตู้ต่างจังหวัด รังสิต</option>
|
||||
<option>สถานีเดินรถโดยสารขนาดเล็ก (จตุจักร) รถตู้/มินิบัส</option>
|
||||
<option>บขส.ลพบุรี</option>
|
||||
<option>จุดขึ้นรถประจำทางอื่นๆ</option>
|
||||
<option>บขส.สุพรรณบุรี</option>
|
||||
<option>บขส.สระบุรี</option>
|
||||
<option>นะโมซุปเปอร์มาร์ท</option>
|
||||
<option>สายใต้เก่า ปิ่นเกล้า จุดจอดรถตู้</option>
|
||||
<option>บขส.ชัยนาท</option>
|
||||
<option>บขส.999 อ่างทอง สายเอเชีย-เหนือ (ไม่เข้าเมือง)</option>
|
||||
<option>สถานีขนส่งไชโย</option>
|
||||
<option>สถานีขนส่งโพธิ์ทอง</option>
|
||||
<option>สถานีขนส่งแสวงหา</option>
|
||||
<option>สถานีขนส่งวิเศษชัยชาญ</option>
|
||||
<option>สถานีขนส่งสามโก้</option>
|
||||
</select>
|
||||
<span>▾</span>
|
||||
</div>
|
||||
<div class="mu-hero-actions">
|
||||
<a class="mu-pill-link" 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>
|
||||
|
||||
<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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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>
|
||||
|
||||
<section class="mu-summary">
|
||||
<div class="mu-container mu-summary-grid">
|
||||
<article class="mu-stat tag-pink"><h3>14</h3><p>เส้นทางทั้งหมด</p></article>
|
||||
<article class="mu-stat tag-sky"><h3>4</h3><p>หมวดเส้นทาง</p></article>
|
||||
<article class="mu-stat tag-purple"><h3>19</h3><p>สถานี/ป้ายหยุด</p></article>
|
||||
<article class="mu-stat tag-mint"><h3>9</h3><p>จังหวัดที่ครอบคลุม</p></article>
|
||||
</div>
|
||||
</section>
|
||||
<div id="view"></div>
|
||||
|
||||
<footer class="mu-site-footer">
|
||||
<div class="mu-container">
|
||||
<div class="mu-footer-grid">
|
||||
<div class="mu-footer-brand">
|
||||
<div class="mu-footer-brand-row">
|
||||
<img src="../images/icons/minibus-512x512.png" alt="AT Transit">
|
||||
<img src="../resource/images/icons/minibus-512x512.png" alt="AT Transit">
|
||||
<div>
|
||||
<strong>AT Transit</strong>
|
||||
<span>สถานีขนส่งผู้โดยสารจังหวัดอ่างทอง</span>
|
||||
@@ -356,32 +308,195 @@
|
||||
</div>
|
||||
<div class="mu-footer-col mu-footer-contact">
|
||||
<h4>ติดต่อ</h4>
|
||||
<div class="row"><a href="tel:+66649639025">📞 +66 64 963 9025</a></div>
|
||||
<div class="row"><a href="tel:+666****9025">📞 +66 64 963 9025</a></div>
|
||||
<div class="row"><span>📍 ถนนเทศบาล 1 อ.เมือง อ่างทอง</span></div>
|
||||
<div class="row"><span>🕒 บริการ 04:30 - 21:00 น.</span></div>
|
||||
<div class="row"><a href="#">💬 LINE Official: @attransit</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="mu-footer-sponsors" aria-label="sponsors and partners">
|
||||
<h4>ผู้สนับสนุน & พาร์ทเนอร์</h4>
|
||||
<p class="lead">จองตั๋ว · สั่งของ · เช็กของฝาก ที่ร้านค้าและบริการพันธมิตรของเรา</p>
|
||||
<div class="mu-sponsor-strip">
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="7-Eleven"><img src="../images/partners/7-11.png" alt="7-Eleven" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="Shopee"><img src="../images/partners/shopee.png" alt="Shopee" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="Lazada"><img src="../images/partners/lazada.png" alt="Lazada" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="airasia MOVE"><img src="../images/partners/airasia-move.png" alt="airasia MOVE" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="busonlineticket"><img src="../images/partners/busonlineticket.png" alt="busonlineticket" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="Trip.com"><img src="../images/partners/trip.jpg" alt="Trip.com" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="truck2hand"><img src="../images/partners/truck2hand.png" alt="truck2hand" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="ทีซีแอล 999 อ่างทอง"><img src="../images/partners/tcl999-angthong.jpg" alt="ทีซีแอล 999 อ่างทอง" loading="lazy" decoding="async"></a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="mu-footer-bottom">
|
||||
<p>© 2026 AT Transit <span class="pill">mockup template</span></p>
|
||||
<span class="mu-visitor" title="จำนวนผู้เข้าชมเว็บไซต์">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"/><circle cx="12" cy="12" r="3"/></svg>
|
||||
<span>ผู้เข้าชม</span>
|
||||
<strong id="visitor-count">12,483</strong>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
var PROVINCES = [
|
||||
'กรุงเทพมหานคร', 'กระบี่', 'กาญจนบุรี', 'กาฬสินธุ์', 'กำแพงเพชร', 'ขอนแก่น',
|
||||
'จันทบุรี', 'ฉะเชิงเทรา', 'ชลบุรี', 'ชัยนาท', 'ชัยภูมิ', 'ชุมพร', 'เชียงราย', 'เชียงใหม่',
|
||||
'ตรัง', 'ตราด', 'ตาก', 'นครนายก', 'นครปฐม', 'นครพนม', 'นครราชสีมา', 'นครศรีธรรมราช',
|
||||
'นครสวรรค์', 'นนทบุรี', 'นราธิวาส', 'น่าน', 'บึงกาฬ', 'บุรีรัมย์', 'ปทุมธานี',
|
||||
'ประจวบคีรีขันธ์', 'ปราจีนบุรี', 'ปัตตานี', 'พระนครศรีอยุธยา', 'พะเยา', 'พังงา', 'พัทลุง',
|
||||
'พิจิตร', 'พิษณุโลก', 'เพชรบุรี', 'เพชรบูรณ์', 'แพร่', 'ภูเก็ต', 'มหาสารคาม', 'มุกดาหาร',
|
||||
'แม่ฮ่องสอน', 'ยโสธร', 'ยะลา', 'ร้อยเอ็ด', 'ระนอง', 'ระยอง', 'ราชบุรี', 'ลพบุรี',
|
||||
'ลำปาง', 'ลำพูน', 'เลย', 'ศรีสะเกษ', 'สกลนคร', 'สงขลา', 'สตูล', 'สมุทรปราการ',
|
||||
'สมุทรสงคราม', 'สมุทรสาคร', 'สระแก้ว', 'สระบุรี', 'สิงห์บุรี', 'สุโขทัย', 'สุพรรณบุรี',
|
||||
'สุราษฎร์ธานี', 'สุรินทร์', 'หนองคาย', 'หนองบัวลำภู', 'อ่างทอง', 'อำนาจเจริญ', 'อุดรธานี',
|
||||
'อุตรดิตถ์', 'อุทัยธานี', 'อุบลราชธานี'
|
||||
];
|
||||
|
||||
var STATIONS_BY_PROVINCE = {
|
||||
'อ่างทอง': [
|
||||
'บขส.อ่างทอง',
|
||||
'สถานีขนส่งป่าโมก',
|
||||
'สถานีขนส่งวิเศษชัยชาญ',
|
||||
'สถานีขนส่งไชโย',
|
||||
'สถานีขนส่งโพธิ์ทอง',
|
||||
'สถานีขนส่งแสวงหา',
|
||||
'สถานีขนส่งสามโก้',
|
||||
'นะโมซุปเปอร์มาร์ท',
|
||||
'บขส.999 อ่างทอง สายเอเชีย-เหนือ (ไม่เข้าเมือง)',
|
||||
'จุดขึ้นรถประจำทางอื่นๆ'
|
||||
],
|
||||
'พระนครศรีอยุธยา': [
|
||||
'จุดขึ้นลงรถสองแถว 101 อยุธยา-ป่าโมก-อ่างทอง',
|
||||
'ตลาดเจ้าพรหม'
|
||||
],
|
||||
'ปทุมธานี': ['ท่ารถตู้ต่างจังหวัด รังสิต'],
|
||||
'กรุงเทพมหานคร': [
|
||||
'สถานีเดินรถโดยสารขนาดเล็ก (จตุจักร) รถตู้/มินิบัส',
|
||||
'สายใต้เก่า ปิ่นเกล้า จุดจอดรถตู้'
|
||||
],
|
||||
'ลพบุรี': ['บขส.ลพบุรี'],
|
||||
'สุพรรณบุรี': ['บขส.สุพรรณบุรี'],
|
||||
'สระบุรี': ['บขส.สระบุรี'],
|
||||
'ชัยนาท': ['บขส.ชัยนาท']
|
||||
};
|
||||
|
||||
var DEFAULT_PROVINCE = 'อ่างทอง';
|
||||
var view = document.getElementById('view');
|
||||
|
||||
function initHomeSelectors() {
|
||||
var provinceSelect = document.getElementById('province-select');
|
||||
var stationSelect = document.getElementById('station-select');
|
||||
var stationHint = document.getElementById('station-hint');
|
||||
var heroProvince = document.getElementById('hero-province');
|
||||
if (!provinceSelect || !stationSelect) return;
|
||||
|
||||
provinceSelect.innerHTML = '';
|
||||
PROVINCES.forEach(function (name) {
|
||||
var opt = document.createElement('option');
|
||||
opt.value = name;
|
||||
opt.textContent = name;
|
||||
if (name === DEFAULT_PROVINCE) opt.selected = true;
|
||||
provinceSelect.appendChild(opt);
|
||||
});
|
||||
|
||||
function populateStations(province) {
|
||||
stationSelect.innerHTML = '';
|
||||
var stations = STATIONS_BY_PROVINCE[province] || [];
|
||||
if (stations.length === 0) {
|
||||
var empty = document.createElement('option');
|
||||
empty.value = '';
|
||||
empty.textContent = '— ยังไม่มีสถานีขนส่งในจังหวัดนี้ —';
|
||||
empty.disabled = true;
|
||||
empty.selected = true;
|
||||
stationSelect.appendChild(empty);
|
||||
if (stationHint) stationHint.innerHTML = 'ยังไม่มีสถานีขนส่งผู้โดยสารในจังหวัด ' + province;
|
||||
} else {
|
||||
stations.forEach(function (name) {
|
||||
var opt = document.createElement('option');
|
||||
opt.value = name;
|
||||
opt.textContent = name;
|
||||
stationSelect.appendChild(opt);
|
||||
});
|
||||
if (stationHint) stationHint.innerHTML = 'มี <b>' + stations.length + '</b> สถานีขนส่งในจังหวัด ' + province;
|
||||
}
|
||||
if (heroProvince) heroProvince.textContent = 'จังหวัด' + province;
|
||||
}
|
||||
|
||||
provinceSelect.addEventListener('change', function () {
|
||||
populateStations(provinceSelect.value);
|
||||
});
|
||||
|
||||
populateStations(DEFAULT_PROVINCE);
|
||||
}
|
||||
|
||||
function injectBusDetailStyle(doc) {
|
||||
if (document.getElementById('busdetail-style')) return;
|
||||
var styleEl = doc.querySelector('style');
|
||||
if (!styleEl) return;
|
||||
var s = document.createElement('style');
|
||||
s.id = 'busdetail-style';
|
||||
s.textContent = styleEl.textContent;
|
||||
document.head.appendChild(s);
|
||||
}
|
||||
|
||||
function loadHome() {
|
||||
return fetch('partials/home.html')
|
||||
.then(function (res) {
|
||||
if (!res.ok) throw new Error('HTTP ' + res.status);
|
||||
return res.text();
|
||||
})
|
||||
.then(function (html) {
|
||||
view.innerHTML = html;
|
||||
initHomeSelectors();
|
||||
window.scrollTo(0, 0);
|
||||
})
|
||||
.catch(function () {
|
||||
view.innerHTML = '<div class="mu-container" style="padding:64px 28px;text-align:center;color:#6f7b95;">โหลดเนื้อหาไม่สำเร็จ — กรุณารันผ่าน HTTP server (เช่น <code>python3 -m http.server</code>) แล้วเปิด <code>/ui/index.html</code></div>';
|
||||
});
|
||||
}
|
||||
|
||||
function loadRoute(routeId) {
|
||||
return fetch('busDetail.html')
|
||||
.then(function (res) {
|
||||
if (!res.ok) throw new Error('HTTP ' + res.status);
|
||||
return res.text();
|
||||
})
|
||||
.then(function (html) {
|
||||
var doc = new DOMParser().parseFromString(html, 'text/html');
|
||||
injectBusDetailStyle(doc);
|
||||
var main = doc.querySelector('main.mu-page');
|
||||
if (!main) throw new Error('main not found');
|
||||
view.innerHTML = main.outerHTML;
|
||||
window.scrollTo(0, 0);
|
||||
})
|
||||
.catch(function () {
|
||||
window.location.href = 'busDetail.html?route=' + encodeURIComponent(routeId);
|
||||
});
|
||||
}
|
||||
|
||||
document.addEventListener('click', function (e) {
|
||||
var link = e.target.closest('a');
|
||||
if (!link) return;
|
||||
|
||||
var route = link.getAttribute('data-route');
|
||||
if (route) {
|
||||
e.preventDefault();
|
||||
loadRoute(route);
|
||||
return;
|
||||
}
|
||||
|
||||
var href = link.getAttribute('href') || '';
|
||||
if (link.classList.contains('mu-back-btn') || (href.indexOf('index.html') !== -1 && view.contains(link))) {
|
||||
e.preventDefault();
|
||||
loadHome();
|
||||
}
|
||||
});
|
||||
|
||||
(function () {
|
||||
var KEY = 'at_transit_visitor_count';
|
||||
var BASE = 12483;
|
||||
var el = document.getElementById('visitor-count');
|
||||
if (!el) return;
|
||||
var n = parseInt(localStorage.getItem(KEY), 10);
|
||||
n = isNaN(n) ? BASE : n + 1;
|
||||
try { localStorage.setItem(KEY, String(n)); } catch (err) {}
|
||||
el.textContent = n.toLocaleString('en-US');
|
||||
})();
|
||||
|
||||
loadHome();
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,387 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="th">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>หน้าแรก | AT Transit (mockup)</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&family=Prompt:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<link href="../../frontend-web-transit/web-transit/css/main-theme.css" rel="stylesheet">
|
||||
<link href="./_shared.css" rel="stylesheet">
|
||||
<link rel="icon" type="image/png" href="../images/icons/minibus-512x512.png">
|
||||
<style>
|
||||
.mu-card.empty { width: 100%; padding: 16px; text-align: center; color: #6f7b95; background: #fff7fb; border: 1px dashed #f4c7df; }
|
||||
a.mu-card { text-decoration: none; color: inherit; display: block; }
|
||||
|
||||
/* Page-specific: hero */
|
||||
.mu-hero { position: relative; overflow: hidden; }
|
||||
.mu-hero-map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: saturate(1.1); z-index: 0; pointer-events: none; }
|
||||
.mu-hero-content { position: relative; z-index: 1; }
|
||||
|
||||
/* ===== maintheme-style cards: solid gradient block with big centered number ===== */
|
||||
.mu-card-head {
|
||||
aspect-ratio: auto;
|
||||
height: 130px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(135deg, #7a4cc0 0%, #b07ce0 100%);
|
||||
position: relative;
|
||||
}
|
||||
.mu-card-head::after { display: none; }
|
||||
.mu-card-head .mu-route-number {
|
||||
position: static;
|
||||
color: #fff;
|
||||
font-size: 56px;
|
||||
font-weight: 900;
|
||||
text-shadow: 0 4px 12px rgba(0,0,0,.25);
|
||||
letter-spacing: .02em;
|
||||
}
|
||||
/* zone tint overrides */
|
||||
.tag-sky ~ .mu-grid .mu-card-head,
|
||||
.mu-zone:has(.tag-sky) .mu-card-head { background: linear-gradient(135deg, #3071b8 0%, #6ea7e8 100%); }
|
||||
.mu-zone:has(.tag-purple) .mu-card-head { background: linear-gradient(135deg, #7a4cc0 0%, #b07ce0 100%); }
|
||||
.mu-zone:has(.tag-pink) .mu-card-head { background: linear-gradient(135deg, #bb3a78 0%, #f08bb9 100%); }
|
||||
.mu-zone:has(.tag-mint) .mu-card-head { background: linear-gradient(135deg, #1f8765 0%, #51c39c 100%); }
|
||||
|
||||
.mu-route-info { padding: 14px 16px 16px; background: #fff; }
|
||||
.mu-route-name { margin: 0 0 10px; font-size: .95rem; color: #1f2a44; font-weight: 700; }
|
||||
|
||||
/* ===== maintheme.png look: topbar, hero, zones, grid, summary, footer ===== */
|
||||
body.main-theme-page { margin: 0; font-family: 'Noto Sans Thai','Prompt',system-ui,sans-serif; color: #1f2a44; background: #f7f9fd; }
|
||||
.mu-container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
|
||||
|
||||
/* Topbar */
|
||||
.mu-topbar { background: #ffffff; border-bottom: 1px solid #e9eef7; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(20,40,90,.04); }
|
||||
.mu-topbar-inner { display: flex; align-items: center; gap: 18px; padding: 14px 28px; }
|
||||
.mu-brand { display: flex; align-items: center; gap: 12px; }
|
||||
.mu-logo-img { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg,#8b5cf6,#ec4899); padding: 4px; }
|
||||
.mu-brand-title { margin: 0; font-weight: 800; font-size: 1.05rem; color: #1f2a44; }
|
||||
.mu-brand-subtitle { margin: 0; font-size: .72rem; color: #6f7b95; }
|
||||
.mu-nav { margin-left: auto; display: flex; gap: 28px; }
|
||||
.mu-nav a { color: #4a5876; text-decoration: none; font-size: .92rem; font-weight: 600; padding: 6px 4px; border-bottom: 2px solid transparent; }
|
||||
.mu-nav a.active { color: #d6336c; border-bottom-color: #ec4899; }
|
||||
.mu-nav a:hover { color: #1f2a44; }
|
||||
.mu-action-btn { background: linear-gradient(135deg,#a855f7,#7c3aed); color:#fff; padding: 10px 22px; border-radius: 999px; text-decoration:none; font-weight: 700; font-size:.88rem; box-shadow: 0 6px 14px rgba(124,58,237,.3); }
|
||||
|
||||
/* Hero */
|
||||
.mu-hero { position: relative; overflow: hidden; padding: 56px 0 64px; background: linear-gradient(180deg, #f0ebff 0%, #ffe8ee 50%, #fff4d6 100%); text-align: center; }
|
||||
.mu-hero-map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: saturate(1.1); z-index: 0; pointer-events: none; }
|
||||
.mu-blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; z-index: 0; }
|
||||
.mu-blob.one { width: 220px; height: 220px; background: #b794f4; top: -50px; left: 8%; }
|
||||
.mu-blob.two { width: 260px; height: 260px; background: #f9a8d4; top: 40%; right: 8%; }
|
||||
.mu-blob.three{ width: 180px; height: 180px; background: #fde68a; bottom: -40px; left: 38%; }
|
||||
.mu-hero-content { position: relative; z-index: 1; }
|
||||
.mu-badge { display: inline-block; background: rgba(255,255,255,.7); backdrop-filter: blur(6px); color: #6d28d9; padding: 6px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700; margin-bottom: 18px; box-shadow: 0 4px 10px rgba(124,58,237,.12); }
|
||||
.mu-hero h1 { margin: 0 0 26px; font-size: 2.2rem; font-weight: 800; line-height: 1.35; color: #1f2a44; }
|
||||
.mu-gradient-text { background: linear-gradient(120deg, #d946ef 10%, #a855f7 60%, #6366f1 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
|
||||
.mu-station { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e2e8f5; border-radius: 14px; padding: 6px 14px; box-shadow: 0 6px 16px rgba(40,60,120,.08); min-width: 340px; }
|
||||
.mu-station select { border: none; outline: none; background: transparent; font-family: inherit; font-size: .95rem; padding: 8px 4px; flex: 1; color: #1f2a44; }
|
||||
|
||||
/* Zones / grid */
|
||||
main.mu-container { padding-top: 40px; padding-bottom: 40px; }
|
||||
.mu-zone { margin-bottom: 32px; }
|
||||
.mu-zone-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
|
||||
.mu-zone-tag { padding: 5px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
|
||||
.mu-zone-tag.tag-sky { background: #dbeafe; color: #1d4ed8; }
|
||||
.mu-zone-tag.tag-pink { background: #fce7f3; color: #be185d; }
|
||||
.mu-zone-tag.tag-purple { background: #ede9fe; color: #6d28d9; }
|
||||
.mu-zone-tag.tag-mint { background: #d1fae5; color: #047857; }
|
||||
.mu-zone-sub, .mu-zone-desc { color: #6f7b95; font-size: .88rem; margin: 0; }
|
||||
.mu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
|
||||
|
||||
/* Cards */
|
||||
a.mu-card { display: block; text-decoration: none; color: inherit; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(20,40,90,.06); transition: transform .15s, box-shadow .15s; }
|
||||
a.mu-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20,40,90,.1); }
|
||||
/* Zone tints — apply via nth pattern using zone tag presence */
|
||||
.mu-zone:nth-of-type(1) .mu-card-head { background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%) !important; }
|
||||
.mu-zone:nth-of-type(2) .mu-card-head { background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 100%) !important; }
|
||||
.mu-zone:nth-of-type(3) .mu-card-head { background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%) !important; }
|
||||
.mu-card-head { aspect-ratio: auto !important; height: 130px !important; display: flex !important; align-items: center; justify-content: center; position: relative; }
|
||||
.mu-card-head::after { display: none !important; }
|
||||
.mu-card-head .mu-route-number { position: static !important; color: #fff !important; font-size: 52px !important; font-weight: 900; text-shadow: 0 4px 12px rgba(0,0,0,.2) !important; letter-spacing: .02em; margin: 0; }
|
||||
.mu-route-info { padding: 14px 14px 14px; }
|
||||
.mu-route-name { margin: 0 0 10px; font-size: .9rem; color: #1f2a44; font-weight: 700; }
|
||||
.mu-card .mu-badge { background: #dcfce7; color: #15803d; padding: 4px 10px; font-size: .78rem; font-weight: 700; box-shadow: none; backdrop-filter: none; }
|
||||
.mu-next-trip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #dcfce7; color: #15803d; }
|
||||
.badge-purple { background: #ede9fe; color: #6d28d9; }
|
||||
.badge-sky { background: #dbeafe; color: #1d4ed8; }
|
||||
.badge-pink { background: #fce7f3; color: #be185d; }
|
||||
.badge-mint { background: #d1fae5; color: #047857; }
|
||||
.mu-route-chip-wrap { display:flex; gap: 8px; }
|
||||
|
||||
/* Summary stats */
|
||||
.mu-summary { padding: 20px 0 40px; }
|
||||
.mu-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
|
||||
.mu-stat { padding: 28px 18px; text-align: center; border-radius: 18px; font-weight: 700; margin: 0; }
|
||||
.mu-stat h3 { margin: 0 0 4px; font-size: 2rem; color: #1f2a44; font-weight: 800; }
|
||||
.mu-stat p { margin: 0; font-size: .82rem; color: #4a5876; font-weight: 600; }
|
||||
.mu-stat.tag-pink { background: #fce7f3; }
|
||||
.mu-stat.tag-sky { background: #dbeafe; }
|
||||
.mu-stat.tag-purple { background: #ede9fe; }
|
||||
.mu-stat.tag-mint { background: #d1fae5; }
|
||||
</style>
|
||||
</head>
|
||||
<body class="main-theme-page">
|
||||
<header class="mu-topbar">
|
||||
<div class="mu-container mu-topbar-inner">
|
||||
<div class="mu-brand">
|
||||
<img class="mu-logo-img" src="../images/icons/minibus-512x512.png" alt="AT Transit logo" width="44" height="44" decoding="async">
|
||||
<div>
|
||||
<p class="mu-brand-title">AT Transit</p>
|
||||
<p class="mu-brand-subtitle">สถานีขนส่งผู้โดยสารจังหวัดอ่างทอง</p>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="mu-nav" aria-label="เมนูหลัก">
|
||||
<a class="active" href="./index.html">หน้าแรก</a>
|
||||
<a href="./busStop.html">ป้ายหยุดรถ</a>
|
||||
<a href="./busDetail.html">รายละเอียดสายรถ</a>
|
||||
</nav>
|
||||
<a class="mu-action-btn" href="./busDetail.html">เช็กเวลาเดินรถ</a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section class="mu-hero">
|
||||
<img class="mu-hero-map" src="../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">จังหวัดอ่างทอง</span></h1>
|
||||
<div class="mu-station">
|
||||
<span>📍</span>
|
||||
<select aria-label="เลือกสถานี">
|
||||
<option>บขส.อ่างทอง</option>
|
||||
<option>สถานีขนส่งป่าโมก</option>
|
||||
<option>จุดขึ้นลงรถสองแถว 101 อยุธยา-ป่าโมก-อ่างทอง</option>
|
||||
<option>ตลาดเจ้าพรหม</option>
|
||||
<option>ท่ารถตู้ต่างจังหวัด รังสิต</option>
|
||||
<option>สถานีเดินรถโดยสารขนาดเล็ก (จตุจักร) รถตู้/มินิบัส</option>
|
||||
<option>บขส.ลพบุรี</option>
|
||||
<option>จุดขึ้นรถประจำทางอื่นๆ</option>
|
||||
<option>บขส.สุพรรณบุรี</option>
|
||||
<option>บขส.สระบุรี</option>
|
||||
<option>นะโมซุปเปอร์มาร์ท</option>
|
||||
<option>สายใต้เก่า ปิ่นเกล้า จุดจอดรถตู้</option>
|
||||
<option>บขส.ชัยนาท</option>
|
||||
<option>บขส.999 อ่างทอง สายเอเชีย-เหนือ (ไม่เข้าเมือง)</option>
|
||||
<option>สถานีขนส่งไชโย</option>
|
||||
<option>สถานีขนส่งโพธิ์ทอง</option>
|
||||
<option>สถานีขนส่งแสวงหา</option>
|
||||
<option>สถานีขนส่งวิเศษชัยชาญ</option>
|
||||
<option>สถานีขนส่งสามโก้</option>
|
||||
</select>
|
||||
<span>▾</span>
|
||||
</div>
|
||||
<div class="mu-hero-actions">
|
||||
<a class="mu-pill-link" 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>
|
||||
|
||||
<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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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>
|
||||
|
||||
<section class="mu-summary">
|
||||
<div class="mu-container mu-summary-grid">
|
||||
<article class="mu-stat tag-pink"><h3>14</h3><p>เส้นทางทั้งหมด</p></article>
|
||||
<article class="mu-stat tag-sky"><h3>4</h3><p>หมวดเส้นทาง</p></article>
|
||||
<article class="mu-stat tag-purple"><h3>19</h3><p>สถานี/ป้ายหยุด</p></article>
|
||||
<article class="mu-stat tag-mint"><h3>9</h3><p>จังหวัดที่ครอบคลุม</p></article>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<footer class="mu-site-footer">
|
||||
<div class="mu-container">
|
||||
<div class="mu-footer-grid">
|
||||
<div class="mu-footer-brand">
|
||||
<div class="mu-footer-brand-row">
|
||||
<img src="../images/icons/minibus-512x512.png" alt="AT Transit">
|
||||
<div>
|
||||
<strong>AT Transit</strong>
|
||||
<span>สถานีขนส่งผู้โดยสารจังหวัดอ่างทอง</span>
|
||||
</div>
|
||||
</div>
|
||||
<p class="about">ศูนย์รวมข้อมูลตารางเดินรถ จุดจอด และเส้นทางในจังหวัดอ่างทองและจังหวัดใกล้เคียง อัปเดตข้อมูลล่าสุดจากผู้ประกอบการแต่ละสายโดยตรง</p>
|
||||
</div>
|
||||
<div class="mu-footer-col">
|
||||
<h4>เมนู</h4>
|
||||
<ul>
|
||||
<li><a href="./index.html">หน้าแรก</a></li>
|
||||
<li><a href="./busStop.html">ค้นหาป้ายหยุดรถ</a></li>
|
||||
<li><a href="./busDetail.html">รายละเอียดสายรถ</a></li>
|
||||
<li><a href="./busDetailExpanded.html">ตารางขยาย</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="mu-footer-col">
|
||||
<h4>สายยอดนิยม</h4>
|
||||
<ul>
|
||||
<li><a href="./busDetail.html?route=101">สาย 101 · อ่างทอง-อยุธยา</a></li>
|
||||
<li><a href="./busDetail.html?route=902">สาย 902 · กรุงเทพ-อ่างทอง</a></li>
|
||||
<li><a href="./busDetail.html?route=15">สาย 15 · สายใน</a></li>
|
||||
<li><a href="./busDetail.html?route=464">สาย 464 · สุพรรณ-สระบุรี</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="mu-footer-col mu-footer-contact">
|
||||
<h4>ติดต่อ</h4>
|
||||
<div class="row"><a href="tel:+66649639025">📞 +66 64 963 9025</a></div>
|
||||
<div class="row"><span>📍 ถนนเทศบาล 1 อ.เมือง อ่างทอง</span></div>
|
||||
<div class="row"><span>🕒 บริการ 04:30 - 21:00 น.</span></div>
|
||||
<div class="row"><a href="#">💬 LINE Official: @attransit</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="mu-footer-sponsors" aria-label="sponsors and partners">
|
||||
<h4>ผู้สนับสนุน & พาร์ทเนอร์</h4>
|
||||
<p class="lead">จองตั๋ว · สั่งของ · เช็กของฝาก ที่ร้านค้าและบริการพันธมิตรของเรา</p>
|
||||
<div class="mu-sponsor-strip">
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="7-Eleven"><img src="../images/partners/7-11.png" alt="7-Eleven" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="Shopee"><img src="../images/partners/shopee.png" alt="Shopee" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="Lazada"><img src="../images/partners/lazada.png" alt="Lazada" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="airasia MOVE"><img src="../images/partners/airasia-move.png" alt="airasia MOVE" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="busonlineticket"><img src="../images/partners/busonlineticket.png" alt="busonlineticket" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="Trip.com"><img src="../images/partners/trip.jpg" alt="Trip.com" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="truck2hand"><img src="../images/partners/truck2hand.png" alt="truck2hand" loading="lazy" decoding="async"></a>
|
||||
<a class="mu-sponsor-tile" href="#" aria-label="ทีซีแอล 999 อ่างทอง"><img src="../images/partners/tcl999-angthong.jpg" alt="ทีซีแอล 999 อ่างทอง" loading="lazy" decoding="async"></a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="mu-footer-bottom">
|
||||
<p>© 2026 AT Transit <span class="pill">mockup template</span></p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,196 @@
|
||||
<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>
|
||||
Reference in new issue
Block a user