update LayoutMenu , LayoutSidebar components
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React from 'react'
|
||||
import React from 'react';
|
||||
import { Layout } from 'antd';
|
||||
import LayoutLogo from './LayoutLogo';
|
||||
import LayoutMenu from './LayoutMenu';
|
||||
@@ -18,12 +18,18 @@ const LayoutSidebar = () => {
|
||||
}}
|
||||
style={{
|
||||
background: 'linear-gradient(180deg, #FF8C42 0%, #FF6B35 100%)',
|
||||
overflow: 'auto',
|
||||
height: '100vh',
|
||||
position: 'fixed',
|
||||
left: 0,
|
||||
top: 0,
|
||||
bottom: 0,
|
||||
}}
|
||||
>
|
||||
<LayoutLogo />
|
||||
<LayoutMenu />
|
||||
</Sider>
|
||||
)
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
export default LayoutSidebar
|
||||
export default LayoutSidebar;
|
||||
|
||||
Reference in New Issue
Block a user