Commit Graph
44 Commits
Author SHA1 Message Date
Bkk1234 0aea027fe2 dark: make dropdowns readable (select options + pop menus)
- theme.css: colour-scheme per theme for select/input/textarea and explicit
  option/optgroup colours (native popup was rendering light text on white in
  dark mode); :checked uses the purple tint
- _shared.css: token fallbacks on .mu-pop-* so the theme/language menus stay
  readable if tokens fail to load
- VERSION 2026.10.24.7
2026-11-04 02:24:36 +07:00
Bkk1234 347ab56546 release: bump to 2026.10.24.6 (check-page share gutter fix) 2026-11-04 02:08:17 +07:00
Bkk1234 187da921f1 check page: align share button with the page gutter
The share row sat outside .mu-container, so its right edge was 15px from the
viewport while routes/stops pages sit at 43px. Wrapped it in .mu-container —
measured rightGap 43 on /check, same as /routes/:id and /stops/:code.
2026-11-04 02:05:50 +07:00
Bkk1234 29b126b188 theme & language: device-following auto theme, Thai default, dropdown sync
- ThemeSwitch: auto now follows the device (prefers-color-scheme) with a live
  matchMedia listener instead of a 06:00-18:00 clock rule; labels become
  'ตามอุปกรณ์ / Device'; auto icon is a monitor
- layout.tsx pre-paint script resolved with matchMedia (no theme flash)
- i18n: default language is Thai (no navigator guess) in lib/ui/i18n.ts;
  new 'i18nready' event so LangSwitch syncs its label after runtime boot
  (button previously stuck on ไทย when the page loaded in English)
- VERSION 2026.10.24.5
2026-11-04 01:17:39 +07:00
Bkk1234 4b5a4d33d3 sync from mock: motion, privacy-first search stats, auto-update UX
- frontend/src/lib/ui/motion.ts + components/MotionBoot.tsx: page-enter and
  scroll reveal per pathname change (ported from mock motion.js); IntersectionObserver
  plus sweep fallback for jump-scroll/hidden tabs, maps never transformed
- frontend/src/lib/ui/analytics.ts: cookie-less local-first search analytics
  (localStorage at_stats_v1, DNT/GPC + opt-out, term sanitiser, 900ms debounce,
  caps 300 terms / 200 views / 120 days); optional Umami endpoint via AT_ANALYTICS
- /stats page (StatsView + styles/pages/stats.css): KPIs, 14-day chart, top terms,
  top route/stop pages, no-result terms, JSON export, clear, opt-out
- hooks: stops search apply(), stop detail route filter
- remove footer visitor counter (lib/ui/visitors.ts, .mu-visitor/.mu-vreset, i18n keys)
- remove floating install-app button; PwaBoot keeps SW + guarded version toast
  (sessionStorage guard, silent reload when tab hidden)
- i18n th/en: nav.stats, update.applying, stats.* (public + src/data locales)
- version.json + sw VERSION -> 2026.10.24.3; docs/UI-PORT.md section for this round
2026-11-04 00:53:37 +07:00
Bkk1234 c0b70ff845 migrate revised about/blog content from the mock
Copied the five edited content files from
web-at-transit-mock/ui/partials/{about-data,blog-data} into
public/content/{about-data,blog-data}; byte-identical (sha256 verified).

Files: about-data text2/text3/text4, blog-data text5/text7.
The Next port reads /content/about-data/ and /content/blog-data/ at runtime,
so no code change was needed.

Verified in the browser at /about and /blog/5 in Thai and English - the new
copy renders and matches the mock's body text exactly.
2026-10-24 13:51:11 +07:00
Bkk1234 50a7647f89 add themes 2026-10-24 01:00:37 +07:00
Bkk1234 c1cb69b35a sync with web-at-transit-mock: import the 85 locale keys it already had
The mock carried aria.* and other keys the Next port never received, so
Thai/English coverage was 269 keys here against 354 there. Imported all
missing keys from the mock; both locales now match key for key.

