import React from 'react' import ReactDOM from 'react-dom/client' import App from './App.tsx' import './index.css' import {createBrowserRouter, createRoutesFromElements, Route, RouterProvider} from "react-router-dom"; import {HomePage} from "./pages/HomePage.tsx"; import {SettingsPage} from "./pages/SettingsPage.tsx"; import {LoginScreen} from "./pages/LoginScreen.tsx"; import {HelpPage} from "./pages/HelpPage.tsx"; import * as Toast from '@radix-ui/react-toast' import {I18nextProvider} from "react-i18next"; import i18n from "./localization/i18n.ts"; import {PadPage} from "./pages/PadPage.tsx"; import {ToastDialog} from "./utils/Toast.tsx"; import {ShoutPage} from "./pages/ShoutPage.tsx"; const router = createBrowserRouter(createRoutesFromElements( <>}> }/> }/> }/> }/> }/> }/> }/> ), { basename: import.meta.env.BASE_URL }) ReactDOM.createRoot(document.getElementById('root')!).render( , )