Change nav buttons order

This commit is contained in:
Hazem Krimi
2021-01-14 00:39:02 +01:00
parent f45858f52e
commit 9c44c6d959
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -91,10 +91,10 @@ const MobileNav: FC<Props> = ({ open, close }) => {
</Button> </Button>
</div> </div>
<div className='mobile-button-wrapper'> <div className='mobile-button-wrapper'>
<Button>Blog</Button> <Button>Portfolio</Button>
</div> </div>
<div className='mobile-button-wrapper'> <div className='mobile-button-wrapper'>
<Button>Portfolio</Button> <Button>Blog</Button>
</div> </div>
<div className='mobile-button-wrapper'> <div className='mobile-button-wrapper'>
<Button onClick={() => toggle()}>{dark ? 'Light Mode' : 'Dark Mode'}</Button> <Button onClick={() => toggle()}>{dark ? 'Light Mode' : 'Dark Mode'}</Button>
+1 -1
View File
@@ -76,8 +76,8 @@ const Nav: FC = () => {
<div className='buttons'> <div className='buttons'>
<IconButton icon={dark ? '/sun.svg' : '/moon.svg'} onClick={toggle} /> <IconButton icon={dark ? '/sun.svg' : '/moon.svg'} onClick={toggle} />
<Button onClick={() => router.push('/about')}>About</Button> <Button onClick={() => router.push('/about')}>About</Button>
<Button>Blog</Button>
<Button>Portfolio</Button> <Button>Portfolio</Button>
<Button>Blog</Button>
<Button variant='outline' onClick={() => window.open('/hazem-krimi.pdf', '_blank')}> <Button variant='outline' onClick={() => window.open('/hazem-krimi.pdf', '_blank')}>
Resume Resume
</Button> </Button>