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

24 lines
750 B
TypeScript
Raw Normal View History

import * as React from 'react';
2021-09-16 22:16:04 +00:00
import {Bluelib, 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;