'use client' import Link from 'next/link' import { Home, Calendar, List, Gift, Coins, Settings, Info } from 'lucide-react' import { useState } from 'react' import AboutModal from './AboutModal' const navItems = [ { icon: Home, label: 'Dashboard', href: '/', position: 'main' }, { icon: List, label: 'Habits', href: '/habits', position: 'main' }, { icon: Calendar, label: 'Calendar', href: '/calendar', position: 'main' }, { icon: Gift, label: 'Wishlist', href: '/wishlist', position: 'main' }, { icon: Coins, label: 'Coins', href: '/coins', position: 'main' }, { icon: Info, label: 'About', href: '#', position: 'bottom', onClick: (setShow: (show: boolean) => void) => setShow(true) }, ] interface NavigationProps { className?: string isMobile?: boolean } export default function Navigation({ className, isMobile = false }: NavigationProps) { const [showAbout, setShowAbout] = useState(false) if (isMobile) { return ( <>
{/* Add padding at the bottom to prevent content from being hidden */} setShowAbout(false)} /> ) } return (
setShowAbout(false)} />
) }