diff --git a/README.md b/README.md index 872dc2b..27453df 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,10 @@ Buttercup is a free, open-source and cross-platform password manager. This repository contains Buttercup's static homepage. -![](https://cloud.githubusercontent.com/assets/768052/23095888/90b2ac44-f61a-11e6-9c39-30496362d8de.png) +![](./static/img/buttercup-homepage.png) + +### Usage +- `git clone https://github.com/buttercup/buttercup-website.git` +- `cd buttercup-website` +- `npm install` +- `npm dev` to run locally at localhost:3000 \ No newline at end of file diff --git a/components/header.js b/components/header.js index 3742840..b2c7fba 100644 --- a/components/header.js +++ b/components/header.js @@ -1,5 +1,11 @@ import Link from 'next/link'; +// Toggles mobile hamburger menu +const toggleMenu = () => { + const menu = document.getElementById('mainMenu') + menu.classList.toggle('is-active') +} + export default () => (