import React from 'react'; import { Home, FileText, Bot } from 'lucide-react'; export interface RouteConfig { path: string; label: string; icon: React.ComponentType<{ className?: string }>; component?: React.ComponentType<{ className?: string }>; } export const routes: RouteConfig[] = [ { path: '/home', label: 'Home', icon: Home }, { path: '/template', label: 'Template', icon: FileText }, // FDM integration spike — not part of the CLI scaffold's generateNavigation(). { path: '/assistente-fdm', label: 'Assistente FDM', icon: Bot }, ]; export const getRouteByPath = (path: string): RouteConfig | undefined => routes.find(route => route.path === path); export const isValidRoute = (path: string): boolean => routes.some(route => route.path === path);