și prietenul tău beneficiaza pe loc de o reducere de 10% la tariful de manoperă din factură.
<style>
.page .post-title,<br /> .page .entry-title,<br /> .page-header,<br /> .entry-meta,<br /> .post-meta,<br /> .comments-area {<br /> display: none !important;<br /> }<br /></style>
<!– Header Image –>
<div style=”text-align: center; margin: 0;”>
Foloseşte codul tău de recomandare!
<p id=”pageText” style=”margin: 10px 0;”><input id=”promoCode” style=”padding: 10px; width: 80%; margin-top: 10px; margin-bottom: 10px; border-radius: 5px; border: 1px solid #cccccc;” type=”text” placeholder=”Introdu codul tau de recomandare primit pe email aici” /></p>
<p style=”margin: 10px 0;”>și prietenul tău beneficiaza pe loc de o <strong>reducere de 10% la tariful de manoperă</strong> din factură.</p>
<button style=”padding: 10px 20px; background-color: #25d366; color: white; border: none; border-radius: 5px; cursor: pointer; font-size: 16px;”>
Trimite pe WhatsApp
</button>
</div>
<!– WhatsApp Script –>
<script>
function sendWhatsApp() {
var code = document.getElementById(‘promoCode’).value.trim();
if(code === ”) {
alert(‘Te rugăm să introduci codul!’);
return;
}
// Luăm titlul și textul paginii
var title = document.getElementById(‘pageTitle’).innerText;
var text = document.getElementById(‘pageText’).innerText;
// Construim mesajul complet
var message = `${title}\n${text}\nCodul recomandat: ${code}\nBeneficiezi de 10% reducere la tariful de manoperă!`;
// Trimitem pe WhatsApp
var whatsappURL = „https://wa.me/?text=” + encodeURIComponent(message);
window.open(whatsappURL, ‘_blank’);
}
</script>