Placeholder numbering and aria labels now come from the same source as the
mock.
2026-10-24 00:53:13 +07:00
Bkk1234 55fbd397fc stops: white search panel, drop the search button, purple reset
- .mu-toolbar background: purple gradient -> var(--c-surface) white
- removed #stops-search-btn (filtering already runs live while typing; the
  existing JS guarded on the element existing, so nothing else changes)
- #stops-reset-btn ghost -> primary so it renders in brand purple

Verified on both ports at 1280px light theme: toolbar rgb(255,255,255),
no search button, reset button has the purple gradient, back stays ghost.
2026-10-24 00:46:31 +07:00
Bkk1234 a9847b478c stops: white hero panel with a dark border
.mu-hero-panel used a purple gradient with a light border. Now a plain white
surface with a 1px --c-ink border (which resolves to #1f2a44 in light mode and
to the light ink in dark mode so the outline stays visible).

Matches the mock, which uses #ffffff / #1f2a44.

Measured: light rgb(255,255,255) bg + rgb(31,42,68) border on both ports;
dark keeps a readable outline.
2026-10-24 00:43:48 +07:00
Bkk1234 1b67be36ee stops: fix broken [hidden] rule - each tab shows only its own panel
Root cause of 'the version is new but the old bug is back'. When the on-screen
numpad CSS was removed earlier, a regex dropped the rule body of
'.mu-search-mode[hidden] { display: none; }' but left the selector. CSS then
parsed the following declarations as belonging to that selector:

  .mu-search-mode[hidden],
  .mu-search-field { display: flex; ... }

so every mode panel rendered as flex and none of them could be hidden. The
toolbar measured 341px against the mock's 245px on /stops.

Restored the rule body and added '.mu-stop-grid[hidden] { display:none }'
(grid was overriding hidden too, in both repos).

Measured side by side with :8090/ui/#/stops - code/place/near each show only
their own panel, the stop list hides on the near tab, toolbar height matches
within 2px across all four states.
2026-10-24 00:42:02 +07:00
Bkk1234 18f7a6e34b Serve HTML with no-store so a plain reload picks up a new deploy
Root cause of 'the change never appears': pages are statically prerendered,
so Next replied with Cache-Control: s-maxage=31536000. The browser kept the
old HTML for up to a year, which is why editing sw.js and the footer version
changed nothing for an existing visitor.

next.config now adds, for any request whose Accept includes text/html:
  Cache-Control: private, no-cache, no-store, max-age=0, must-revalidate
Static assets are untouched (hashed files under _next/static keep their
immutable caching).

Bumped version.json and the SW VERSION to 2026.10.24.2.

Verified with curl (Accept: text/html) that /, /stops, /routes, /about and
/credits all return no-store, while images still return public, max-age=0;
and in the browser an ordinary reload returns the three-tab /stops page with
the v2026.10.24.2 footer badge.
2026-10-24 00:34:51 +07:00
Bkk1234 0cf391afba PWA: publish an app version so stale shells are detectable
The service worker version had never moved past 1.0.0 and nothing on the page
said which build was loaded, so an old cached shell looked identical to a
fresh one.

- public/version.json: app, version, builtAt, pwa
- sw.js VERSION -> 2026.10.24.1 (new cache name, old caches dropped on activate)
- next.config: sw.js and version.json are served no-cache, no-store, plus
  Service-Worker-Allowed: / ; ui-manifest.json must-revalidate
- layout: <html data-app-version> read from version.json at build time
- PwaBoot: paints the version into the footer badge, polls /version.json
  (1.5s then every 5 min) and reloads once when it differs; guards against
  reload loops
- footer shows v2026.10.24.1 in mono next to the copyright

