Hedrick

We’re an Official Webflow Expert agency specializing in building powerful, responsive websites. Hire our team of Webflow developers for one-time projects or ongoing work.
script> document.addEventListener("DOMContentLoaded", function () { const modalShown = sessionStorage.getItem('modalShown'); document.querySelectorAll('.template-card').forEach(item => { item.addEventListener('click', function (e) { e.preventDefault(); const url = this.getAttribute('data-url'); const modal = document.getElementById('templateModal'); if (!modal) { console.error("Modal not found"); return; } if (!modalShown) { sessionStorage.setItem('modalShown', 'true'); modal.classList.add('active'); setTimeout(() => { modal.classList.remove('active'); window.open(url, '_blank'); }, 3000); } else { window.open(url, '_blank'); } }); }); });