diff --git a/app/routes.ts b/app/routes.ts index 98453c5..6d73930 100644 --- a/app/routes.ts +++ b/app/routes.ts @@ -1,7 +1,11 @@ import { type RouteConfig, index, route } from '@react-router/dev/routes'; export default [ - index('routes/dashboard.tsx'), - route('login', 'routes/login.tsx'), - route('ar/:id', 'qr-ar/ar-viewer.tsx'), + index('routes/admin/dashboard.tsx'), + route('login', 'routes/admin/login.tsx'), + route('preview/:id', 'routes/admin/asset-preview.tsx'), + + route('ar/:id', 'routes/ar/ar-viewer.tsx'), + + route('*', 'routes/not-found.tsx'), ] satisfies RouteConfig;