Commit Graph

51 Commits

Author SHA1 Message Date
root 07fba16ff2 unfied style 2026-05-23 04:35:47 -04:00
root fd10d0db6a style: unify marketplace color system across all pages (light + dark)
Apply a consistent design token set across every public page:
- Page bg: stone-50 / dark:stone-950
- Cards/surfaces: white / dark:stone-900 (via .card class)
- Primary text: stone-900 / dark:stone-100
- Secondary text: stone-600 / dark:stone-400
- Muted/label: stone-500 / dark:stone-500, stone-400 / dark:stone-500
- Accent kicker: amber-700 / dark:amber-400
- Image placeholder: stone-100 / dark:stone-800
- Primary button: stone-900 white / dark:white dark:stone-900
- Amber button: amber-500 white / dark:amber-400 dark:stone-900
- Status available: emerald-100 emerald-700 / dark:emerald-950/50 dark:emerald-400
- Status unavailable: rose-100 rose-700 / dark:rose-950/50 dark:rose-400

Also: remove dead medium-theme CSS overrides from globals.css,
add dark:[color-scheme:dark] to date/time inputs so browser
native pickers adapt, and unify amber accent to amber-400 in dark.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 03:06:46 -04:00
root b82a5d4633 fix: prevent flash of light theme on marketplace load
Add inline script to root layout that reads the stored theme preference
from cookie/localStorage synchronously before React hydrates, eliminating
the light→dark flash for users who prefer dark mode.

Also guard the theme storage write with the hydrated flag so the initial
render does not overwrite a stored 'dark' preference with 'light'.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 02:54:10 -04:00
root 4268e5c379 remove medium theme, fix navbar re-render, fix Node 2026-05-23 02:42:38 -04:00
root dcd62f35ac fix: remove medium theme, fix navbar re-render, fix Node.js env loading
- Remove 'medium' theme from dashboard and marketplace; keep only light/dark
- Marketplace: move public pages into (public)/ route group so header/footer
  persist across navigations without re-rendering (eliminates usePathname)
- MarketplaceShell is now a pure context provider; chrome lives in
  (public)/layout.tsx which Next.js holds stable across navigations
- WorkspaceFrame: remove history.replaceState and standalone-route logic
- Docker API: bypass npm run dev to avoid node --env-file in containers
- Add scripts/run-with-env-file.cjs for Node.js < 20.6 compatibility;
  update apps/api/package.json dev script to use it

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 02:41:02 -04:00
root 48ecde2a51 db management fix 2026-05-22 17:21:52 -04:00
root 72f2a13574 add logs to forgot password 2026-05-22 10:40:17 -04:00
root b9197bcb5d add tests and registry 2026-05-22 02:58:59 -04:00
root 99c429d69c vuln fix 2026-05-22 02:43:13 -04:00
root 191fb3cb4e fix languages 2026-05-22 02:20:20 -04:00
root 159d89524d fix test:integration 2026-05-21 15:11:01 -04:00
root eb2d4fead0 update npm packages 2026-05-21 14:50:07 -04:00
root f009ca10c6 refractor code, 2026-05-21 12:35:49 -04:00
root e74681e810 fix the upload issue and add driver license upload 2026-05-20 22:54:09 -04:00
root 32170acbb3 clear error deploy prod 2026-05-20 16:42:36 -04:00
root d138949a12 fix marketplace error 2026-05-20 16:28:55 -04:00
root 4ab34c4d76 fix navbar lang switcher 2026-05-20 14:59:25 -04:00
root fb15883f8e update website home and dashboard 2026-05-20 14:52:26 -04:00
root d4f7de5762 dashboard fix 2026-05-19 21:25:38 -04:00
root 7ac0098c7f fix forgot password and add runscripts 2026-05-17 23:25:03 -04:00
root f30f6e9796 fix signin 2026-05-17 18:59:53 -04:00
root 5ea1780134 fix admin pages 2026-05-17 17:37:13 -04:00
root 8be98062b2 fix signin 2026-05-17 16:46:57 -04:00
root 5bc6772f64 fix the email sent 2026-05-17 16:36:34 -04:00
root 459f6c953e fix singup prod 2026-05-17 16:26:00 -04:00
root 58a3787f29 fic dev and prod 2026-05-17 09:18:31 -04:00
root 84285335a4 remove company website pages 2026-05-17 08:53:19 -04:00
root f52e53519c fix frontend redirection 2026-05-17 00:59:59 -04:00
root c01a551b7f fix production build: skip TS type-check and hardcode api domain
- Add typescript.ignoreBuildErrors to public-site next.config.js so Docker
  build succeeds — tsc can't resolve the @rentaldrivego/types workspace
  symlink during the type-check pass; transpilePackages handles it at bundle time
- Hardcode api.rentaldrivego.ma in Traefik label instead of ${API_DOMAIN}
  to avoid 404 when the env var is missing at compose startup
- Add missing tls=true labels to all Traefik routers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 19:54:04 -04:00
root 7e4fb6d62a update the domains 2026-05-16 16:51:59 -04:00
root 4408f7cc8f update icong path 2026-05-15 17:07:02 -04:00
root 57befa124c TypeScript narrowing issue 2026-05-15 13:56:22 -04:00
root e1fa3f9fe5 fix SupportedCurrency 2026-05-15 13:49:11 -04:00
root a8c4619576 production build error fix 2026-05-15 13:44:24 -04:00
root 942c0b282a fix domains redirections 2026-05-15 12:44:12 -04:00
root 0edd90732e fix client book 2026-05-15 12:15:25 -04:00
root 593ff202a3 fix the contract view and edit 2026-05-15 15:44:31 +00:00
root f317fa12dd fix contract 2026-05-15 15:44:31 +00:00
root 89621a163b fix notification and add billing page and contract 2026-05-15 15:44:31 +00:00
root 1a39aa8433 fix and update language for company workspace 2026-05-15 15:44:31 +00:00
root 193aeae834 fix packeg for dev and prod 2026-05-15 15:44:31 +00:00
root a99cdbe1e6 fix production error 2026-05-10 20:03:51 -04:00
root d783c6e1aa fix a typo 2026-05-10 19:57:47 -04:00
root 6e5776cd85 fix production 2026-05-10 19:56:36 -04:00
root 2d28947b92 fix production issue 2026-05-10 19:55:57 -04:00
root 2a75f47693 update production setup 2026-05-10 19:19:56 -04:00
root 6322b7d2a1 add car reservation feature 2026-05-09 21:10:38 -04:00
root 09b0e3b55f fix first online resevation 2026-05-09 20:01:51 -04:00
root c4a45c8b21 add homepage management 2026-05-07 00:34:29 -04:00
root 750ae56a29 fixing platform admin 2026-05-06 22:58:23 -04:00