- Implemented a new routes page with search and category filtering. - Added a drawer component to display detailed information about selected routes. - Created a CSS file for styling the routes page and its components. - Introduced a Python script to upload seed images to SeaweedFS and generate SQL insert statements for the images table.
139 lines
7.0 KiB
HTML
139 lines
7.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="th">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>AT Transit - Home Preview</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<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 rel="stylesheet" href="assets/styles.css" />
|
|
</head>
|
|
<body class="">
|
|
|
|
|
|
<header class="topbar">
|
|
<div class="topbar__inner">
|
|
<a href="home.html" class="brand">
|
|
<img src="assets/logo.svg" alt="AT Transit" width="44" height="44" class="brand__logo" />
|
|
<div>
|
|
<p class="brand__title">AT Transit</p>
|
|
<p class="brand__subtitle">สถานีขนส่งผู้โดยสารจังหวัดอ่างทอง</p>
|
|
</div>
|
|
</a>
|
|
<nav class="nav" aria-label="เมนูหลัก"><a href="home.html" class="active">หน้าแรก</a><a href="stops.html" class="">ป้ายหยุดรถ</a><a href="routes.html" class="">รายละเอียดสายรถ</a></nav>
|
|
<a href="routes.html" class="cta-pill">เช็กเวลาเดินรถ</a>
|
|
</div>
|
|
</header>
|
|
|
|
<section class="hero">
|
|
<div class="hero__blob one" aria-hidden></div>
|
|
<div class="hero__blob two" aria-hidden></div>
|
|
<div class="hero__blob three" aria-hidden></div>
|
|
<div class="container hero__inner">
|
|
<span class="hero__badge">✨ ยินดีต้อนรับ</span>
|
|
<h1>
|
|
สถานีขนส่งผู้โดยสารภายใน<br />
|
|
<span class="hero__grad">จังหวัดอ่างทอง</span>
|
|
</h1>
|
|
<p class="hero__lead">
|
|
หน้า mockup นี้อิงจาก <code>src/app/page.tsx</code> เพื่อใช้ preview หน้า Home โดยไม่ต้องรัน Next.js หรือ backend
|
|
</p>
|
|
<div class="hero__actions">
|
|
<a class="pill-link pill-link--primary" href="routes.html">ดูรายละเอียดสายรถ</a>
|
|
<a class="pill-link pill-link--secondary" href="stops.html">ค้นหาป้ายหยุดรถ</a>
|
|
<a class="pill-link pill-link--accent" href="route-detail-101.html">ดูตัวอย่างสายรถ</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<main class="main">
|
|
<div class="container">
|
|
<section class="zone">
|
|
<div class="zone__head">
|
|
<span class="zone__tag sky">กรุงเทพมหานคร</span>
|
|
<p class="zone__desc">เส้นทางเชื่อมต่อกรุงเทพมหานคร · 2 เส้นทาง</p>
|
|
</div>
|
|
<div class="grid">
|
|
<a href="route-detail-101.html" class="card">
|
|
<div class="card__head sky"><p class="card__num">101</p></div>
|
|
<div class="card__body"><p class="card__name">อ่างทอง → อยุธยา</p><span class="chip purple">✅ ดูตาราง</span></div>
|
|
</a>
|
|
<a href="route-detail-101.html" class="card">
|
|
<div class="card__head sky"><p class="card__num">902</p></div>
|
|
<div class="card__body"><p class="card__name">อ่างทอง → กรุงเทพฯ (ปิ่นเกล้า)</p><span class="chip sky">✅ ดูตาราง</span></div>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
<section class="zone">
|
|
<div class="zone__head">
|
|
<span class="zone__tag purple">เชื่อมต่อจังหวัดใกล้เคียง</span>
|
|
<p class="zone__desc">เส้นทางเชื่อมต่อจังหวัดใกล้เคียง · 3 เส้นทาง</p>
|
|
</div>
|
|
<div class="grid">
|
|
<a href="route-detail-101.html" class="card">
|
|
<div class="card__head purple"><p class="card__num">464</p></div>
|
|
<div class="card__body"><p class="card__name">สุพรรณบุรี → สระบุรี</p><span class="chip pink">✅ ดูตาราง</span></div>
|
|
</a>
|
|
<a href="route-detail-101.html" class="card">
|
|
<div class="card__head purple"><p class="card__num">217</p></div>
|
|
<div class="card__body"><p class="card__name">วิเศษชัยชาญ → ลพบุรี</p><span class="chip mint">✅ ดูตาราง</span></div>
|
|
</a>
|
|
<a href="route-detail-101.html" class="card">
|
|
<div class="card__head purple"><p class="card__num">307</p></div>
|
|
<div class="card__body"><p class="card__name">อ่างทอง → สิงห์บุรี</p><span class="chip purple">✅ ดูตาราง</span></div>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</main>
|
|
|
|
<footer class="footer">
|
|
<div class="container">
|
|
<div class="footer__grid">
|
|
<div class="footer__brand">
|
|
<div class="footer__brand-row">
|
|
<img src="assets/logo.svg" alt="AT Transit" width="48" height="48" />
|
|
<div>
|
|
<strong>AT Transit</strong>
|
|
<span>สถานีขนส่งผู้โดยสารจังหวัดอ่างทอง</span>
|
|
</div>
|
|
</div>
|
|
<p>
|
|
ศูนย์รวมข้อมูลตารางเดินรถ จุดจอด และเส้นทางในจังหวัดอ่างทองและจังหวัดใกล้เคียง
|
|
พร้อม mock data สำหรับ preview งานออกแบบหน้าเว็บแบบ static HTML
|
|
</p>
|
|
</div>
|
|
<div class="footer__col">
|
|
<h4>เมนู</h4>
|
|
<ul>
|
|
<li><a href="home.html">หน้าแรก</a></li>
|
|
<li><a href="stops.html">ค้นหาป้ายหยุดรถ</a></li>
|
|
<li><a href="routes.html">รายละเอียดสายรถ</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="footer__col">
|
|
<h4>หน้าตัวอย่าง</h4>
|
|
<ul>
|
|
<li><a href="route-detail-101.html">Route detail /routes/[routeId]</a></li>
|
|
<li><a href="stop-detail-at001.html">Stop detail /stops/details</a></li>
|
|
<li><a href="route-expanded.html">Expanded route redirect</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="footer__col footer__contact">
|
|
<h4>หมายเหตุ</h4>
|
|
<div class="row"><span>🧪 ใช้ mock data เพื่อ preview layout</span></div>
|
|
<div class="row"><span>🗂️ แยกเป็นไฟล์ HTML เปิดได้ทันที</span></div>
|
|
<div class="row"><span>🎨 อิง class/style จาก frontend จริง</span></div>
|
|
<div class="row"><a href="index.html">📋 กลับหน้า showcase</a></div>
|
|
</div>
|
|
</div>
|
|
<div class="footer__bottom">
|
|
<p>© 2026 AT Transit <span class="pill">static preview bundle</span></p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
|
|
</body>
|
|
</html>
|