1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-23 07:14:21 +00:00
sophon/frontend/src/App.tsx

23 lines
759 B
TypeScript

import * as React from 'react';
import {Bluelib, Heading, LayoutThreeCol} from "@steffo/bluelib-react";
import {Router} from "./routes/Router";
import {InstanceContextProvider} from "./components/InstanceContext";
import {LoginContextProvider} from "./components/LoginContext";
function App() {
return (
<InstanceContextProvider>
<LoginContextProvider>
<Bluelib theme={"sophon"}>
<LayoutThreeCol>
<LayoutThreeCol.Center>
<Router/>
</LayoutThreeCol.Center>
</LayoutThreeCol>
</Bluelib>
</LoginContextProvider>
</InstanceContextProvider>
);
}
export default App;