'use strict'
/**
* AUTO-GENERATED by ai-convert-to-native.js — review before deploying.
*
* The AI identified 15 semantic block(s) in 4 row(s).
* Each text/image/button block is individually editable in Unlayer.
* html blocks (chips, multi-image strips) require raw HTML edits.
*/
module.exports = {
preheader: "Comme toi, on aime les connexions stables et les relations durables.",
ariaLabel: "Une offre exclusive de TARGO",
rows: ({ textBlock, imageBlock, buttonBlock, htmlBlock, dividerBlock, row }) => [
row([
htmlBlock({ html: "{{#view_url}}
{{/view_url}}", padding: "8px 36px 4px" }), // view-in-browser-link
], { backgroundColor: "#F5FAF7", border: '1px solid #e5e7eb' }),
row([
imageBlock({ src: "https://xqy3m.mjt.lu/img2/xqy3m/eed4d18c-8065-4c5f-b47c-58af63171cd0/content", alt: "TARGO", width: 140, padding: "28px 36px 22px", textAlign: "center" }), // header-logo (centered)
textBlock({ html: "Bonjour {{firstname}},", padding: "10px 25px 14px", fontSize: "16px", fontWeight: 400, color: "#374151", textAlign: "left", lineHeight: "150%" }), // greeting
textBlock({ html: "Avec l'arrivée de l'été, voici un cadeau pour toi, disponible pour un temps limité.
On veut te remercier pour ta loyauté envers l'achat local.
Comme toi, on aime les connexions stables et les relations durables.", padding: "10px 25px 14px", fontSize: "16px", fontWeight: 400, color: "#374151", textAlign: "justify", lineHeight: "150%" }), // intro
textBlock({ html: "Grâce à la confiance de nos clients, on offre maintenant les forfaits à la plus haute vitesse dans le secteur, jusqu'à 3.5 Gbit/s.
Que tu souhaites plus de vitesse, battre une autre offre ou faire optimiser des équipements, n'hésite pas. On est juste à côté et on aime aider.", padding: "10px 25px 0px", fontSize: "16px", fontWeight: 400, color: "#374151", textAlign: "justify", lineHeight: "150%" }), // intro
htmlBlock({ html: "✅ Option 1
", padding: "18px 36px 8px" }), // option-1-chip
htmlBlock({ html: " |
⚡ Disponible instantanément sur Giftbit en cliquant sur ton montant |
🤝 Condition : Maintenir l'abonnement {{commitment_months}} mois ou + |
", padding: "18px 36px 22px" }), // brand-logos-card
buttonBlock({ text: "🎁 {{amount}}", href: "{{gift_url}}", padding: "10px 25px", buttonPadding: "30px 24px", bgColor: "#00C853", color: "#ffffff", borderRadius: "12px", fontSize: "32px" }), // cta
htmlBlock({ html: "{{#expires_at_date}}\n \n
\n | \n \n ⏰ Cadeau valide jusqu'au {{expires_at_date}}\n \n |
\n
\n
\n {{/expires_at_date}}", padding: "0 36px 4px" }), // expiry-badge
textBlock({ html: "🪂 Annulation avant {{commitment_months}} mois : seulement à rembourser au prorata des mois restants.", padding: "10px 36px 22px", fontSize: "14px", fontWeight: 400, color: "#6b7280", textAlign: "left", lineHeight: "150%" }), // prorata
htmlBlock({ html: "⏭️ Option 2
", padding: "18px 36px 6px" }), // option-2-chip
textBlock({ html: "Ne rien faire. Aucun changement à ton abonnement actuel.", padding: "6px 36px 22px", fontSize: "15px", fontWeight: 400, color: "#4b5563", textAlign: "left", lineHeight: "155%" }), // option-2-text
textBlock({ html: "🤝 Merci de faire rouler l'économie de notre région avec nous !
L'équipe TARGO", padding: "18px 36px 28px", fontSize: "15px", fontWeight: 400, color: "#1B2E24", textAlign: "left", lineHeight: "150%" }), // signature
], { backgroundColor: "#ffffff", border: '1px solid #e5e7eb' }),
row([
textBlock({ html: "Tu reçois ce courriel parce que tu es client(e) TARGO à {{description}}.
Une question ? N'hésite pas à nous écrire à support@targo.ca ou nous appeler au 514-448-0773.", padding: "18px 36px 8px", fontSize: "12px", fontWeight: 400, color: "#64748B", textAlign: "center", lineHeight: "155%" }), // contact-info
], { backgroundColor: "#F5FAF7", border: '1px solid #e5e7eb' }),
row([
imageBlock({ src: "https://xqy3m.mjt.lu/img2/xqy3m/eed4d18c-8065-4c5f-b47c-58af63171cd0/content", alt: "TARGO", width: 120, padding: "26px 36px 0", textAlign: "center" }), // footer-logo (split for proper centering)
textBlock({ html: "www.targo.ca · 1867 ch. de la rivière, Ste-Clotilde, QC
© {{year}} TARGO Communications · Tous droits réservés.", padding: "12px 36px 22px", fontSize: "11px", color: "rgba(255,255,255,0.55)", textAlign: "center", lineHeight: "155%" }), // footer-text
], { backgroundColor: "#1C1E26", border: '1px solid #e5e7eb' }),
],
}