Renamed source directory, changed dockerfile for running docker image according to the official documentation

This commit is contained in:
2026-03-06 12:32:44 +01:00
parent 3cd2c3d0a6
commit 460fdb828e
409 changed files with 36 additions and 34 deletions

View File

@@ -0,0 +1,34 @@
(function(){
// if (document.querySelector('.show-promo-popup')) {
// alert(1);
// }
function addPopup(){
var popup = '<div class="promo-popup">' +
'<a href="#" class="pp-close"><span class="icon-close"></span></a>' +
'<div class="pp-text">Sign up to Learn How to Get Your Book Published!</div>' +
'<div class="pp-btn"><a href="https://livecarta.com/user/registration" class="button mp-top-left xxl">sign up for free</a></div>' +
'</div>';
document.body.insertAdjacentHTML('beforeend', popup);
setTimeout(function(){
document.querySelector('.promo-popup').classList.add('show');
document.querySelector('.promo-popup .pp-close').addEventListener('click', function(e){
e.preventDefault();
var popup = document.querySelector('.promo-popup');
popup.parentElement.removeChild(popup);
})
},500);
}
if (document.querySelector('.show-promo-popup')) {
setTimeout(function(){
if (!document.querySelector('.signed-user')){
addPopup();
}
}, 6000);
}
})();