import React from "react";
import { ThemeProvider } from "@mui/material";
import { theme } from "./theme";
import { Routes, Route } from "react-router-dom";
import AppHeader from "./components/AppHeader";
import Home from "./routes/Home";

function App() {
    return (
        <ThemeProvider theme={theme}>
            <AppHeader />
            <Routes>
                <Route path="/" element={<Home />} />
                {/* <Route path="*" element={<NotFound404 />} /> */}
            </Routes>
        </ThemeProvider>
    );
}

export default App;
