feat: add routes page with filtering and drawer details
- 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.
This commit is contained in:
commit
bc1edb39ef
69 files changed
+3670
No files matched your search
@@ -0,0 +1,67 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="th">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>AT Transit Showcase</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="showcase">
|
||||
|
||||
<div class="showcase-shell">
|
||||
<main class="showcase-main">
|
||||
<section class="hero" style="border-radius: 32px; margin-bottom: 28px;">
|
||||
<div class="hero__blob one"></div>
|
||||
<div class="hero__blob two"></div>
|
||||
<div class="hero__blob three"></div>
|
||||
<div class="hero__inner container">
|
||||
<span class="hero__badge">🗂️ Static HTML Showcase</span>
|
||||
<h1>รวมหน้าเว็บตัวอย่างทั้งหมดของ <span class="hero__grad">AT Transit Frontend</span></h1>
|
||||
<p class="hero__lead">Bundle นี้สรุป routes/page files จากโปรเจกต์ Next.js แล้วแปลงเป็น static HTML ที่เปิดดูได้ทันทีในโฟลเดอร์เดียว</p>
|
||||
<div class="hero__actions">
|
||||
<a class="pill-link pill-link--primary" href="home.html">เปิดหน้า Home</a>
|
||||
<a class="pill-link pill-link--secondary" href="routes.html">เปิดหน้า Routes</a>
|
||||
<a class="pill-link pill-link--accent" href="stops.html">เปิดหน้า Stops</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="showcase-grid">
|
||||
<article class="showcase-card">
|
||||
<div class="showcase-card__head"><div><h2>Home page</h2><div class="showcase-card__meta">src/app/page.tsx</div></div><span class="chip purple">/</span></div>
|
||||
<div class="showcase-card__actions"><a href="home.html">Open full page</a></div>
|
||||
<iframe class="showcase-frame" src="home.html" title="Home preview"></iframe>
|
||||
</article>
|
||||
<article class="showcase-card">
|
||||
<div class="showcase-card__head"><div><h2>Routes listing</h2><div class="showcase-card__meta">src/app/routes/page.tsx</div></div><span class="chip sky">/routes</span></div>
|
||||
<div class="showcase-card__actions"><a href="routes.html">Open full page</a></div>
|
||||
<iframe class="showcase-frame" src="routes.html" title="Routes preview"></iframe>
|
||||
</article>
|
||||
<article class="showcase-card">
|
||||
<div class="showcase-card__head"><div><h2>Route detail</h2><div class="showcase-card__meta">src/app/routes/[routeId]/page.tsx</div></div><span class="chip pink">/routes/101</span></div>
|
||||
<div class="showcase-card__actions"><a href="route-detail-101.html">Open full page</a></div>
|
||||
<iframe class="showcase-frame" src="route-detail-101.html" title="Route detail preview"></iframe>
|
||||
</article>
|
||||
<article class="showcase-card">
|
||||
<div class="showcase-card__head"><div><h2>Stops listing</h2><div class="showcase-card__meta">src/app/stops/page.tsx</div></div><span class="chip mint">/stops</span></div>
|
||||
<div class="showcase-card__actions"><a href="stops.html">Open full page</a></div>
|
||||
<iframe class="showcase-frame" src="stops.html" title="Stops preview"></iframe>
|
||||
</article>
|
||||
<article class="showcase-card">
|
||||
<div class="showcase-card__head"><div><h2>Stop detail</h2><div class="showcase-card__meta">src/app/stops/details/page.tsx</div></div><span class="chip amber">/stops/details?code=AT001</span></div>
|
||||
<div class="showcase-card__actions"><a href="stop-detail-at001.html">Open full page</a></div>
|
||||
<iframe class="showcase-frame" src="stop-detail-at001.html" title="Stop detail preview"></iframe>
|
||||
</article>
|
||||
<article class="showcase-card">
|
||||
<div class="showcase-card__head"><div><h2>Redirect pages</h2><div class="showcase-card__meta">expanded / stop redirect behavior</div></div><span class="chip sky">redirect</span></div>
|
||||
<div class="showcase-card__actions"><a href="route-expanded.html">Route expanded</a><a href="stop-redirect-at001.html">Stop redirect</a></div>
|
||||
<iframe class="showcase-frame" src="route-expanded.html" title="Redirect preview"></iframe>
|
||||
</article>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user