From 5e5560b558ff818546c94135bebf334be770c920 Mon Sep 17 00:00:00 2001
From: Michael Hunteman <michael@huntm.net>
Date: Sat, 9 Mar 2024 15:13:45 -0800
Subject: Add carousel

---
 src/main.tsx | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

(limited to 'src/main.tsx')

diff --git a/src/main.tsx b/src/main.tsx
index 3125ede..8aba432 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -4,35 +4,39 @@ import { createBrowserRouter, RouterProvider } from 'react-router-dom';
 import { Provider } from 'react-redux';
 import App from './App';
 import store from './store';
-import ThemeContextProvider from './ThemeContextProvider'
+import ThemeContextProvider from './ThemeContextProvider';
 import Schedule from './components/Schedule';
 import Registry from './components/Registry';
 import GuestLogin from './features/auth/GuestLogin';
 import Rsvp from './components/Rsvp';
 import RsvpForm from './components/RsvpForm';
 import Admin from './components/Admin';
+import Home from './components/Home';
 
 const router = createBrowserRouter([
   {
-    path: '/',
     element: <App />,
     children: [
+      {
+        path: '/',
+        element: <Home />,
+      },
       {
         path: 'schedule',
-        element: <Schedule />
+        element: <Schedule />,
       },
       {
         path: 'registry',
-        element: <Registry />
+        element: <Registry />,
       },
       {
         path: 'guest-login',
-        element: <GuestLogin />
+        element: <GuestLogin />,
       },
       {
         path: 'admin',
-        element: <Admin />
-      }
+        element: <Admin />,
+      },
     ],
   },
   {
@@ -40,11 +44,11 @@ const router = createBrowserRouter([
     children: [
       {
         path: 'rsvp',
-        element: <RsvpForm />
-      }
-    ]
-  }
-], { basename: '/wedding' });
+        element: <RsvpForm />,
+      },
+    ],
+  },
+]);
 
 const enableMocking = async () => {
   const { worker } = await import('./mocks/browser');
-- 
cgit v1.2.3

