blob: 188b3867bd868873869f78352e2a68947b1d4e4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import React from "react";
import {render} from "react-dom";
import {BrowserRouter, Routes, Route} from "react-router-dom";
import App from "./components/app/App.jsx";
import NotFound from "./components/not_found/NotFound.jsx";
import "./reset.css";
import "./index.css";
import "@fontsource/heebo";
function BrowserRoutes() {
return (
<BrowserRouter>
<Routes>
<Route path="/*" element={<App />} />
<Route path="*" element={<NotFound />} />
</Routes>
</BrowserRouter>
);
}
const root = document.getElementById("root");
render(<BrowserRoutes />, root);
|