Commit Graph
25 Commits
Author SHA1 Message Date
moh 6c213699a2 ADDED - Replace site header menu with macOS menu bar and Magic UI dock
Swap the pill navigation for a macOS-style dock as the primary nav and a
slim top menu bar for utilities:

- components/ui/dock.tsx: Magic UI Dock/DockIcon (magnification via
  useSpring/useTransform), ported to the project's framer-motion.
- components/layout/site-dock.tsx: bottom dock with the logo as the first
  icon, each item a real next/link (SEO preserved, active state from the
  pathname), monochrome squircle tiles, hover tooltips and a "soon" badge
  for Products; top menu bar keeps locale/sound/theme/admin + a live clock.
- (site)/layout.tsx: render SiteDock instead of SiteHeader.

Home bento grid and all page content are unchanged.
2026-09-20 18:56:46 +02:00
moh d1245204f1 STYLED - Roll out the layered card system to the admin workspace
The double-layer AppCard look showcased in the UI Kit was only applied on
the public frontend; every admin surface was pinned to layer=single and
stayed flat. Convert the admin section/container cards to the default
layered look, keeping compact metric tiles, toolbars, image tiles and
nested leaf cards single.

Add AppCard contentClassName so content utilities (space-y-*, grid, flex)
keep applying to the inner shell after the switch to double layer.
2026-09-20 17:01:20 +02:00
moh d78450fc47 FIXED - Make adding a portfolio project simpler and actually saveable
- Fix critical bug: TabsContent unmounted inactive panels, so the project
  form only submitted the active tab's fields and could never save; add an
  opt-in forceMount that keeps panels mounted (hidden) and use it on all
  four project-form tabs
- Make Sections and Assets optional: a project saves with just Basics and
  Localized Content; new projects start with no sections/assets, and the
  last one can now be removed
- Update wizard progress so empty sections/assets steps count as complete
- Update save hint copy and step labels to reflect the optional steps
- Correct .claude/launch.json dev port to 3014
- Update portfolio-form-progress tests for the optional-steps behaviour
2026-09-20 01:56:50 +02:00
MohFarawati d48497b992 refactor: drop toast + over-engineered extras, add inline admin feedback
CI / quality (push) Waiting to run
Phase 1 cleanup of the personal-site revamp. Backend/architecture untouched;
changes are limited to removing unused complexity and restoring feedback.

Removals
- Toast system: delete react-hot-toast, Toaster, QueryToastBridge, lib/toast,
  the toggle/easter-egg calls, related i18n keys and the dependency.
- Contact protection: remove Turnstile + per-IP rate limiting
  (lib/contact-guard, lib/contact-protection, admin screen, form widget,
  app-config wiring, nav entry, test).
- Speculative specs: delete orders, products, downloads, project-inquiry.

Inline feedback (replaces toast, no new deps)
- Add lib/admin-feedback (withFlash/readFlash) and components/admin/admin-flash,
  rendered centrally by AdminDashboardShell.
- Emit success/error messages for media, site-settings, portfolio, smtp,
  marquee and maintenance actions; pages read them via searchParams.
- Contact form shows validation/delivery errors inline; success still
  redirects to /success.

Docs
- Fix stale paths in frontend-system-* (components/root -> components/admin,
  lib/root-navigation -> lib/admin-navigation, drop phantom src/) and remove
  contact-protection references from docs and CLAUDE.md.
- Add docs/PHASE0_DIAGNOSIS.md (diagnosis report).

Note: proxy.ts self-fetch kept intentionally; it also drives maintenance mode.
2026-07-14 21:03:51 +02:00
MOH 9b8409a7d3 Fix toaster locale crash
CI / quality (push) Waiting to run
2026-03-15 05:29:44 +01:00
MOH 060d48f9c4 Fix dynamic locale fallback resolution
CI / quality (push) Waiting to run
2026-03-15 05:27:19 +01:00
MOH 3eb9238268 moh/admin-portfolio-ux-improvements
CI / quality (push) Waiting to run
2026-03-15 04:42:09 +01:00
MOH cff416dd83 refactor toast system to use react-hot-toast
CI / quality (push) Waiting to run
2026-03-11 21:09:45 +01:00
MOH 03384c1bda fix sonner
CI / quality (push) Waiting to run
2026-03-11 17:47:51 +01:00
MOH 7877c8ae63 Refine Sonner layout and timing 2026-03-10 18:07:47 +01:00
MOH 67447bbe4b Make Sonner width fit toast content 2026-03-10 17:53:19 +01:00
MOH 77cc9dca87 Add Sonner-based notifications and UX polish 2026-03-10 17:43:26 +01:00
MOH 5b51a2a063 Refactor root admin dashboards and settings 2026-03-10 16:43:43 +01:00
MOH db6c5392bb fix bg dark
CI / quality (push) Waiting to run
2026-03-10 06:33:41 +01:00
MOH 3a75764023 Fix admin portal font family 2026-03-10 06:32:53 +01:00
MOH 6f20f28a96 Refine global card system 2026-03-10 06:09:03 +01:00
MOH f2b5a15191 fix admin save state architecture 2026-03-10 05:24:50 +01:00
MOH a65037e3b3 Refactor frontend system primitives and surfaces 2026-03-09 06:15:01 +01:00
MOH 8740a94611 Revert custom button hover effect
CI / quality (push) Waiting to run
2026-03-08 07:19:16 +01:00
MOH 909239be2d Refine button hover origin effect
CI / quality (push) Waiting to run
2026-03-08 07:17:06 +01:00
MOH 2bda611a3b Refactor site hero and localized branding UI 2026-03-08 05:13:10 +01:00
MOH 0c2b67e378 Refactor site header, heroes, and design system 2026-03-08 00:29:51 +01:00
MOH a18370d003 Refine root UI around shadcn primitives
CI / quality (push) Waiting to run
2026-03-07 22:28:52 +01:00
MOH 8606f6e315 Refactor root admin dashboard UI 2026-03-07 17:36:45 +01:00
MOH 7f4277d1d7 Finalize multilingual routing and translations
CI / quality (push) Waiting to run
2026-03-07 14:10:30 +01:00