import { Home, CheckSquare, Building2, HardHat, FileText, Settings } from 'lucide-react';

export interface NavItem {
  label: string;
  href: string;
  icon: React.ComponentType<{ className?: string }>;
}

export function getNavItems(basePath: string): NavItem[] {
  return [
    { label: 'Home', href: basePath, icon: Home },
    { label: 'Tasks', href: `${basePath}/tasks`, icon: CheckSquare },
    { label: 'Homes', href: `${basePath}/residences`, icon: Building2 },
    { label: 'Pros', href: `${basePath}/contractors`, icon: HardHat },
    { label: 'Docs', href: `${basePath}/documents`, icon: FileText },
    { label: 'Settings', href: `${basePath}/settings`, icon: Settings },
  ];
}

// Default export for backward compatibility
export const navItems: NavItem[] = getNavItems('/app');
