From 92671aa50e41cac2daf667aa6ad24f2396bf1a27 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Fri, 25 Jan 2019 00:06:30 -0800 Subject: [PATCH] adding some form code for email submission --- index.html | 6 +++++- src/js/main.js | 18 +++++++++--------- src/scss/style.scss | 32 +++++++++++++++----------------- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/index.html b/index.html index d5580d8..2145393 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,7 @@ +
@@ -48,7 +49,9 @@

Landing template for startups

Our landing page template works on all devices, so you only have to set it up once, and get beautiful results forever.

-

Get started now

+
+ +
@@ -417,5 +420,6 @@
+ diff --git a/src/js/main.js b/src/js/main.js index 309614d..25a0ff0 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -1,13 +1,13 @@ -(function () { - const doc = document.documentElement +(function() { + const doc = document.documentElement; - doc.classList.remove('no-js') - doc.classList.add('js') + doc.classList.remove('no-js'); + doc.classList.add('js'); // Reveal animations if (document.body.classList.contains('has-animations')) { /* global ScrollReveal */ - const sr = window.sr = ScrollReveal() + const sr = (window.sr = ScrollReveal()); sr.reveal('.hero-title, .hero-paragraph, .hero-cta', { duration: 1000, @@ -15,7 +15,7 @@ easing: 'cubic-bezier(0.5, -0.01, 0, 1.005)', origin: 'bottom', interval: 150 - }) + }); sr.reveal('.feature, .pricing-table', { duration: 600, @@ -24,13 +24,13 @@ interval: 100, origin: 'bottom', viewFactor: 0.5 - }) + }); sr.reveal('.feature-extended-image', { duration: 600, scale: 0.9, easing: 'cubic-bezier(0.5, -0.01, 0, 1.005)', viewFactor: 0.5 - }) + }); } -}()) +})(); diff --git a/src/scss/style.scss b/src/scss/style.scss index 3b0bca3..fc60b20 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -1,74 +1,72 @@ /*-------------------------------------------------------------- # Variables, functions and mixins --------------------------------------------------------------*/ -@import "abstracts/variables", - "abstracts/functions", - "abstracts/mixins", - 'abstracts/include-media'; +@import 'abstracts/variables', 'abstracts/functions', 'abstracts/mixins', + 'abstracts/include-media'; /*-------------------------------------------------------------- 1.0 Normalize * normalize.css v7.0.0 | MIT License * github.com/necolas/normalize.css --------------------------------------------------------------*/ -@import "normalize"; +@import 'normalize'; /*-------------------------------------------------------------- # Base --------------------------------------------------------------*/ -@import "base/base"; +@import 'base/base'; /*-------------------------------------------------------------- # Typography --------------------------------------------------------------*/ -@import "base/typography"; +@import 'base/typography'; /*-------------------------------------------------------------- # Helpers --------------------------------------------------------------*/ -@import "base/helpers"; +@import 'base/helpers'; /*-------------------------------------------------------------- # Buttons --------------------------------------------------------------*/ -@import "components/buttons"; +@import 'components/buttons'; /*-------------------------------------------------------------- # Header --------------------------------------------------------------*/ -@import "layout/header"; +@import 'layout/header'; /*-------------------------------------------------------------- # Hero --------------------------------------------------------------*/ -@import "layout/hero"; +@import 'layout/hero'; /*-------------------------------------------------------------- # Clients --------------------------------------------------------------*/ -@import "layout/clients"; +@import 'layout/clients'; /*-------------------------------------------------------------- # Features --------------------------------------------------------------*/ -@import "layout/features"; +@import 'layout/features'; /*-------------------------------------------------------------- # Features extended --------------------------------------------------------------*/ -@import "layout/features-extended"; +@import 'layout/features-extended'; /*-------------------------------------------------------------- # Pricing --------------------------------------------------------------*/ -@import "layout/pricing"; +@import 'layout/pricing'; /*-------------------------------------------------------------- # Site content --------------------------------------------------------------*/ -@import "layout/main"; +@import 'layout/main'; /*-------------------------------------------------------------- # Footer --------------------------------------------------------------*/ -@import "layout/footer"; +@import 'layout/footer';