Verified: sw.js, /version.json and <html data-app-version> all report
2026.10.24.1, the footer badge shows it, and /stops renders the three search
tabs with the near-me panel in its own tab.
2026-10-24 00:27:23 +07:00
Bkk1234 7652ddaae5 stops: move the near-me result panel inside its own tab panel
The result container had been left outside #stops-near-wrap and an earlier
selout removed the wrong copy, so on /stops the map and ranked stops were
rendered at the bottom of the page instead of inside the third tab, unlike
the mock at :8090/ui/#/stops.

Now the DOM matches the mock exactly: three tabs, three panels, the location
button and its result inside the near panel, and only Search/Clear/Back in
the toolbar.

Compared side by side against :8090/ui/#/stops - tab order, panel visibility,
active state, list visibility on the near tab, geolocation result (map plus
8 ranked stops), button re-enable and repeat press all identical.
2026-10-24 00:20:12 +07:00
Bkk1234 f754cffe58 stops: fit three search tabs on narrow screens, bump SW cache version
The third tab made the Thai labels wrap on 375px. The tab bar now stretches
its children so all three share the same height, uses centred two-line labels
with a 56px minimum, and keeps zero horizontal overflow at 360/375/414px.

sw.js VERSION 1.0.0 -> 1.0.1 so browsers drop the cached shell and pick up
the three-tab markup without a manual cache clear.
2026-10-24 00:14:32 +07:00
Bkk1234 8eb101c5f1 Promote 'near me' to the third search tab, gated on secure context
Searching now has three peer modes on /stops: by stop code, by place name,
and by device location.

- StopsView: third tab (data-mode=near) plus its own panel holding the
  location button, hint and result area; the button no longer sits in the
  toolbar with Search/Reset/Back
- stops.search.ts: setMode handles the near mode, disables the other panels,
  hides the full stop list while the ranked results are shown, and skips
  filtering in that mode
- stops.nearme.ts: applies the security gate - the tab is revealed only when
  window.isSecureContext && navigator.geolocation exist, otherwise it is
  hidden and any active near mode falls back to stop-code search
- i18n: stops.modeNear / nearCta / nearHint (th + en, both copies)

Distance is computed from each stop's own coordinates (busstop_list.json)
against the device position, sorted nearest first.

Verified: secure context shows all three tabs and returns a ranked map;
a forced insecure context hides the tab and refuses the mode.
2026-10-24 00:09:04 +07:00
Bkk1234 e6cef15dc8 Fix 'stops near me' button: it was dead code
stops.nearme.ts exported a default mount() but PageRuntime only invokes
the default export of stops.init; this module was imported for its side
effects and never called, so the button did nothing at all.

- self-bind on import with a dataset.nearBound guard against double binding
- retry up to ~2s while ATMap finishes loading
- map.ts: re-enable the button after a successful lookup (it stayed
  disabled forever, so a second press was impossible)

Verified with geolocation override at 14.5880,100.4530: first press
renders the map plus 8 nearest stops with distances, button re-enables,
second press works, and no duplicated network requests (2 per press).
2026-10-24 00:03:05 +07:00
Bkk1234 70cc81b923 Put the hamburger at the far right of the mobile topbar
Previous order was (menu)(theme)(language). Swapped so the row reads
logo ... (theme)(language)(menu) and the hamburger sits flush against the
right padding edge, which is where the thumb menu is expected.

Measured 360/375/414px: brand starts at 14px, menu ends exactly on the
right padding edge, 8px gaps, no horizontal overflow.
2026-10-23 23:49:51 +07:00
Bkk1234 937336f4cc Fix mobile topbar alignment: logo left, menu and tools right
On <640px the topbar used flex-wrap: wrap with no spacer, so the brand,
the hamburger and the theme/language buttons all piled up on the left.

- flex-wrap: nowrap at mobile
- .mu-menu gets margin-inline-start: auto and order 1, .mu-topbar-tools order 2
- .mu-brand flex: 1 1 auto with min-width: 0

