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

27 lines
856 B
TypeScript
Raw Normal View History

import * as React from 'react';
import {Bluelib, Chapter, Heading, LayoutThreeCol} from "@steffo/bluelib-react";
import {SophonContextProvider} from "./utils/SophonContext";
import {LoginBox} from "./components/LoginBox";
import {InstanceBox} from "./components/InstanceBox";
2021-09-14 21:34:18 +00:00
import {GuestBox} from "./components/GuestBox";
import {Router} from "./routes/Router";
function App() {
return (
<SophonContextProvider>
<Bluelib theme={"sophon"}>
<LayoutThreeCol>
<LayoutThreeCol.Center>
<Heading level={1}>
Sophon
</Heading>
2021-09-14 21:34:18 +00:00
<Router/>
</LayoutThreeCol.Center>
</LayoutThreeCol>
</Bluelib>
</SophonContextProvider>
);
}
export default App;