Skip to content

Commit

Permalink
feat: Use header semantic element for mobile header
Browse files Browse the repository at this point in the history
  • Loading branch information
timglaser committed Jun 17, 2020
1 parent 70632a8 commit 7d04953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/MobileHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import styles from './MobileHeader.module.scss';

const MobileHeader = ({ className, isOpen, toggle }) => {
return (
<aside className={cx(styles.container, className)}>
<header className={cx(styles.container, className)}>
<div className={styles.menuBar}>
<Link to="/" className={styles.logo} />

Expand All @@ -20,7 +20,7 @@ const MobileHeader = ({ className, isOpen, toggle }) => {
</div>

{isOpen && <Navigation className={styles.navigation} />}
</aside>
</header>
);
};

Expand Down

0 comments on commit 7d04953

Please sign in to comment.