- 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
33 lines
932 B
JSON
33 lines
932 B
JSON
{
|
|
"route_groups": [
|
|
{
|
|
"route_group": "municipal",
|
|
"route_group_id": 1,
|
|
"route_group_label": "หมวดเส้นทางภายในเทศบาล",
|
|
"display_order": 1,
|
|
"is_active": true
|
|
},
|
|
{
|
|
"route_group": "bangkok",
|
|
"route_group_id": 2,
|
|
"route_group_label": "หมวดเส้นทางเข้ากรุงเทพฯ",
|
|
"display_order": 2,
|
|
"is_active": true
|
|
},
|
|
{
|
|
"route_group": "interprovincial",
|
|
"route_group_id": 3,
|
|
"route_group_label": "หมวดเส้นทางระหว่างจังหวัด",
|
|
"display_order": 3,
|
|
"is_active": true
|
|
},
|
|
{
|
|
"route_group": "in_province",
|
|
"route_group_id": 4,
|
|
"route_group_label": "หมวดเส้นทางภายในจังหวัด",
|
|
"display_order": 4,
|
|
"is_active": true
|
|
}
|
|
]
|
|
}
|