side navigation

This commit is contained in:
Gala
2022-08-11 14:03:02 +02:00
parent 21f3991714
commit bdabe31fc9
2 changed files with 9 additions and 9 deletions
+6 -6
View File
@@ -28,18 +28,18 @@ export const Nav = () => {
Icon: ArrowBack,
onClick: handleShowReceiveModal,
},
{
label: 'Bonding',
route: '/bonding',
Icon: Bonding,
onClick: () => navigate('/bonding'),
},
{
label: 'Delegation',
route: '/delegation',
Icon: Delegate,
onClick: () => navigate('/delegation'),
},
{
label: 'Bonding',
route: '/bonding',
Icon: Bonding,
onClick: () => navigate('/bonding'),
},
{
label: 'Docs',
route: '/admin',
+3 -3
View File
@@ -1,6 +1,6 @@
import React, { useContext } from 'react';
import { NymWordmark } from '@nymproject/react/logo/NymWordmark';
import { Box, Container } from '@mui/material';
import { Box, Container, Typography } from '@mui/material';
import { useTheme } from '@mui/material/styles';
import { AppContext } from 'src/context';
import { AppBar, LoadingPage, Nav } from '../components';
@@ -39,9 +39,9 @@ export const ApplicationLayout: React.FC = ({ children }) => {
<Nav />
</Box>
{appVersion && (
<Box color="#888" ml={5} mt={8}>
<Typography sx={{ color: (t) => t.palette.grey[500], fontSize: 14, ml: 5, mt: 8 }}>
Version {appVersion}
</Box>
</Typography>
)}
</Box>
<Container maxWidth="xl">