2022-04-28 18:54:33 +02:00
|
|
|
import { Layout } from 'antd';
|
|
|
|
import { ServerStatusStore } from '../stores/ServerStatusStore';
|
|
|
|
import { ClientConfigStore } from '../stores/ClientConfigStore';
|
|
|
|
import { Content, Footer, Header, Sidebar } from '../ui';
|
2022-04-25 23:10:07 -07:00
|
|
|
|
|
|
|
function Main() {
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<ServerStatusStore />
|
|
|
|
<ClientConfigStore />
|
|
|
|
<Layout>
|
2022-04-28 18:54:33 +02:00
|
|
|
<Sidebar />
|
|
|
|
<Header />
|
2022-04-25 23:10:07 -07:00
|
|
|
<Layout className="site-layout" style={{ marginRight: 200 }}>
|
2022-04-28 18:54:33 +02:00
|
|
|
<Content />
|
|
|
|
<Footer />
|
2022-04-25 23:10:07 -07:00
|
|
|
</Layout>
|
|
|
|
</Layout>
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Main;
|