`
- isPublicRoute includes `location.pathname === "/setups"`
- - Root div has `pb-16 md:pb-0` classes
+ - Root div has `pb-16 md:pb-0` classes for mobile bottom padding
- All existing modals/dialogs remain unchanged
Root layout uses TopNav instead of TotalsBar, BottomTabBar is rendered for mobile, FAB is hidden on mobile, /setups is a public route, and mobile bottom padding prevents content occlusion.
@@ -215,19 +215,20 @@ function LandingPage() {
4. **Keep unchanged:** `PopularSetupsSection`, `RecentItemsSection`, `TrendingCategoriesSection`, `SectionSkeleton`, all discovery hooks imports, `GlobalItemCard` import, `PublicSetupCard` import, and the `createFileRoute` route definition.
- cd /home/jean-luc-makiola/Development/projects/GearBox && ! grep -q "HeroSection" src/client/routes/index.tsx && echo "no-hero" && ! grep -q "Discover Gear" src/client/routes/index.tsx && echo "no-heading" && ! grep -q "lucide-react" src/client/routes/index.tsx && echo "no-lucide-direct" && grep -c "PopularSetupsSection" src/client/routes/index.tsx
+ cd /home/jean-luc-makiola/Development/projects/GearBox && ! grep -q "HeroSection" src/client/routes/index.tsx && echo "no-hero" && ! grep -q "Discover Gear" src/client/routes/index.tsx && echo "no-heading" && ! grep -q "lucide-react" src/client/routes/index.tsx && echo "no-lucide-direct" && grep -c "PopularSetupsSection" src/client/routes/index.tsx && ! grep -q "useAuth" src/client/routes/index.tsx && echo "no-useAuth" && ! grep -q "useUIStore" src/client/routes/index.tsx && echo "no-useUIStore"
- src/client/routes/index.tsx does NOT contain `HeroSection` (function definition or usage)
- src/client/routes/index.tsx does NOT contain `Discover Gear` heading text
- src/client/routes/index.tsx does NOT contain `Go to Collection` link text
- src/client/routes/index.tsx does NOT import from `lucide-react`
- - src/client/routes/index.tsx does NOT import `useAuth` or `useUIStore`
+ - src/client/routes/index.tsx does NOT import `useAuth`
+ - src/client/routes/index.tsx does NOT import `useUIStore`
- LandingPage function renders PopularSetupsSection as first child
- PopularSetupsSection, RecentItemsSection, TrendingCategoriesSection all remain
- SectionSkeleton helper function remains
-
Landing page starts directly with Popular Setups section. No hero section, no heading, no search bar, no "Go to Collection" link. Search is now exclusively in the TopNav bar.
+
Landing page starts directly with Popular Setups section. No hero section, no heading, no search bar, no "Go to Collection" link. No unused imports (useAuth, useUIStore, lucide-react). Search is now exclusively in the TopNav bar.