adding in the basic testimonials and all

This commit is contained in:
Arjun Patel
2019-02-25 00:18:46 -08:00
parent 4ebde0907f
commit 62e86b115e
12 changed files with 154 additions and 219 deletions
+2 -110
View File
File diff suppressed because one or more lines are too long
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

+19 -11
View File
@@ -12,24 +12,32 @@ $(document).ready(function() {
$('#email-form').submit(function(e) {
e.preventDefault();
$('#popup')
.text('Added to list! Thank you for joining!')
.slideDown()
.delay(4000)
.slideUp();
$.ajax({
url: 'https://ucharify-api.herokuapp.com/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();
// whatever you wanna do after the form is successfully submitted
// $('#popup')
// .text('Added to list! Thank you for joining!')
// .slideDown()
// .delay(4000)
// .slideUp();
console.log('successfully added email');
},
error: function(error) {
$('#popup')
.text('Email invalid or exists')
.slideDown()
.delay(4000)
.slideUp();
// $('#popup')
// .text('Email invalid or exists')
// .slideDown()
// .delay(4000)
// .slideUp();
console.log('invalid or exists email');
}
});
});
+1 -34
View File
@@ -1,34 +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, .join-paragraph, .hero-cta, #countdown, .testimonial',
{
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: 0.5
}),
e.reveal('.feature-extended-image', {
duration: 600,
scale: 0.9,
easing: 'cubic-bezier(0.5, -0.01, 0, 1.005)',
viewFactor: 0.5
});
}
})();
!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, .testimonial",{duration:600,scale:.9,easing:"cubic-bezier(0.5, -0.01, 0, 1.005)",viewFactor:.5})}}();