- 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
156 lines
4.1 KiB
JSON
156 lines
4.1 KiB
JSON
{
|
|
"other_stop": [
|
|
{
|
|
"route_id": "2231",
|
|
"station_name_th": "วัดมหานาม",
|
|
"city_th": "ไชโย",
|
|
"province_th": "อ่างทอง",
|
|
"station_type": "local_stop",
|
|
"latitude": 14.712584910077634,
|
|
"longitude": 100.44760308824014
|
|
},
|
|
{
|
|
"route_id": "324",
|
|
"station_name_th": "วัดไชโย",
|
|
"city_th": "ไชโย",
|
|
"province_th": "อ่างทอง",
|
|
"station_type": "local_stop",
|
|
"note": "จริงๆรถต้องวิ่งถึงวัดพิกุลแต่ลุงบอกว่าวิ่งแค่วัดไขโย",
|
|
"latitude": 14.717479991438898,
|
|
"longitude": 100.43705964220595
|
|
},
|
|
{
|
|
"route_id": "951",
|
|
"station_name_th": [
|
|
"ตลาดวิเศษชัยชาญ",
|
|
"ตลาดอ่างทอง"
|
|
],
|
|
"city_th": "เดิมบางนางบวช",
|
|
"province_th": "สุพรรณบุรี",
|
|
"station_type": "local_stop",
|
|
"latitude": [
|
|
14.597539758809786,
|
|
14.593647962599608
|
|
],
|
|
"longitude": [
|
|
100.35278002613065,
|
|
100.45092564287958
|
|
]
|
|
},
|
|
{
|
|
"route_id": "954",
|
|
"station_name_th": [
|
|
"ตลาดท่าช้าง",
|
|
"ตลาดสามโก้",
|
|
"ตลาดวิเศษชัยชาญ",
|
|
"ตลาดอ่างทอง"
|
|
],
|
|
"city_th": "เดิมบางนางบวช",
|
|
"province_th": "สุพรรณบุรี",
|
|
"station_type": "local_stop",
|
|
"latitude": [
|
|
14.642589723339519,
|
|
14.605201653648821,
|
|
14.597539758809786,
|
|
14.593647962599608
|
|
],
|
|
"longitude": [
|
|
100.14899973132988,
|
|
100.24275649657521,
|
|
100.35278002613065,
|
|
100.45092564287958
|
|
],
|
|
"offsets_min": [
|
|
0,
|
|
45,
|
|
60,
|
|
null
|
|
]
|
|
},
|
|
{
|
|
"route_id": "8",
|
|
"station_name_th": [
|
|
"ตลาดสรรคบุรี",
|
|
"ตลาดแสวงหา",
|
|
"ตลาดสดเทศบาลตำบลโพธิ์ทอง"
|
|
],
|
|
"city_th": "สรรคบุรี",
|
|
"province_th": "ชัยนาท",
|
|
"station_type": "local_stop",
|
|
"latitude": [
|
|
15.046181529690447,
|
|
14.749622456669288,
|
|
14.661318107670693
|
|
],
|
|
"longitude": [
|
|
100.15958536582698,
|
|
100.32660174886443,
|
|
100.40858605122014
|
|
]
|
|
},
|
|
{
|
|
"route_id": "2194",
|
|
"station_name_th": [
|
|
"วัดหัวเวียง",
|
|
"วัดถนน"
|
|
],
|
|
"city_th": [
|
|
"เสนา",
|
|
"ป่าโมก"
|
|
],
|
|
"province_th": [
|
|
"อยุธยา",
|
|
"อ่างทอง"
|
|
],
|
|
"station_type": "local_stop",
|
|
"latitude": [
|
|
14.368659201047619,
|
|
14.44214017212655
|
|
],
|
|
"longitude": [
|
|
100.41580160519578,
|
|
100.46123794436457
|
|
],
|
|
"offsets_min": [
|
|
0,
|
|
30
|
|
]
|
|
},
|
|
{
|
|
"route_id": "1011",
|
|
"station_name_th": [
|
|
"วัดสีบัวทอง",
|
|
"ตลาดแสวงหา",
|
|
"ตลาดสดเทศบาลตำบลโพธิ์ทอง"
|
|
],
|
|
"city_th": "แสวงหา",
|
|
"province_th": "อ่างทอง",
|
|
"station_type": "local_stop",
|
|
"latitude": [
|
|
14.787802367428677,
|
|
14.749622456669288,
|
|
14.661318107670693
|
|
],
|
|
"longitude": [
|
|
100.23218786664407,
|
|
100.32660174886443,
|
|
100.40858605122014
|
|
],
|
|
"offsets_min": [
|
|
0,
|
|
25,
|
|
55
|
|
]
|
|
},
|
|
{
|
|
"route_id": "641",
|
|
"station_name_th": "7-11 บ้านแพรก",
|
|
"city_th": "บ้านแพรก",
|
|
"province_th": "อยุธยา",
|
|
"station_type": "local_stop",
|
|
"latitude": 14.648426896998021,
|
|
"longitude": 100.57918677073818
|
|
}
|
|
]
|
|
}
|