Measured 360/375/414px: brand starts at 14px, tools end flush at the right
padding edge, 8px gaps, no horizontal overflow. 768/1280px unchanged.
2026-10-23 23:43:01 +07:00
Bkk1234 cb4905a12d Declutter navbar: one button per tool (theme, language)
The topbar carried five small buttons in a row (3 theme + 2 language).
Replaced with two single buttons that open their own popover menu:

- ThemeSwitch: single icon button showing the active mode, menu with
  light/dark/auto as menuitemradio
- LangSwitch: new component showing the active code (ไทย / EN), menu
  keeps the existing [data-i18n-switch] mechanism from i18n.ts
- .mu-topbar-tools wrapper, 8px gap (WCAG 2.5.8), 40px buttons / 44px on touch
- popovers close on select, outside click and Escape (focus returns to button)

Also fixed two bugs found on /stops:
- .mu-btn.outline had no CSS rule, so the browser painted a light grey
  background that ignored the dark theme
- deleted the unused StopSearch component which still carried the old
  number pad and its delete key, plus the now-unused stops.padDelete key

Verified at 375px: no horizontal overflow, buttons 40x40 and 59x40,
8px gap; menus open/close correctly in both themes.
2026-10-23 23:37:44 +07:00
Bkk1234 bf42076b52 Align share button and all component scales with DESIGN.md
Share button was themed only in pages/home.css, so /stops, /routes and
/check rendered an unstyled button. Moved to _shared.css and rebuilt as a
ghost variant of .mu-btn:
- radius 12px -> var(--radius) 8px, min-height 44px (48px on touch)
- focus ring #2b2f42 (near-black) -> var(--c-focus)
- LINE link green -> brand purple (DESIGN.md is single-accent)
- hover/active/transition states added

Global scale cleanup (DESIGN.md allows 4px/8px radii only):
- 16 distinct border-radius values -> var(--radius-sm) / var(--radius) / var(--radius-pill)
- 39 distinct font-sizes -> 13-step scale
- outline-offset 1px/2px/3px -> 2px everywhere
- radius and type scale documented in DESIGN.md as enforced tokens

Verified across 4 pages x 2 themes: identical 44x158 button, radius 8px,
contrast 5.80 light / 7.37 dark, no horizontal overflow.
2026-10-23 23:32:37 +07:00
Bkk1234 66d7e235c3 Fix share button: ES module namespace was not extensible
window.AtShare was assigned the module namespace object from
import('./share'), which is frozen. share.init.ts then threw
'Cannot add property refresh, object is not extensible', aborting the
click handler so the share button did nothing on every page.

- runtime.ts: spread the namespace into a plain object
- share.init.ts: expose the updater as window.AtShareRefresh
- home.init.ts / stop.init.ts: call AtShareRefresh
- remove the temporary probe marker from StopView

Verified: /?s=at_main_terminal, /stops/:code?q=, /routes/:id, /check/:id
all produce short links and restore state on load (TH and EN).
2026-10-23 23:26:18 +07:00
Bkk1234 2fa73f43d9 Add SEO foundation: robots, sitemap, JSON-LD, OG/Twitter cards, per-page metadata
- src/lib/site.ts: single source for site name/url/description (rename via env only)
- src/app/robots.ts: allow all, disallow /api /files, explicit Googlebot/Bingbot/DuckDuckBot/Bravebot/Applebot
- src/app/sitemap.ts: static pages + routes/check/stops from backend, falls back to static when API is down
- src/components/JsonLd.tsx: WebSite + Organization + SearchAction, BreadcrumbList, BusStop, Service
- layout.tsx: metadataBase, canonical, keywords, robots, openGraph, twitter
- generateMetadata for /stops/[code], /routes/[routeId], /check/[routeId]
- canonical + description on /stops /routes /blog /about /credits
- public/og-image.png 1200x630
2026-10-23 23:15:06 +07:00
Bkk1234 7ac7bf5878 Add 3-mode theme system (light / dark / auto by device clock) and tokenize colors
- theme.css: semantic tokens (bg, surface, ink, border, brand, tints, status, glass)
- ThemeSwitch.tsx: radiogroup with light/dark/auto, persisted in localStorage
- auto mode follows device time (06:00-18:00 light), rechecks every minute and on visibilitychange
- inline pre-paint script in layout.tsx prevents flash of wrong theme
- remapped ~250 hardcoded hex declarations across styles to tokens
- fixed --c-ink-2 contrast 4.25 -> 5.36 (WCAG AA) in light mode
- 0 contrast failures below 4.5:1 across 8 pages in both themes
- DESIGN.md: documented theme system
2026-10-23 23:01:06 +07:00
Bkk1234 4c444b3d8d Remove the on-screen numpad from the bus stop code search
The five code cells are now the only way to enter a stop code. The numpad
was redundant on touch devices (the cells use inputMode=numeric, so the
system keyboard already switches to digits) and it crowded the 375px
layout.

