import { BrowserRouter, Route, Routes } from "react-router-dom";
import { Auth } from "@/components/auth-provider";
import { ThemeProvider } from "@/components/theme-provider";
import Index from "@/Index";
import Account from "@/Account";
import Test from "@/Test";

function App() {
    return (
        <ThemeProvider defaultTheme="dark" storageKey="vite-ui-theme">
            <Auth>
                <BrowserRouter>
                    <Routes>
                        <Route path="/" element={<Index />} />
                        <Route path="/account" element={<Account />} />
                        <Route path="/test" element={<Test />} />
                    </Routes>
                </BrowserRouter>
            </Auth>
        </ThemeProvider>
    );
}

export default App;
