import { type RouteConfig, index, route } from "@react-router/dev/routes"; export default [ route("login", "routes/login.tsx"), route("dashboard", "routes/dashboard.tsx"), route("dashboard/project-management", "routes/project-management.tsx"), route("projects", "routes/projects.tsx"), route("404", "routes/404.tsx"), route("unauthorized", "routes/unauthorized.tsx"), route("*", "routes/$.tsx"), // Catch-all route for 404s ] satisfies RouteConfig;