mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
added sidebar headers
This commit is contained in:
parent
01fac15a00
commit
2e75e4f7c0
6 changed files with 61 additions and 7 deletions
|
@ -4,6 +4,7 @@ import { DialogComponentProps } from '~/types/modal';
|
|||
import { ProfileSidebarMenu } from '~/containers/profile/ProfileSidebarMenu';
|
||||
import { SidebarStack } from '~/components/sidebar/SidebarStack';
|
||||
import { ProfileSidebarSettings } from '~/components/profile/ProfileSidebarSettings';
|
||||
import { SidebarStackCard } from '~/components/sidebar/SidebarStackCard';
|
||||
|
||||
interface ProfileSidebarProps extends DialogComponentProps {}
|
||||
|
||||
|
@ -11,8 +12,13 @@ const ProfileSidebar: VFC<ProfileSidebarProps> = ({ onRequestClose }) => {
|
|||
return (
|
||||
<SidebarWrapper onClose={onRequestClose}>
|
||||
<SidebarStack>
|
||||
<ProfileSidebarMenu onClose={onRequestClose} />
|
||||
<ProfileSidebarSettings />
|
||||
<SidebarStackCard headerFeature="close" title="Профиль">
|
||||
<ProfileSidebarMenu onClose={onRequestClose} />
|
||||
</SidebarStackCard>
|
||||
|
||||
<SidebarStackCard width={600} headerFeature="back" title="Настройки">
|
||||
<ProfileSidebarSettings />
|
||||
</SidebarStackCard>
|
||||
</SidebarStack>
|
||||
</SidebarWrapper>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue