switch frontend to preact

This commit is contained in:
sam 2023-09-15 16:33:25 +02:00
parent 6f1b94c040
commit 0a94e2bf93
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
57 changed files with 3366 additions and 1803 deletions

20
frontend/src/app.tsx Normal file
View file

@ -0,0 +1,20 @@
import { Provider } from "react-redux";
import { CssBaseline } from "@mui/material";
import store from "$lib/store";
import Layout from "$components/layout";
import DefaultHead from "./DefaultHead";
export default function App() {
return (
<>
<CssBaseline>
<Provider store={store}>
<DefaultHead />
<Layout />
</Provider>
</CssBaseline>
</>
);
}