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

24 lines
759 B
TypeScript
Raw Normal View History

import * as React from 'react';
2021-09-16 15:15:20 +00:00
import {Bluelib, Heading, LayoutThreeCol} from "@steffo/bluelib-react";
2021-09-14 21:34:18 +00:00
import {Router} from "./routes/Router";
2021-09-16 15:43:57 +00:00
import {InstanceContextProvider} from "./components/InstanceContext";
import {LoginContextProvider} from "./components/LoginContext";
function App() {
return (
2021-09-16 15:43:57 +00:00
<InstanceContextProvider>
<LoginContextProvider>
<Bluelib theme={"sophon"}>
<LayoutThreeCol>
<LayoutThreeCol.Center>
<Router/>
</LayoutThreeCol.Center>
</LayoutThreeCol>
</Bluelib>
</LoginContextProvider>
</InstanceContextProvider>
);
}
export default App;