feat: add frontend

This commit is contained in:
Maël Gangloff
2024-07-22 14:45:21 +02:00
parent 1642767993
commit 3d7a6fbcfd
21 changed files with 5818 additions and 44 deletions

18
assets/index.tsx Normal file
View File

@@ -0,0 +1,18 @@
import React from "react";
import ReactDOM from "react-dom/client";
import LandingPage from "./pages/LandingPage";
import {Route, Routes, HashRouter} from "react-router-dom";
import FAQ from "./components/FAQ";
const root = ReactDOM.createRoot(document.getElementById("root") as HTMLElement);
root.render(
<React.StrictMode>
<HashRouter>
<Routes>
<Route path="/" element={<LandingPage/>}/>
</Routes>
</HashRouter>
</React.StrictMode>
);