Rename layout files
This commit is contained in:
23
web/components/layouts/Main.tsx
Normal file
23
web/components/layouts/Main.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import { Layout } from 'antd';
|
||||
import { ServerStatusStore } from '../stores/ServerStatusStore';
|
||||
import { ClientConfigStore } from '../stores/ClientConfigStore';
|
||||
import { Content, Footer, Header, Sidebar } from '../ui';
|
||||
|
||||
function Main() {
|
||||
return (
|
||||
<>
|
||||
<ServerStatusStore />
|
||||
<ClientConfigStore />
|
||||
<Layout>
|
||||
<Sidebar />
|
||||
<Header />
|
||||
<Layout className="site-layout" style={{ marginRight: 200 }}>
|
||||
<Content />
|
||||
<Footer />
|
||||
</Layout>
|
||||
</Layout>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default Main;
|
||||
Reference in New Issue
Block a user