Commit Graph
6 Commits
Author SHA1 Message Date
phattaranun.a b022a85178 feat(ui): province→station selector, filter, share, visitor, lang, nav+pages
- HomeClient (client): จังหวัด→สถานี cascade selector (default อ่างทอง),
  กรองเส้นทางตามจังหวัด/สถานี, โชว์โซนว่างเป็น N/A card, ปุ่มแชร์ลิงก์สั้น
- page.tsx: fetch provinces/stops/routeStops + searchParams (p/s) for share link
- Header: nav 6 เมนู + สลับภาษา ไทย/EN (localStorage)
- Footer: ตัวนับผู้เข้าชม (visitsSummary) + เมนู 6 รายการ
- หน้าใหม่ /about /blog /credits (เนื้อหา+รูปจาก mock about-data/blog-data)
- globals.css: selector/share/empty-card/about/blog/credit styles
2026-10-10 19:38:32 +07:00
phattaranun.a 490e6c7d71 feat(ui): sync data from mock + port legend/next-trip/route map
Data:
- sync DB (routes/stations/route_stops/route_provinces/schedules) from
  web-at-transit-mock/resource/data: route 999 -> bangkok group, 1011 name,
  15 stations w/ coordinates, 33 schedules; drop stale stations
- add geojson-web route polylines (frontend/public/data) + lib/geojson.ts;
  route detail now draws the real route path

UI:
- home: legend (คำอธิบายสีการ์ด) + next-trip chip (เที่ยวถัดไป HH:MM /
  ดูตาราง / ยังไม่มีตาราง) computed from schedules
- route detail: drop the debug 'เมตาดาตา' JSON dump + empty ภาพประกอบ
- globals.css: legend styles
2026-10-10 19:00:54 +07:00
phattaranun.a 9ba7113017 feat(ui): port design UI + static assets from web-at-transit-mock
- copy .image assets to frontend/public/images (logo, hero map,
  partner logos, route/stop photos, qrcode, landmarks)
- add K2D fonts (offline local woff2) in frontend/public/fonts
- add Lucide icon components (Icons.tsx); replace all emoji icons
- add lib/images.ts static asset resolver (route/stop/partner/logo)
- header/footer/home: minibus logo, hero map bg, partner marquee
- route detail: design car/hero photo; stop detail: design stop photo
- .gitignore: un-ignore frontend/public/images + app icons so the
  frontend Docker build ships the assets
2026-10-10 16:32:03 +07:00
phattaranun.a ee05890661 feat: implement file retrieval API endpoint 2026-05-25 01:21:11 +07:00
phattaranun.a 3238747462 refactor: remove unused storage environment variables and update file destination in rewrites 2026-05-25 00:56:05 +07:00
phattaranun.a 2a1854ab08 first commit 2026-05-24 22:55:17 +07:00