Z User commited on
Commit
ee268fe
·
1 Parent(s): 09e8793

fix: Mobile bottom nav — Home | Category | Discover (centered) | Cart | Account

Browse files

- Changed 'Shops' to 'Category' in both desktop nav and mobile bottom nav
- Added 'Discover' as the CENTER item in mobile bottom nav
- Links to videos.html (social ecommerce discovery page)
- Prominent cyan circle icon with compass icon
- Slightly larger (scale 1.15) to stand out
- Cyan glow shadow
- Order: Home | Category | Discover | Cart | Account
- Discover is centered between the other 4 items
- Same navbar used on all pages (index, ai-chat, categories, videos, etc.)

Files changed (1) hide show
  1. shared/navbar.html +13 -6
shared/navbar.html CHANGED
@@ -45,7 +45,7 @@
45
  <!-- Desktop nav links -->
46
  <div class="hidden md:flex items-center gap-5">
47
  <a href="index.html" class="nav-link active">Home</a>
48
- <a href="categories.html" class="nav-link">Shops</a>
49
  <a href="cart.html" class="nav-link relative">
50
  <i class="fas fa-shopping-cart text-lg"></i>
51
  <span id="navCartCount" class="absolute -top-2 -right-3 cart-badge text-[10px] rounded-full w-5 h-5 flex items-center justify-center">0</span>
@@ -124,18 +124,25 @@
124
  </div>
125
  </header>
126
 
127
- <!-- Mobile bottom nav -->
128
  <nav class="mobile-nav fixed bottom-0 left-0 right-0 z-50 md:hidden">
129
- <div class="flex items-center justify-around max-w-lg mx-auto py-2">
130
- <a href="index.html" class="mobile-nav-link active flex flex-col items-center gap-0.5">
131
  <i class="fas fa-home text-xl"></i><span>Home</span>
132
  </a>
133
  <a href="categories.html" class="mobile-nav-link flex flex-col items-center gap-0.5">
134
- <i class="fas fa-th-large text-xl"></i><span>Shops</span>
 
 
 
 
 
 
 
135
  </a>
136
  <a href="cart.html" class="mobile-nav-link flex flex-col items-center gap-0.5 relative">
137
  <i class="fas fa-shopping-cart text-xl"></i><span>Cart</span>
138
- <span id="navCartCountBottom" class="absolute top-0 right-2 cart-badge text-[9px] rounded-full w-4 h-4 flex items-center justify-center">0</span>
139
  </a>
140
  <a href="profile.html" class="mobile-nav-link flex flex-col items-center gap-0.5 relative" id="navAccountLink">
141
  <div class="relative">
 
45
  <!-- Desktop nav links -->
46
  <div class="hidden md:flex items-center gap-5">
47
  <a href="index.html" class="nav-link active">Home</a>
48
+ <a href="categories.html" class="nav-link">Category</a>
49
  <a href="cart.html" class="nav-link relative">
50
  <i class="fas fa-shopping-cart text-lg"></i>
51
  <span id="navCartCount" class="absolute -top-2 -right-3 cart-badge text-[10px] rounded-full w-5 h-5 flex items-center justify-center">0</span>
 
124
  </div>
125
  </header>
126
 
127
+ <!-- Mobile bottom nav: Home | Category | Discover (centered) | Cart | Account -->
128
  <nav class="mobile-nav fixed bottom-0 left-0 right-0 z-50 md:hidden">
129
+ <div class="flex items-center justify-around max-w-lg mx-auto py-2 relative">
130
+ <a href="index.html" class="mobile-nav-link flex flex-col items-center gap-0.5">
131
  <i class="fas fa-home text-xl"></i><span>Home</span>
132
  </a>
133
  <a href="categories.html" class="mobile-nav-link flex flex-col items-center gap-0.5">
134
+ <i class="fas fa-th-large text-xl"></i><span>Category</span>
135
+ </a>
136
+ <!-- Discover — centered, prominent -->
137
+ <a href="videos.html" class="mobile-nav-link flex flex-col items-center gap-0.5" style="transform:scale(1.15);">
138
+ <div style="width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#00d4ff,#0891b2);display:flex;align-items:center;justify-content:center;box-shadow:0 0 12px rgba(0,212,255,0.4);">
139
+ <i class="fas fa-compass text-white text-lg"></i>
140
+ </div>
141
+ <span style="font-weight:700;color:#00d4ff;">Discover</span>
142
  </a>
143
  <a href="cart.html" class="mobile-nav-link flex flex-col items-center gap-0.5 relative">
144
  <i class="fas fa-shopping-cart text-xl"></i><span>Cart</span>
145
+ <span id="navCartCountBottom" class="absolute top-0 right-2 cart-badge text-[9px] rounded-full w-4 h-4 flex items-center justify-center" style="display:none;">0</span>
146
  </a>
147
  <a href="profile.html" class="mobile-nav-link flex flex-col items-center gap-0.5 relative" id="navAccountLink">
148
  <div class="relative">