summaryrefslogtreecommitdiffstats
path: root/src/components/MainNav/MainNav.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-20 17:13:15 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-20 17:20:56 +0100
commitdf9e8b1985a0f1c71c0657e72fad008bf437faba (patch)
treeeeb2a066982a3e81836668ce9a5613cffc023e77 /src/components/MainNav/MainNav.tsx
parent8966fde6ff520cfbe74c031c8b2e3a66d298b172 (diff)
chore: add projects to main nav
I redesign a little the main nav on small screens so it can takes two columns when the screen height is low. I change the 2xs breakpoint to 500px instead of 400px.
Diffstat (limited to 'src/components/MainNav/MainNav.tsx')
-rw-r--r--src/components/MainNav/MainNav.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/MainNav/MainNav.tsx b/src/components/MainNav/MainNav.tsx
index 0339a35..afc4193 100644
--- a/src/components/MainNav/MainNav.tsx
+++ b/src/components/MainNav/MainNav.tsx
@@ -7,6 +7,7 @@ import {
CVIcon,
HamburgerIcon,
HomeIcon,
+ ProjectsIcon,
} from '@components/Icons';
import { mainNav } from '@config/nav';
import styles from './MainNav.module.scss';
@@ -31,6 +32,8 @@ const MainNav = ({
return <ContactIcon />;
case 'cv':
return <CVIcon />;
+ case 'projects':
+ return <ProjectsIcon />;
default:
break;
}