- Add box-sizing: border-box and img/svg/video max-width:100% reset
- Add min-width:0 to grid/flex children so they can shrink (hero panel,
layout grid, metric grid)
- Allow long text to wrap (mock-state query strings, long stop names)
- Topbar: hide CTA button until 1024px, hide brand subtitle until 768px,
and wrap the bar onto two lines under 360px so nav is never cut off
Verified with headless Chrome at 320/375/414/640/768/1024/1280/1600px:
zero horizontal overflow on all 7 routes.
.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/.
- Rename resource/images/ to .resource/ (dot-prefixed, gitignored, never pushed)
- Repackage resource/images.zip to contain .resource/ at the archive root
- Update setup.sh to extract the zip to .resource/
- Update all image references from ../resource/images/ to ../.resource/
across ui HTML, manifest.json and sw.js
- Sync .gitignore, README.md and AGENTS.md with the new layout
- Single-page shell (ui/index.html) + vanilla hash router; each screen is a partial
- New #/check schedule view (all stop times open, no collapse) wired to the
'check schedules' CTA; contact-operator box, route map and gallery trimmed from it
- Mobile-first responsive.css (375px iPhone 8 up to 27-inch/1440p)
- TH/EN i18n system (data-i18n, browser-language detect, topbar switcher)
- Shared form controls moved to _shared.css (mu-btn, custom select chevron,
focus-visible ring); footer contact column now mailto:[email protected]
- SW v9: JS network-first, precache i18n.js + all partials
- Legacy pages become redirect stubs to index.html#/...
- Created index_backup.html with complete layout and styling for the homepage.
- Added home.html partial for the hero section, including province and station selectors.
- Implemented responsive design elements and navigation for bus routes.
- Included sponsor section with partner logos in a marquee format.