Skip to content

Commit

Permalink
hide dashboard todo feature (#1013)
Browse files Browse the repository at this point in the history
* remove todo feature

* fmt
  • Loading branch information
wow-sven authored Oct 21, 2023
1 parent d3a8f47 commit 4101755
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 73 deletions.
89 changes: 46 additions & 43 deletions dashboard/src/navigation/vertical/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ const navigation = (): VerticalNavItemsType => {
},
],
},
{
sectionTitle: 'Tutorial',
},
{
title: 'Publish Package',
icon: 'bxs-package',
path: '/tutorial/publish/package',
},

// {
// sectionTitle: 'Tutorial',
// },
// {
// title: 'Publish Package',
// icon: 'bxs-package',
// path: '/tutorial/publish/package',
// },
{
sectionTitle: 'Scan',
},
Expand All @@ -36,36 +37,37 @@ const navigation = (): VerticalNavItemsType => {
icon: 'bx-collection',
path: '/scan/transaction/list',
},
{
sectionTitle: 'Wallet & Assets',
},
{
title: 'Wallet',
icon: 'bx-wallet',
path: '/wallet',
},
{
title: 'Assets',
icon: 'bxs-badge-dollar',
children: [
{
title: 'Overvier',
path: '/assets/overview',
},
{
title: 'Deposit',
path: '/assets/deposit',
},
{
title: 'Withdraw',
path: '/assets/withdraw',
},
{
title: 'Transfer',
path: '/assets/transfer',
},
],
},

// {
// sectionTitle: 'Wallet & Assets',
// },
// {
// title: 'Wallet',
// icon: 'bx-wallet',
// path: '/wallet',
// },
// {
// title: 'Assets',
// icon: 'bxs-badge-dollar',
// children: [
// {
// title: 'Overvier',
// path: '/assets/overview',
// },
// {
// title: 'Deposit',
// path: '/assets/deposit',
// },
// {
// title: 'Withdraw',
// path: '/assets/withdraw',
// },
// {
// title: 'Transfer',
// path: '/assets/transfer',
// },
// ],
// },
{
sectionTitle: 'Authentication',
},
Expand All @@ -74,11 +76,12 @@ const navigation = (): VerticalNavItemsType => {
icon: 'bx:food-menu',
path: '/session',
},
{
title: 'OAuth',
icon: 'bx:lock-open-alt',
path: '/oauth',
},

// {
// title: 'OAuth',
// icon: 'bx:lock-open-alt',
// path: '/oauth',
// },
{
sectionTitle: 'Other',
},
Expand Down
58 changes: 28 additions & 30 deletions dashboard/src/pages/login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ import Link from 'next/link'
import Box from '@mui/material/Box'
import Card from '@mui/material/Card'
import Button from '@mui/material/Button'
import Divider from '@mui/material/Divider'
import TextField from '@mui/material/TextField'
import InputLabel from '@mui/material/InputLabel'
import Typography from '@mui/material/Typography'
import IconButton from '@mui/material/IconButton'
import CardContent from '@mui/material/CardContent'
import FormControl from '@mui/material/FormControl'
import { styled, useTheme } from '@mui/material/styles'
Expand All @@ -28,7 +26,7 @@ import { useForm, Controller } from 'react-hook-form'
import { yupResolver } from '@hookform/resolvers/yup'

// ** Icon Imports
import Icon from 'src/@core/components/icon'
// import Icon from 'src/@core/components/icon'

// ** Configs
import themeConfig from 'src/configs/themeConfig'
Expand Down Expand Up @@ -277,33 +275,33 @@ const LoginPage = () => {
</LinkStyled>
</Typography>
</Box>
<Divider sx={{ my: `${theme.spacing(6)} !important` }}>or</Divider>
<Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
<IconButton
href="/"
component={Link}
sx={{ color: '#497ce2' }}
onClick={(e) => e.preventDefault()}
>
<Icon icon="bxl:facebook-circle" />
</IconButton>
<IconButton
href="/"
component={Link}
onClick={(e) => e.preventDefault()}
sx={{ color: theme.palette.mode === 'light' ? '#272727' : 'grey.300' }}
>
<Icon icon="bxl:github" />
</IconButton>
<IconButton
href="/"
component={Link}
sx={{ color: '#db4437' }}
onClick={(e) => e.preventDefault()}
>
<Icon icon="bxl:google" />
</IconButton>
</Box>
{/*<Divider sx={{ my: `${theme.spacing(6)} !important` }}>or</Divider>*/}
{/*<Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'center' }}>*/}
{/* <IconButton*/}
{/* href="/"*/}
{/* component={Link}*/}
{/* sx={{ color: '#497ce2' }}*/}
{/* onClick={(e) => e.preventDefault()}*/}
{/* >*/}
{/* <Icon icon="bxl:facebook-circle" />*/}
{/* </IconButton>*/}
{/* <IconButton*/}
{/* href="/"*/}
{/* component={Link}*/}
{/* onClick={(e) => e.preventDefault()}*/}
{/* sx={{ color: theme.palette.mode === 'light' ? '#272727' : 'grey.300' }}*/}
{/* >*/}
{/* <Icon icon="bxl:github" />*/}
{/* </IconButton>*/}
{/* <IconButton*/}
{/* href="/"*/}
{/* component={Link}*/}
{/* sx={{ color: '#db4437' }}*/}
{/* onClick={(e) => e.preventDefault()}*/}
{/* >*/}
{/* <Icon icon="bxl:google" />*/}
{/* </IconButton>*/}
{/*</Box>*/}
</form>
</CardContent>
</Card>
Expand Down

0 comments on commit 4101755

Please sign in to comment.