From a88f613da7e5567dbfdebd7df94f94507c47c6b5 Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Fri, 27 Sep 2024 08:43:02 -0700 Subject: Add vitests --- client/src/routes.tsx | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 client/src/routes.tsx (limited to 'client/src/routes.tsx') diff --git a/client/src/routes.tsx b/client/src/routes.tsx new file mode 100644 index 0000000..3fec783 --- /dev/null +++ b/client/src/routes.tsx @@ -0,0 +1,59 @@ +import React from 'react'; +import App from './App'; +import Schedule from './components/Schedule'; +import Registry from './components/Registry'; +import GuestLogin from './components/GuestLogin'; +import Rsvp from './components/Rsvp'; +import RsvpForm from './components/RsvpForm'; +import Home from './components/Home'; +import AdminLogin from './components/AdminLogin'; +import Admin from './components/Admin'; +import Dashboard from './components/Dashboard'; + +const routes = [ + { + element: , + children: [ + { + path: '/', + element: , + }, + { + path: 'schedule', + element: , + }, + { + path: 'registry', + element: , + }, + { + path: 'guests/login', + element: , + }, + { + path: 'admin/login', + element: , + }, + { + element: , + children: [ + { + path: 'rsvp', + element: , + }, + ], + }, + { + element: , + children: [ + { + path: 'dashboard', + element: , + }, + ], + }, + ], + }, +]; + +export default routes; -- cgit v1.2.3