mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
added sidebar router
This commit is contained in:
parent
8a4709103b
commit
8a71d3d462
18 changed files with 166 additions and 108 deletions
|
@ -1,4 +1,4 @@
|
|||
import React, { VFC } from 'react';
|
||||
import { VFC } from 'react';
|
||||
|
||||
import Link from 'next/link';
|
||||
|
||||
|
@ -8,7 +8,6 @@ import { Button } from '~/components/input/Button';
|
|||
import { VerticalMenu } from '~/components/menu/VerticalMenu';
|
||||
import { URLS } from '~/constants/urls';
|
||||
import { ProfileSidebarHead } from '~/containers/profile/ProfileSidebarHead';
|
||||
import { ProfileStats } from '~/containers/profile/ProfileStats';
|
||||
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
|
@ -18,8 +17,6 @@ const SettingsMenu: VFC<SettingsMenuProps> = () => (
|
|||
<Group>
|
||||
<ProfileSidebarHead />
|
||||
|
||||
<br />
|
||||
|
||||
<Group>
|
||||
<VerticalMenu className={styles.menu}>
|
||||
<Link href={URLS.SETTINGS.BASE} passHref>
|
||||
|
@ -35,10 +32,6 @@ const SettingsMenu: VFC<SettingsMenuProps> = () => (
|
|||
</Link>
|
||||
</VerticalMenu>
|
||||
|
||||
<div className={styles.stats}>
|
||||
<ProfileStats />
|
||||
</div>
|
||||
|
||||
<Group horizontal>
|
||||
<Filler />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue