diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-13 22:04:03 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-13 22:04:26 +0100 |
| commit | aec575c3b5797069e4964cfafa26e3de3b92f99e (patch) | |
| tree | ca58b4e85b4f0d3eb78b57cfa58aa9bad9fd4c2f /src/components/Header/Header.tsx | |
| parent | 5bc55ac0a801cbe82c41a10f7e680612be4deaf8 (diff) | |
chore: add main-nav component
I choose to implement main-nav paths manually instead of fetching
them from GraphQL to ensure functional navigation without JS.
Diffstat (limited to 'src/components/Header/Header.tsx')
| -rw-r--r-- | src/components/Header/Header.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index 599fdc0..52da2e8 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -1,9 +1,14 @@ import Branding from '@components/Branding/Branding'; +import MainNav from '@components/MainNav/MainNav'; +import styles from './Header.module.scss'; const Header = () => { return ( - <header> - <Branding /> + <header className={styles.wrapper}> + <div className={styles.body}> + <Branding /> + <MainNav /> + </div> </header> ); }; |
