Commit Graph
3 Commits
Author SHA1 Message Date
Bkk1234 c879cb1010 affiliates: sync with mock (thpostmart + pantip mall)
The served copy (frontend/public/resource/data/affiliates.json) was missing the
last two partners, so the footer marquee had 8 tiles instead of 10. Copied the
mock file byte-for-byte; served JSON now diffs clean against
web-at-transit-mock/resource/data/affiliates.json.

Tile images live under the git-ignored public/image tree and were copied to the
server separately · marquee 10 tiles, 0 broken images · VERSION 2026.10.24.8
2026-11-04 21:35:29 +07:00
Bkk1234 b8ed110459 support English 2026-10-23 17:43:11 +07:00
itmeadmin 138a3d15d8 พอร์ต UI จาก web-at-transit-mock เข้า Next.js + data sync เข้า Postgres/SeaweedFS
- 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
2026-10-23 15:50:00 +07:00