taking out from gitignore for github pages

This commit is contained in:
Arjun Patel
2019-01-25 01:16:53 -08:00
parent 586c848b7f
commit 748f25ce2c
5 changed files with 63 additions and 1 deletions
+1 -1
View File
@@ -169,4 +169,4 @@ $RECYCLE.BIN/
# End of https://www.gitignore.io/api/node,sublimetext,windows,macos,sass
dist/
# dist/
+35
View File
File diff suppressed because one or more lines are too long
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 572 KiB

+26
View File
@@ -0,0 +1,26 @@
$(document).ready(function() {
$('#email-form').submit(function(e) {
e.preventDefault();
$.ajax({
url: 'http://localhost:3000/api/users/landing',
type: 'post',
data: $('#email-form').serialize(),
success: function(data) {
//whatever you wanna do after the form is successfully submitted
$('#popup')
.text('Added to list! Thank you for joining!')
.slideDown()
.delay(4000)
.slideUp();
},
error: function(error) {
$('#popup')
.text('Email invalid or exists')
.slideDown()
.delay(4000)
.slideUp();
}
});
});
});
+1
View File
@@ -0,0 +1 @@
!function(){const e=document.documentElement;if(e.classList.remove("no-js"),e.classList.add("js"),document.body.classList.contains("has-animations")){const e=window.sr=ScrollReveal();e.reveal(".hero-title, .hero-paragraph, .hero-cta",{duration:1e3,distance:"40px",easing:"cubic-bezier(0.5, -0.01, 0, 1.005)",origin:"bottom",interval:150}),e.reveal(".feature, .pricing-table",{duration:600,distance:"40px",easing:"cubic-bezier(0.5, -0.01, 0, 1.005)",interval:100,origin:"bottom",viewFactor:.5}),e.reveal(".feature-extended-image",{duration:600,scale:.9,easing:"cubic-bezier(0.5, -0.01, 0, 1.005)",viewFactor:.5})}}();