fix CTA link hide animation
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
const cta = document.querySelector(".cta");
|
const cta = document.querySelector(".cta");
|
||||||
|
const link = document.querySelector(".cta-link");
|
||||||
const nav = document.querySelector("nav");
|
const nav = document.querySelector("nav");
|
||||||
|
|
||||||
if (cta && nav) {
|
if (cta && nav) {
|
||||||
@@ -10,6 +11,7 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
nav.style.setProperty("margin-top", "1%", "important");
|
nav.style.setProperty("margin-top", "1%", "important");
|
||||||
|
link.style.setProperty("display", "none", "important");
|
||||||
}, 500);
|
}, 500);
|
||||||
}, 10000);
|
}, 10000);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
{# CTA banner content #}
|
{# CTA banner content #}
|
||||||
Kolekcja 300+ ciekawych linków z newslettera? <a target="_blank" style="color:var(--btn-txt-color)" href="https://newsletter.jozwiak.top/resources/archiwum?s=cta">Znajdziesz ją tutaj</a>
|
Kolekcja 300+ ciekawych linków z newslettera? <a target="_blank" class="cta-link" style="color:var(--btn-txt-color)" href="https://newsletter.jozwiak.top/resources/archiwum?s=cta">Znajdziesz ją tutaj</a>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user