adding some form code for email submission

This commit is contained in:
Arjun Patel
2019-01-25 00:06:30 -08:00
parent 0fdcbd4f26
commit 92671aa50e
3 changed files with 29 additions and 27 deletions
+9 -9
View File
@@ -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
})
});
}
}())
})();