From 82aafdc61f12c9c17ad614a0b0eb726069a493e4 Mon Sep 17 00:00:00 2001 From: "phattaranun.a" Date: Sat, 12 Sep 2026 12:40:29 +0700 Subject: [PATCH] Rename hidden image folder .resource/ to .image/ .resource/ clashed with resource/ (the tracked data folder), so rename the hidden image folder to .image/ for clarity. Re-zip resource/images.zip to contain .image/ and update setup.sh, .gitignore, README.md, AGENTS.md and all image references in ui/. --- .gitignore | 4 ++-- AGENTS.md | 8 ++++---- README.md | 16 +++++++-------- resource/images.zip | Bin 31999634 -> 31999136 bytes setup.sh | 10 +++++----- ui/index.html | 8 ++++---- ui/manifest.json | 6 +++--- ui/partials/busDetail.html | 28 +++++++++++++-------------- ui/partials/busDetailExpanded.html | 14 +++++++------- ui/partials/busStop.html | 30 ++++++++++++++--------------- ui/partials/checkSchedule.html | 2 +- ui/partials/credits.html | 6 +++--- ui/partials/home.html | 18 ++++++++--------- ui/partials/stopDetail.html | 10 +++++----- ui/sw.js | 2 +- 15 files changed, 81 insertions(+), 81 deletions(-) diff --git a/.gitignore b/.gitignore index e1336df..56e35ac 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -# รูปทั้งหมดอยู่ใน .resource/ (hidden) — ไม่ commit (แจกผ่าน resource/images.zip) -.resource/ +# รูปทั้งหมดอยู่ใน .image/ (hidden) — ไม่ commit (แจกผ่าน resource/images.zip) +.image/ # ไฟล์ขยะ macOS .DS_Store diff --git a/AGENTS.md b/AGENTS.md index bc4451b..8debda5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -37,7 +37,7 @@ web-at-transit-mock/ │ ├── data/ ข้อมูล mock: routes.json, schedules.json, stations.json, │ │ provinces.json, route_groups.json │ └── images.zip ← รูปทั้งหมดบีบรวม (แตกด้วย setup.sh) -└── .resource/ ← รูปทั้งหมด (hidden — เกิดหลังรัน setup.sh, ไม่ commit) +└── .image/ ← รูปทั้งหมด (hidden — เกิดหลังรัน setup.sh, ไม่ commit) ``` **ทุกหน้าเป็น hash URL** (`#/stops`, `#/routes/101`, `#/stops/at_main_terminal`) — @@ -65,17 +65,17 @@ python -m http.server 8090 # เปิด http://localhost:8090/ui/index. (ยกเว้นสไตล์เฉพาะหน้าที่จำเป็นจริง ๆ ให้อยู่ใน `