- StopsView.tsx: drop the .mu-numpad markup.
- stops.search.ts: drop initNumpad(), its call and the pad show/hide toggle.
- stops.css: drop all .mu-numpad rules.

tsc clean, npm run build passes.
2026-10-23 22:49:13 +07:00
Bkk1234 092f551b7d Add service worker and harden the web app manifest for Android 14+ / iOS 17+
Android (Samsung S23, One UI 6) refuses 'Install app' / standalone mode
when the origin is not secure or the app has no service worker. The ported
Next.js app shipped neither: only a manifest existed, and no sw.js at all.

- public/sw.js: navigation network-first with an offline fallback,
  cache-first for static assets, /api and /files bypassed, versioned
  cache with skipWaiting + clients.claim.
- public/offline.html: offline shell.
- src/components/PwaBoot.tsx: registers the worker, wires
  beforeinstallprompt into an in-app install button, and shows a
  share-sheet hint on iOS/Samsung Internet where the event never fires.
- ui-manifest.json: add id, display_override, prefer_related_applications,
  launch_handler, handle_links, a maskable icon for Android 14 and
  screenshots for the install preview.
- layout.tsx: viewport-fit=cover, interactive-widget, maximumScale 5
  (never user-scalable=no), appleWebApp metadata, format detection off,
  and drop manually duplicated meta tags that Next already emits.

Verified: manifest passes 8/8 installability checks, sw.js and offline.html
serve with correct content types, tsc clean, npm run build passes.
2026-10-23 22:40:58 +07:00
Bkk1234 3519f92669 Remove images that no view or data file references
Verified each path against every .ts/.tsx/.css under src plus every JSON
under public. Kept all dynamic lookup directories (routes/qrcode/stations/
stops/partners/icons) because the ported modules resolve those per id and
try several extensions at runtime.

