feat(ui): port route/stop/check pages to match mock + tidy layout

Route detail:
- breadcrumb + route-select dropdown (เปลี่ยนสายในหน้าเดียว)
- vehicle card (รถ + caption + QR + ติดต่อโทร/LINE รวมการ์ดเดียว)
- summary เพิ่ม 'รอบถัดไป' (คำนวณจาก schedules)
- km list (จุดจอดตามเส้นทาง กม.)

Stop detail:
- stop-hero (title/meta pills/metric grid 4 + live clock เที่ยวถัดไป)
- route expander (สายที่ผ่าน + เวลาต่อสาย) + map aside + chips
- breadcrumb

Stop list:
- search form จริง (server-side ?q=) + breadcrumb
- fix TYPE_LABEL/TONE/ICON ให้ตรง station_type จริง (main_terminal/local_stop/market/private_stop)

Check page (ใหม่ /check): เช็กเวลาเดินรถ + selector + 4 สถิติ + ตารางทุกจุดจอด
Header CTA -> /check

Assets: caption<id>.json + qrcode/* จาก mock (lib/captions.ts)
This commit is contained in:
phattaranun.a committed 2026-10-10 20:08:42 +07:00
1 parent b022a85178
commit 0c3936df69
24 files changed
+1084 -303

No files matched your search

@@ -0,0 +1,8 @@
{
"route_id": "2194",
"vehicle_image": "car.jpg",
"qr_image": "",
"vehicle_title": "รถสองแถวประจำเส้นทาง",
"vehicle_desc": "รถสองแถวเช้ามืดและเย็น ผ่านอ่างทองแค่สามแยกข้ามสะพานโผงเผงและวัดถนน",
"line_note": ""
}