AI update: בדוק את קוד המקור הנוכחי של הדף (HTML/JS) וחפש את כל המופעים של: (א) סקריפט הפופ-אפ המשותף (script src המכיל /pay/popup.

This commit is contained in:
2026-08-22 10:17:14 +00:00
parent d71db458c4
commit e7a3805bb8
+19 -77
View File
@@ -318,82 +318,6 @@
</div>
</footer>
<!-- Floating CTA Button -->
<button class="floating-cta" aria-label="קבלת מידע על רכישת האתר" id="floatingCta">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/>
</svg>
<span>קבלו את האתר</span>
</button>
<!-- Sales Popup -->
<div class="popup-overlay" id="popupOverlay" aria-hidden="true">
<div class="popup-container" role="dialog" aria-modal="true" aria-labelledby="popupTitle">
<button class="popup-close" id="popupClose" aria-label="סגור חלון">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<line x1="18" y1="6" x2="6" y2="18"/>
<line x1="6" y1="6" x2="18" y2="18"/>
</svg>
</button>
<div class="popup-content">
<div class="popup-icon" aria-hidden="true">
<svg viewBox="0 0 64 64">
<circle cx="32" cy="32" r="30" fill="none" stroke="currentColor" stroke-width="2"/>
<path d="M20 32 L28 40 L44 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<h2 class="popup-title" id="popupTitle">האתר שלך מוכן ומחכה לך</h2>
<p class="popup-subtitle">בחרו את האפשרות המתאימה לכם:</p>
<div class="popup-options">
<a href="#" class="popup-option popup-option-basic">
<div class="option-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4"/>
<polyline points="7 10 12 15 17 10"/>
<line x1="12" y1="15" x2="12" y2="3"/>
</svg>
</div>
<div class="option-content">
<span class="option-title">הורדת קוד המקור</span>
<span class="option-desc">קבלו את כל קבצי האתר להעלאה עצמאית</span>
</div>
</a>
<a href="#" class="popup-option popup-option-premium">
<div class="option-badge">מומלץ</div>
<div class="option-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/>
</svg>
</div>
<div class="option-content">
<span class="option-title">אחסון מלא + קוד</span>
<span class="option-desc">כולל דומיין, אחסון וניהול מלא</span>
</div>
</a>
</div>
<div class="popup-warning">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<circle cx="12" cy="12" r="10"/>
<line x1="12" y1="8" x2="12" y2="12"/>
<line x1="12" y1="16" x2="12.01" y2="16"/>
</svg>
<p><strong>שימו לב:</strong> אתר הדגמה זה יימחק תוך 30 יום אם לא תתקבל רכישה או פנייה מצדכם.</p>
</div>
<div class="popup-extras">
<p>רוצים שינויים בעיצוב, עמודים נוספים או תמונות מותאמות אישית?</p>
<p class="popup-extras-note">זו אפשרות בתשלום נפרד — <a href="#contact">צרו קשר</a> ונתאים לכם הצעה.</p>
</div>
</div>
</div>
</div>
<!-- Buy Site FAB and Modal -->
<style>
.buy-site-fab {
@@ -758,6 +682,12 @@
var overlay = document.getElementById('buySiteModalOverlay');
var closeBtn = document.getElementById('buySiteModalClose');
var modal = overlay.querySelector('.buy-site-modal');
var planButtons = modal.querySelectorAll('.buy-site-plan-btn');
// Payment page configuration
var paymentPageUrl = 'https://nwk3ywktc2n8ttnibdhgonlx.sites.clientscenter.co.il';
var bizId = 'cmt03c2i70023pa018nqblrct';
var bizName = 'מספרת קובי שריקי';
function openModal() {
overlay.classList.add('active');
@@ -773,6 +703,11 @@
fab.focus();
}
function goToPayment(plan) {
var url = paymentPageUrl + '?biz=' + encodeURIComponent(bizId) + '&name=' + encodeURIComponent(bizName) + '&plan=' + encodeURIComponent(plan);
window.top.location.href = url;
}
fab.addEventListener('click', openModal);
closeBtn.addEventListener('click', closeModal);
@@ -786,6 +721,14 @@
}
});
// Handle plan button clicks
planButtons.forEach(function(btn) {
btn.addEventListener('click', function() {
var plan = this.getAttribute('data-plan');
goToPayment(plan);
});
});
// Trap focus in modal
var focusable = modal.querySelectorAll('button, a[href], [tabindex]:not([tabindex="-1"])');
var first = focusable[0];
@@ -803,6 +746,5 @@
</script>
<script src="script.js"></script>
<script src="https://emilio.clientscenter.co.il/pay/popup.js" data-src="cmt03c2i70023pa018nqblrct" data-name="מספרת קובי שריקי" data-origin="https://emilio.clientscenter.co.il"></script>
</body>
</html>