diff --git a/src/components/common/MobileBottomNav.tsx b/src/components/common/MobileBottomNav.tsx new file mode 100644 index 00000000..8aae9751 --- /dev/null +++ b/src/components/common/MobileBottomNav.tsx @@ -0,0 +1,127 @@ +import { LayoutGrid, BarChart2, Bookmark, Bell } from 'lucide-react'; +import { NavLink, useLocation } from 'react-router'; +import { cn } from '@/lib/utils'; +import { useNotifications } from '@/hooks/useNotifications'; +import { useProfileStore } from '@/hooks/useProfileStore'; + +interface Tab { + label: string; + href: string; + /** Additional paths that should also highlight this tab as active. */ + matchPaths?: string[]; + icon: React.ReactNode; + activeIcon?: React.ReactNode; +} + +const tabs: Tab[] = [ + { + label: 'Marketplace', + href: '/', + matchPaths: ['/creators'], + icon: