1
0
Fork 0
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:
Fedor Katurov 2022-07-27 16:29:22 +07:00
parent 8a4709103b
commit 8a71d3d462
18 changed files with 166 additions and 108 deletions

View file

@ -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 />