Website templates

This commit is contained in:
Dawid Olko
2023-07-26 19:33:39 +02:00
commit 0d2d73a034
10339 changed files with 2002333 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
$(document).ready(function() {
"use strict";
// --------------Newsletter-----------------------
$(".newsletter-signup").ajaxChimp({
callback: mailchimpResponse,
url: "" // Replace your mailchimp post url inside double quote "".
});
$( window ).resize(function() {
location.reload();
});
function mailchimpResponse(resp) {
if(resp.result === 'success') {
$('.alert-success').html(resp.msg).fadeIn().delay(3000).fadeOut();
} else if(resp.result === 'error') {
$('.alert-warning').html(resp.msg).fadeIn().delay(3000).fadeOut();
}
};
});