From 952bb209cf062f44b94b8a01fd11d7a5eeff4060 Mon Sep 17 00:00:00 2001 From: dwindown Date: Sun, 28 Dec 2025 01:14:29 +0700 Subject: [PATCH] Fix mobile bottom navigation wording to match desktop sidebar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated mobile navigation labels to be consistent with desktop sidebar: - User nav: "Home" → "Dashboard", "Kelas" → "Akses", "Pesanan" → "Order" - Admin nav: "Pengguna" → "Member" (matches sidebar exactly) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- src/components/AppLayout.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/AppLayout.tsx b/src/components/AppLayout.tsx index 6dc61fe..24e23aa 100644 --- a/src/components/AppLayout.tsx +++ b/src/components/AppLayout.tsx @@ -53,9 +53,9 @@ const adminNavItems: NavItem[] = [ ]; const mobileUserNav: NavItem[] = [ - { label: 'Home', href: '/dashboard', icon: Home }, - { label: 'Kelas', href: '/access', icon: BookOpen }, - { label: 'Pesanan', href: '/orders', icon: Receipt }, + { label: 'Dashboard', href: '/dashboard', icon: LayoutDashboard }, + { label: 'Akses', href: '/access', icon: BookOpen }, + { label: 'Order', href: '/orders', icon: Receipt }, { label: 'Profil', href: '/profile', icon: User }, ]; @@ -63,7 +63,7 @@ const mobileAdminNav: NavItem[] = [ { label: 'Dashboard', href: '/admin', icon: LayoutDashboard }, { label: 'Produk', href: '/admin/products', icon: Package }, { label: 'Order', href: '/admin/orders', icon: Receipt }, - { label: 'Pengguna', href: '/admin/members', icon: Users }, + { label: 'Member', href: '/admin/members', icon: Users }, ]; interface AppLayoutProps {