- 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
25 lines
351 B
Plaintext
25 lines
351 B
Plaintext
.env
|
|
.github/
|
|
node_modules/
|
|
dist/
|
|
*.log
|
|
.vscode/
|
|
.DS_Store
|
|
.idea/
|
|
.venv/
|
|
script/images
|
|
|
|
*.png
|
|
*.jpg
|
|
*.jpeg
|
|
*.sql
|
|
!backend/migrations/*.sql
|
|
*.vps
|
|
|
|
# UI assets พอร์ตมาจาก web-at-transit-mock (ยกเว้นกฎ *.png/*.jpg ด้านบน)
|
|
!frontend/public/image/**
|
|
!frontend/public/content/**
|
|
|
|
# local agent cache
|
|
.hermes/
|