mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Update nav links to blog and portfolio
This commit is contained in:
@@ -91,10 +91,24 @@ const MobileNav: FC<Props> = ({ open, close }) => {
|
||||
</Button>
|
||||
</div>
|
||||
<div className='mobile-button-wrapper'>
|
||||
<Button>Portfolio</Button>
|
||||
<Button
|
||||
onClick={() => {
|
||||
close();
|
||||
router.push('/portfolio');
|
||||
}}
|
||||
>
|
||||
Portfolio
|
||||
</Button>
|
||||
</div>
|
||||
<div className='mobile-button-wrapper'>
|
||||
<Button>Blog</Button>
|
||||
<Button
|
||||
onClick={() => {
|
||||
close();
|
||||
router.push('/blog');
|
||||
}}
|
||||
>
|
||||
Blog
|
||||
</Button>
|
||||
</div>
|
||||
<div className='mobile-button-wrapper'>
|
||||
<Button onClick={() => toggle()}>{dark ? 'Light Mode' : 'Dark Mode'}</Button>
|
||||
|
||||
+2
-2
@@ -76,8 +76,8 @@ const Nav: FC = () => {
|
||||
<div className='buttons'>
|
||||
<IconButton icon={dark ? '/sun.svg' : '/moon.svg'} onClick={toggle} />
|
||||
<Button onClick={() => router.push('/about')}>About</Button>
|
||||
<Button>Portfolio</Button>
|
||||
<Button>Blog</Button>
|
||||
<Button onClick={() => router.push('/portfolio')}>Portfolio</Button>
|
||||
<Button onClick={() => router.push('/blog')}>Blog</Button>
|
||||
<Button variant='outline' onClick={() => window.open('/hazem-krimi.pdf', '_blank')}>
|
||||
Resume
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user