mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
added login
layout
This commit is contained in:
parent
be8bc6f633
commit
0726833e9b
@ -1,7 +1,19 @@
|
||||
import React from "react"
|
||||
import classnames from "classnames"
|
||||
import * as antd from "antd"
|
||||
|
||||
import { Drawer, Sidedrawer } from "components/layout"
|
||||
|
||||
export default (props) => {
|
||||
return <div>
|
||||
{props.children}
|
||||
</div>
|
||||
return <antd.Layout className="app_layout" style={{ height: "100%" }}>
|
||||
<Drawer />
|
||||
<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