adding in the basic testimonials and all
This commit is contained in:
Vendored
+2
-110
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 57 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 6.8 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 74 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 7.4 KiB |
Vendored
+19
-11
@@ -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');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Vendored
+1
-34
@@ -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})}}();
|
||||
Reference in New Issue
Block a user