import React from 'react';
import ReactDOM from 'react-dom/client';
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 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 Admin from './components/Admin';
import Home from './components/Home';
import './main.css';
const router = createBrowserRouter([
{
element: ,
children: [
{
path: '/',
element: ,
},
{
path: 'schedule',
element: ,
},
{
path: 'registry',
element: ,
},
{
path: 'guest/login',
element: ,
},
{
path: 'admin',
element: ,
},
],
},
{
element: ,
children: [
{
path: 'rsvp',
element: ,
},
],
},
]);
ReactDOM.createRoot(document.getElementById('root')!).render(
);