From 3685f559fd6a416bc73bbcf16292443a1e085993 Mon Sep 17 00:00:00 2001 From: 0xfff <0xfff@protonmail.com> Date: Tue, 1 Nov 2016 02:10:13 +0100 Subject: [PATCH] [Feature] Mobile Nav + Burger / CTA on Home --- _i18n/en.yml | 2 +- _includes/nav-desktop.html | 5 +- _includes/nav-mobile.html | 14 ++- _layouts/default.html | 2 +- index.html | 13 +- package.json | 5 +- src/js/boids.js | 219 ++++++++++++++++----------------- src/js/full-menu.js | 24 +++- src/js/no-scroll.js | 65 ++++++++++ src/scss/_hero.scss | 4 +- src/scss/_home.scss | 234 ------------------------------------ src/scss/_nav.scss | 4 + src/scss/_overlay-menu.scss | 170 ++++++-------------------- src/scss/_section.scss | 33 ++++- src/scss/pages/_home.scss | 16 ++- 15 files changed, 307 insertions(+), 503 deletions(-) create mode 100644 src/js/no-scroll.js delete mode 100644 src/scss/_home.scss diff --git a/_i18n/en.yml b/_i18n/en.yml index c4076da..255e17f 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -19,7 +19,7 @@ pages: video-heading: Dash is Digital Cash You Can Spend Online video-text: Use Dash to make instant, anonymous payments online or in-store using our secure open-source platform hosted by thousands of users around the world. - video-btn: Watch Overview Video + video-btn: Overview Video feature-private-heading: Private feature-private-text: Dash is private. diff --git a/_includes/nav-desktop.html b/_includes/nav-desktop.html index e00e6a2..0c4b57d 100644 --- a/_includes/nav-desktop.html +++ b/_includes/nav-desktop.html @@ -9,10 +9,11 @@ {% assign logo-color = include.logo-color %} {% endif %} + +
- diff --git a/_includes/nav-mobile.html b/_includes/nav-mobile.html index 1c14720..130b93e 100644 --- a/_includes/nav-mobile.html +++ b/_includes/nav-mobile.html @@ -1,6 +1,6 @@ {% include base.html %} -