- 8 หน้า (home/stops/routes/stop/check/blog/about/credits) แปลง partials → React component ตรง mock
- ตรรกะพอร์ตเป็น src/lib/ui/*.ts (mount()) + runtime/PageRuntime
- CSS: base + pages/*.css import ต่อ route (คงลำดับ cascade ของ mock)
- asset/content: public/{image,resource/data,content,locales,vendor}
- แก้ path รูปไทล์พาร์ทเนอร์ (.image → /image) + fallback absolute
- ลบ UI เดิมที่ไม่ตรง mock (expanded/stops details/old components/globals.css)
- script/sync_data_to_postgres.mjs + sync_images_to_storage.mjs (dry-run/--apply, backup)
- docs/UI-PORT.md + DESIGN.md + README
39 lines
670 B
JSON
39 lines
670 B
JSON
{
|
|
"schema": 2,
|
|
"route_id": "2231",
|
|
|
|
"updated": "2026-10-04",
|
|
"generated_from": "schedules.json",
|
|
"station_order": [
|
|
8,
|
|
1
|
|
],
|
|
"directions": [
|
|
{
|
|
"direction_id": "from-1",
|
|
"direction_label": null,
|
|
"stops": [
|
|
{
|
|
"station_id": 1,
|
|
"times": [
|
|
"16:00"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"direction_id": "dir-1",
|
|
"direction_label": "จากวัดมหานาม",
|
|
"stops": [
|
|
{
|
|
"station_id": 8,
|
|
"times": [
|
|
"08:00"
|
|
],
|
|
"direction_note": "จากวัดมหานาม"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|