mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-02 02:10:27 +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>
|
||||
|
||||
Reference in New Issue
Block a user