- 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
58 lines
2.1 KiB
JSON
58 lines
2.1 KiB
JSON
{
|
|
"name": "Atroute — สถานีขนส่งผู้โดยสารจังหวัดอ่างทอง",
|
|
"short_name": "Atroute",
|
|
"description": "ค้นหาเส้นทาง ตารางเดินรถ และจุดจอดในจังหวัดอ่างทองและจังหวัดใกล้เคียง",
|
|
"lang": "th",
|
|
"dir": "ltr",
|
|
"start_url": "/",
|
|
"scope": "/",
|
|
"display": "standalone",
|
|
"orientation": "any",
|
|
"background_color": "#fcfbff",
|
|
"theme_color": "#7a4cc0",
|
|
"categories": ["travel", "navigation", "transportation"],
|
|
"shortcuts": [
|
|
{
|
|
"name": "เช็กเวลาเดินรถ",
|
|
"short_name": "เช็กเวลา",
|
|
"description": "ดูตารางเวลาเดินรถทุกจุดจอด",
|
|
"url": "/check",
|
|
"icons": [{ "src": "/image/icons/minibus-192x192.png", "sizes": "192x192", "type": "image/png" }]
|
|
},
|
|
{
|
|
"name": "ป้ายหยุดรถ",
|
|
"short_name": "ป้ายหยุดรถ",
|
|
"description": "ค้นหาป้ายหยุดรถทั้งหมด",
|
|
"url": "/stops",
|
|
"icons": [{ "src": "/image/icons/minibus-192x192.png", "sizes": "192x192", "type": "image/png" }]
|
|
},
|
|
{
|
|
"name": "รายละเอียดสายรถ",
|
|
"short_name": "สายรถ",
|
|
"description": "ดูรายละเอียดเส้นทางเดินรถ",
|
|
"url": "/routes",
|
|
"icons": [{ "src": "/image/icons/minibus-192x192.png", "sizes": "192x192", "type": "image/png" }]
|
|
}
|
|
],
|
|
"icons": [
|
|
{
|
|
"src": "/image/icons/minibus-192x192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "/image/icons/minibus-512x512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "/image/icons/minibus-maskable-512x512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "maskable"
|
|
}
|
|
]
|
|
}
|