From ca68e6856dd06ca9510d1144a04ad8ecfd33820d Mon Sep 17 00:00:00 2001 From: rajun Date: Tue, 27 Oct 2026 16:28:48 +0530 Subject: [PATCH] feat: add route path helpers --- app/data/routes.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app/data/routes.ts diff --git a/app/data/routes.ts b/app/data/routes.ts new file mode 100644 index 0000000..fa1bd2d --- /dev/null +++ b/app/data/routes.ts @@ -0,0 +1,11 @@ +export const ROUTES = { + home: '/projects', + login: '/login', + projects: '/projects', + project: (id: string) => `/projects/${id}`, + assets: '/assets', + assetsFiltered: (filter: string) => `/assets?filter=${encodeURIComponent(filter)}`, + asset: (id: string) => `/assets/${id}`, + settings: '/settings', + ar: (id: string) => `/ar/${id}`, +} as const;