mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
added login
layout
This commit is contained in:
parent
be8bc6f633
commit
0726833e9b
@ -1,7 +1,19 @@
|
|||||||
import React from "react"
|
import React from "react"
|
||||||
|
import classnames from "classnames"
|
||||||
|
import * as antd from "antd"
|
||||||
|
|
||||||
|
import { Drawer, Sidedrawer } from "components/layout"
|
||||||
|
|
||||||
export default (props) => {
|
export default (props) => {
|
||||||
return <div>
|
return <antd.Layout className="app_layout" style={{ height: "100%" }}>
|
||||||
{props.children}
|
<Drawer />
|
||||||
</div>
|
<Sidedrawer />
|
||||||
|
<antd.Layout className="content_layout">
|
||||||
|
<antd.Layout.Content className={classnames("layout_page", ...props.layoutPageModesClassnames ?? [])}>
|
||||||
|
<div id="transitionLayer" className="fade-transverse-active">
|
||||||
|
{React.cloneElement(props.children, props)}
|
||||||
|
</div>
|
||||||
|
</antd.Layout.Content>
|
||||||
|
</antd.Layout>
|
||||||
|
</antd.Layout>
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user