Skip to content

Commit

Permalink
add menu btn for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
HectorVilas committed Apr 28, 2023
1 parent dbecb88 commit b9ec7d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ const svgNs = 'http://www.w3.org/2000/svg';

export default function header() {
const header = document.createElement('header');
const menuBtn = document.createElement('div');

menuBtn.setAttribute('id', 'menu-button');

header.append(
logo(),
menuBtn,
nav(),
);

Expand Down

0 comments on commit b9ec7d6

Please sign in to comment.