- 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.
30 lines
1.4 KiB
HTML
30 lines
1.4 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 - Expanded Route Redirect 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="">
|
|
|
|
<div class="redirect-demo">
|
|
<div class="redirect-demo__card">
|
|
<span class="redirect-demo__code">/routes/[routeId]/expanded</span>
|
|
<h1>Expanded Route Page</h1>
|
|
<p class="muted">ใน source จริง หน้า <code>src/app/routes/[routeId]/expanded/page.tsx</code> ทำหน้าที่ redirect ไปยัง <code>/routes/[routeId]</code></p>
|
|
<div class="kv-grid">
|
|
<div class="kv-card"><small>ตัวอย่าง routeId</small><strong>101</strong></div>
|
|
<div class="kv-card"><small>Redirect target</small><strong>route-detail-101.html</strong></div>
|
|
<div class="kv-card"><small>Behavior</small><strong>server-side redirect</strong></div>
|
|
</div>
|
|
<p style="margin-top:22px"><a class="pill-link pill-link--primary" href="route-detail-101.html">เปิดหน้าเป้าหมาย</a></p>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|