Deleted (nothing references them):
- image/extras/boat.jpeg, boat-market2transta.jpg
- image/landmarks/*.{png,jpg} (stations.json has no landmarks[] entries)
- image/icons/minibus-256x256.ico (Next serves app/icon.png instead)
- image/partners/_original/ (local backup of the tcl999 source photo)

public/image: 39.8 MB -> 30.1 MB. npm run build still prerenders all routes.
2026-10-23 18:19:07 +07:00
Bkk1234 3b474b1127 Resolve merge conflicts: keep the mock-ported view architecture
The merge of origin/main left 13 conflict markers across 9 files under
frontend/src/app, so 'next build' failed with 21 parse errors and the
Docker frontend image never built.

Resolution:
- Keep the HEAD side (views + PageRuntime shell) for all 8 route pages.
- Rebuild layout.tsx by hand: it mixed both sides outside the conflict
  blocks (Viewport/headers/langFromCookie were only imported on the
  merged-in side). Kept IconSprite/SiteHeader/SiteFooter/SiteBoot,
  the mock CSS order (shared -> map -> shell -> responsive), the
  vendored K2D and Leaflet links, and set lang="th" because i18n.ts
  sets document.documentElement.lang at runtime.

Verified: tsc --noEmit clean, npm run build compiles and prerenders
all 12 static + 5 dynamic routes.
2026-10-23 18:10:42 +07:00
Bkk1234 9519fef02d Merge branch 'main' of http://103.107.52.82:3004/at-transit/web-at-transit 2026-10-23 17:52:56 +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
phattaranun.a 1526c5b6d0 feat(ui): full i18n (th/en) + highway stop search + real km list
i18n:
- LangProvider (client context) + cookie/lang localStorage sync
- locales/th.json + en.json จาก design (269 keys)
- แปล header/nav/footer/home/route/stop/check ผ่าน t()
- server pages อ่าน cookie lang (SSR แปลตรง) + client context

Stop search (หน้า /stops):
- code search 5 หลัก (kilometer '36+020' → pad5 '36020') + numpad
- place search (ชื่อสถานที่) + suggest
- near-me (geolocation → ป้ายทางหลวงใกล้สุด 8 อัน, haversine)
- data: busstop_list.json (154 ป้ายทางหลวง)

Route detail: km list ใช้ระยะจริงจาก stop-km.json (แทน stop_sequence)

Note: 'nearby ใกล้เคียงป้าย' ไม่ทำ — stations.json ไม่มี landmarks data
2026-10-10 23:17:24 +07:00
phattaranun.a 0c3936df69 feat(ui): port route/stop/check pages to match mock + tidy layout
Route detail:
- breadcrumb + route-select dropdown (เปลี่ยนสายในหน้าเดียว)
- vehicle card (รถ + caption + QR + ติดต่อโทร/LINE รวมการ์ดเดียว)
- summary เพิ่ม 'รอบถัดไป' (คำนวณจาก schedules)
- km list (จุดจอดตามเส้นทาง กม.)

Stop detail:
- stop-hero (title/meta pills/metric grid 4 + live clock เที่ยวถัดไป)
- route expander (สายที่ผ่าน + เวลาต่อสาย) + map aside + chips
- breadcrumb

Stop list:
- search form จริง (server-side ?q=) + breadcrumb
- fix TYPE_LABEL/TONE/ICON ให้ตรง station_type จริง (main_terminal/local_stop/market/private_stop)

Check page (ใหม่ /check): เช็กเวลาเดินรถ + selector + 4 สถิติ + ตารางทุกจุดจอด
Header CTA -> /check

Assets: caption<id>.json + qrcode/* จาก mock (lib/captions.ts)
2026-10-10 20:08:42 +07:00
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 37711a0a8a fix(backend): cap cargo parallelism to 1 for the VPS build
CARGO_BUILD_JOBS=2 on the 1-vCPU VPS spiked load (~30) and destabilised
the swarm during deploy (health checks timed out, Dokploy restarted and
killed the build). Build with a single job; combined with the 4 GB
swapfile added on the host this keeps the build from starving services.
2026-10-10 17:14:38 +07:00
phattaranun.a 944bb52827 fix(backend): bump builder image rust:1.88 -> 1.90
Deploy failed on the VPS:
  error: rustc 1.88.0 is not supported by the following packages:
    [email protected].0 requires rustc 1.89.0

No Cargo.lock is committed, so cargo resolves the newest crates on every
build; the transitive MSRV has moved past the 1.88 builder. Bump to
rust:1.90-bookworm (>= uuid 1.28's required 1.89).
2026-10-10 16:51:47 +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 24187fc3b7 fix: switch base image to debian:12-slim and install ca-certificates 1.0.0 2026-05-25 02:22:02 +07:00
phattaranun.a ee05890661 feat: implement file retrieval API endpoint 2026-05-25 01:21:11 +07:00
phattaranun.a ae4c665b28 feat: enhance reqwest client configuration with pool idle timeout and TCP keepalive 2026-05-25 01:12:49 +07:00
phattaranun.a 186e56e125 fix: update env_file reference in docker-compose.yml 2026-05-25 01:00:38 +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