diff --git a/scripts/campaigns/templates/gift-email-native-reminder-fr.html b/scripts/campaigns/templates/gift-email-native-reminder-fr.html new file mode 100644 index 0000000..b759be7 --- /dev/null +++ b/scripts/campaigns/templates/gift-email-native-reminder-fr.html @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/scripts/campaigns/templates/gift-email-native-reminder-fr.json b/scripts/campaigns/templates/gift-email-native-reminder-fr.json new file mode 100644 index 0000000..fed1fd4 --- /dev/null +++ b/scripts/campaigns/templates/gift-email-native-reminder-fr.json @@ -0,0 +1,1276 @@ +{ + "counters": { + "u_row": 14, + "u_column": 14, + "u_content_text": 9, + "u_content_image": 2, + "u_content_button": 1, + "u_content_divider": 0, + "u_content_html": 4 + }, + "body": { + "id": "u_body", + "rows": [ + { + "id": "u_row_1", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_1", + "contents": [ + { + "id": "u_content_html_1", + "type": "html", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "0", + "anchor": "", + "_meta": { + "htmlID": "u_content_html_1", + "htmlClassNames": "u_content_html" + }, + "html": "{{#view_url}}
Affichage incorrect ? Voir dans le navigateur
{{/view_url}}" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_1", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "8px 0 0", + "anchor": "", + "borderRadius": "", + "_meta": { + "htmlID": "u_row_1", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_2", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_2", + "contents": [ + { + "id": "u_content_image_1", + "type": "image", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "28px 36px 22px", + "anchor": "", + "src": { + "url": "https://xqy3m.mjt.lu/img2/xqy3m/eed4d18c-8065-4c5f-b47c-58af63171cd0/content", + "width": 140, + "height": "auto", + "autoWidth": false, + "maxWidth": "140px" + }, + "textAlign": "center", + "altText": "TARGO", + "action": { + "name": "web", + "values": { + "href": "", + "target": "_blank" + } + }, + "_meta": { + "htmlID": "u_content_image_1", + "htmlClassNames": "u_content_image" + } + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_2", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "12px 12px 0 0", + "_meta": { + "htmlID": "u_row_2", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_3", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_3", + "contents": [ + { + "id": "u_content_text_1", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "20px 36px 8px", + "anchor": "", + "fontWeight": 400, + "fontSize": "16px", + "color": "#374151", + "textAlign": "left", + "lineHeight": "150%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_1", + "htmlClassNames": "u_content_text" + }, + "text": "Petit rappel pour {{firstname}}," + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_3", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_3", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_4", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_4", + "contents": [ + { + "id": "u_content_text_2", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "4px 36px 14px", + "anchor": "", + "fontWeight": 600, + "fontSize": "17px", + "color": "#1B2E24", + "textAlign": "left", + "lineHeight": "150%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_2", + "htmlClassNames": "u_content_text" + }, + "text": "🎁 Ton cadeau de {{amount}} reste disponible jusqu'au {{expires_at_date}}." + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_4", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_4", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_5", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_5", + "contents": [ + { + "id": "u_content_text_3", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "0 36px 18px", + "anchor": "", + "fontWeight": 400, + "fontSize": "16px", + "color": "#374151", + "textAlign": "justify", + "lineHeight": "150%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_3", + "htmlClassNames": "u_content_text" + }, + "text": "On voulait juste s'assurer que tu ne l'as pas manqué. La carte-cadeau qu'on t'a envoyée pour te remercier peut s'utiliser chez des centaines de marques canadiennes, en quelques clics.

Si tu préfères ne pas l'utiliser, aucun souci, pas besoin de répondre à ce courriel." + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_5", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_5", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_6", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_6", + "contents": [ + { + "id": "u_content_html_2", + "type": "html", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "8px 36px 4px", + "anchor": "", + "_meta": { + "htmlID": "u_content_html_2", + "htmlClassNames": "u_content_html" + }, + "html": "
✅ Option 1
" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_6", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_6", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_7", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_7", + "contents": [ + { + "id": "u_content_html_3", + "type": "html", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "0 36px 22px", + "anchor": "", + "_meta": { + "htmlID": "u_content_html_3", + "htmlClassNames": "u_content_html" + }, + "html": "\n \n
\n
\n 🎁 {{amount}} chez des centaines de marques

\n \n \"Tim\n \"Walmart\"\n \"Home\n \"IGA\"\n \"Home\n et plus\n \n
\n
⚡ Disponible instantanément sur Giftbit en cliquant sur ton montant
\n
🤝 Condition : Maintenir l'abonnement {{commitment_months}} mois ou +
\n
" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_7", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_7", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_8", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_8", + "contents": [ + { + "id": "u_content_button_1", + "type": "button", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "8px 36px", + "anchor": "", + "href": { + "name": "web", + "values": { + "href": "{{gift_url}}", + "target": "_blank" + } + }, + "buttonColors": { + "color": "#FFFFFF", + "backgroundColor": "#00C853", + "hoverColor": "#FFFFFF", + "hoverBackgroundColor": "#005026" + }, + "size": { + "autoWidth": false, + "width": "100%" + }, + "fontSize": "32px", + "fontWeight": 700, + "textAlign": "center", + "lineHeight": "120%", + "padding": "30px 24px", + "border": {}, + "borderRadius": "12px", + "_meta": { + "htmlID": "u_content_button_1", + "htmlClassNames": "u_content_button" + }, + "text": "🎁   {{amount}}" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_8", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_8", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_9", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_9", + "contents": [ + { + "id": "u_content_text_4", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "0 36px 4px", + "anchor": "", + "fontWeight": 400, + "fontSize": "13px", + "color": "#64748B", + "textAlign": "center", + "lineHeight": "140%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_4", + "htmlClassNames": "u_content_text" + }, + "text": "⏰ Cadeau valide jusqu'au {{expires_at_date}}" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_9", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_9", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_10", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_10", + "contents": [ + { + "id": "u_content_text_5", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "10px 36px 22px", + "anchor": "", + "fontWeight": 400, + "fontSize": "14px", + "color": "#6b7280", + "textAlign": "left", + "lineHeight": "150%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_5", + "htmlClassNames": "u_content_text" + }, + "text": "🪂 Annulation avant {{commitment_months}} mois : seulement à rembourser au prorata des mois restants." + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_10", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_10", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_11", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_11", + "contents": [ + { + "id": "u_content_html_4", + "type": "html", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "8px 36px 4px", + "anchor": "", + "_meta": { + "htmlID": "u_content_html_4", + "htmlClassNames": "u_content_html" + }, + "html": "
⏭️ Option 2
" + } + }, + { + "id": "u_content_text_6", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "0 36px 22px", + "anchor": "", + "fontWeight": 400, + "fontSize": "15px", + "color": "#4b5563", + "textAlign": "left", + "lineHeight": "155%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_6", + "htmlClassNames": "u_content_text" + }, + "text": "Ne rien faire. Aucun changement à ton abonnement actuel." + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_11", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_11", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_12", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_12", + "contents": [ + { + "id": "u_content_text_7", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "18px 36px 28px", + "anchor": "", + "fontWeight": 400, + "fontSize": "15px", + "color": "#1B2E24", + "textAlign": "left", + "lineHeight": "150%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_7", + "htmlClassNames": "u_content_text" + }, + "text": "🤝 Merci de faire rouler l'économie de notre région avec nous !
L'équipe TARGO" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_12", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0 0 12px 12px", + "_meta": { + "htmlID": "u_row_12", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_13", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_13", + "contents": [ + { + "id": "u_content_text_8", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "18px 36px 8px", + "anchor": "", + "fontWeight": 400, + "fontSize": "12px", + "color": "#64748B", + "textAlign": "center", + "lineHeight": "155%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_8", + "htmlClassNames": "u_content_text" + }, + "text": "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." + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_13", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "", + "_meta": { + "htmlID": "u_row_13", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_14", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_14", + "contents": [ + { + "id": "u_content_image_2", + "type": "image", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "26px 36px 0", + "anchor": "", + "src": { + "url": "https://xqy3m.mjt.lu/img2/xqy3m/eed4d18c-8065-4c5f-b47c-58af63171cd0/content", + "width": 120, + "height": "auto", + "autoWidth": false, + "maxWidth": "120px" + }, + "textAlign": "center", + "altText": "TARGO", + "action": { + "name": "web", + "values": { + "href": "", + "target": "_blank" + } + }, + "_meta": { + "htmlID": "u_content_image_2", + "htmlClassNames": "u_content_image" + } + } + }, + { + "id": "u_content_text_9", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "12px 36px 22px", + "anchor": "", + "fontWeight": 400, + "fontSize": "11px", + "color": "rgba(255,255,255,0.55)", + "textAlign": "center", + "lineHeight": "155%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_9", + "htmlClassNames": "u_content_text" + }, + "text": "www.targo.ca · 1867 ch. de la rivière, Ste-Clotilde, QC
© {{year}} TARGO Communications · Tous droits réservés." + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_14", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#1C1E26", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "12px", + "_meta": { + "htmlID": "u_row_14", + "htmlClassNames": "u_row" + } + } + } + ], + "values": { + "popupPosition": "center", + "popupWidth": "600px", + "popupHeight": "auto", + "borderRadius": "10px", + "contentAlign": "center", + "contentVerticalAlign": "center", + "contentWidth": "600px", + "fontFamily": { + "label": "Plus Jakarta Sans", + "value": "'Plus Jakarta Sans', sans-serif", + "url": "https://fonts.googleapis.com/css?family=Plus+Jakarta+Sans:400,500,600,700" + }, + "textColor": "#1B2E24", + "popupBackgroundColor": "#FFFFFF", + "backgroundColor": "#F5FAF7", + "preheaderText": "Comme toi, on aime les connexions stables et les relations durables.", + "linkStyle": { + "body": true, + "linkColor": "#00C853", + "linkHoverColor": "#005026", + "linkUnderline": true, + "linkHoverUnderline": true + }, + "_meta": { + "htmlID": "u_body", + "htmlClassNames": "u_body" + } + } + }, + "schemaVersion": 16 +} \ No newline at end of file diff --git a/services/targo-hub/scripts/build-native-template.js b/services/targo-hub/scripts/build-native-template.js new file mode 100644 index 0000000..bbdc59a --- /dev/null +++ b/services/targo-hub/scripts/build-native-template.js @@ -0,0 +1,277 @@ +#!/usr/bin/env node +'use strict' +/** + * build-native-template.js — generate a template using NATIVE Unlayer blocks + * (text / image / button / divider / html) instead of one giant Custom HTML + * block. Produces matched .json (for the Unlayer editor canvas) and .html + * (what the worker sends to recipients) in lockstep so what the operator + * edits is exactly what the recipient receives. + * + * Usage: + * node build-native-template.js gift-email-native-reminder-fr + * + * Each template is defined as a JS module under templates-spec/.js + * exporting { body: { rows: [...] }, preheader, ariaLabel }. + * + * Native block coverage (granular editability in Unlayer): + * - text : rich-text paragraphs, supports {{vars}} + * - image : standalone logos, with alt + optional href + * - button : single CTA, supports {{vars}} in href and label + * - divider : horizontal rule + * - html : escape-hatch for custom markup (chips, multi-logo strips) + */ + +const fs = require('fs') +const path = require('path') + +// ── ID counter so each block gets a unique htmlID Unlayer can reference ── +const counter = { u_row: 0, u_column: 0, u_content_text: 0, u_content_image: 0, + u_content_button: 0, u_content_divider: 0, u_content_html: 0 } +function nextId (kind) { counter[kind]++; return `${kind}_${counter[kind]}` } + +// ── Default values shared across all blocks (Unlayer fills these on save) ── +const COMMON = { + selectable: true, draggable: true, duplicatable: true, deletable: true, + hideable: true, hideDesktop: false, displayCondition: null, +} + +// ── Block factories — each returns { json: , html: } ── +function textBlock ({ html, padding = '10px 36px', fontSize = '16px', fontWeight = 400, + color = '#374151', textAlign = 'left', lineHeight = '150%' }) { + const id = nextId('u_content_text') + return { + json: { + id, type: 'text', + values: { + ...COMMON, containerPadding: padding, anchor: '', + fontWeight, fontSize, color, textAlign, lineHeight, + linkStyle: { inherit: true }, + _meta: { htmlID: id, htmlClassNames: 'u_content_text' }, + text: html, + }, + }, + html: ` + +
+
${html}
+
`, + } +} + +function imageBlock ({ src, alt = '', width = 140, padding = '10px', + textAlign = 'center', href = '' }) { + const id = nextId('u_content_image') + const imgTag = `${alt}` + const wrapped = href ? `${imgTag}` : imgTag + return { + json: { + id, type: 'image', + values: { + ...COMMON, containerPadding: padding, anchor: '', + src: { url: src, width, height: 'auto', autoWidth: false, maxWidth: `${width}px` }, + textAlign, altText: alt, + action: href ? { name: 'web', values: { href, target: '_blank' } } : { name: 'web', values: { href: '', target: '_blank' } }, + _meta: { htmlID: id, htmlClassNames: 'u_content_image' }, + }, + }, + html: ` + +
+ ${wrapped} +
`, + } +} + +function buttonBlock ({ text, href, padding = '10px 25px', + buttonPadding = '30px 24px', bgColor = '#00C853', + color = '#FFFFFF', borderRadius = '12px', + fontSize = '32px', fontWeight = 700 }) { + const id = nextId('u_content_button') + return { + json: { + id, type: 'button', + values: { + ...COMMON, containerPadding: padding, anchor: '', + href: { name: 'web', values: { href, target: '_blank' } }, + buttonColors: { color, backgroundColor: bgColor, hoverColor: color, hoverBackgroundColor: '#005026' }, + size: { autoWidth: false, width: '100%' }, + fontSize, fontWeight, textAlign: 'center', lineHeight: '120%', + padding: buttonPadding, border: {}, borderRadius, + _meta: { htmlID: id, htmlClassNames: 'u_content_button' }, + text: `${text}`, + }, + }, + html: ` + +
+ ${text} +
`, + } +} + +function htmlBlock ({ html, padding = '0' }) { + const id = nextId('u_content_html') + return { + json: { + id, type: 'html', + values: { + ...COMMON, containerPadding: padding, anchor: '', + _meta: { htmlID: id, htmlClassNames: 'u_content_html' }, + html, + }, + }, + html: ` + +
+ ${html} +
`, + } +} + +function dividerBlock ({ padding = '10px', borderColor = '#e5e7eb' }) { + const id = nextId('u_content_divider') + return { + json: { + id, type: 'divider', + values: { + ...COMMON, containerPadding: padding, anchor: '', + width: '100%', border: { borderTopWidth: '1px', borderTopStyle: 'solid', borderTopColor: borderColor }, + textAlign: 'center', _meta: { htmlID: id, htmlClassNames: 'u_content_divider' }, + }, + }, + html: ` + +
+
+
`, + } +} + +// Bundle a list of blocks into a single Unlayer row+column with shared row styles. +function row (blocks, opts = {}) { + const rowId = nextId('u_row'); const colId = nextId('u_column') + const { backgroundColor = '', columnsBackgroundColor = '', padding = '0px', + border = '', borderRadius = '', columnPadding = '0px' } = opts + const rowBg = backgroundColor || 'transparent' + const innerStyle = [ + border ? `border:${border}` : '', + borderRadius ? `border-radius:${borderRadius}` : '', + padding !== '0px' ? `padding:${padding}` : '', + backgroundColor ? `background:${backgroundColor};background-color:${backgroundColor}` : '', + 'margin:0 auto', 'max-width:600px', + ].filter(Boolean).join(';') + return { + json: { + id: rowId, cells: [1], + columns: [{ + id: colId, + contents: blocks.map(b => b.json), + values: { ...COMMON, _meta: { htmlID: colId, htmlClassNames: 'u_column' }, + padding: columnPadding, border: {}, borderRadius: '0px', backgroundColor: columnsBackgroundColor }, + }], + values: { + ...COMMON, displayCondition: null, columns: false, + backgroundColor, columnsBackgroundColor, + backgroundImage: { url: '', fullWidth: true, repeat: 'no-repeat', size: 'custom', position: 'center' }, + padding, anchor: '', borderRadius, + _meta: { htmlID: rowId, htmlClassNames: 'u_row' }, + }, + }, + html: `
+
+
+ +
+
+
+${blocks.map(b => b.html).join('\n')} +
+
+
+ +
+
+
`, + } +} + +// Compose the full shell — Unlayer-standard markup + our brand defaults. +function compileHtml (preheader, ariaLabel, rows) { + return ` + + + + + + + + + + + + + + + + + + + +` +} + +function compileJson (preheader, ariaLabel, rows) { + return { + counters: { ...counter }, + body: { + id: 'u_body', + rows: rows.map(r => r.json), + values: { + popupPosition: 'center', popupWidth: '600px', popupHeight: 'auto', + borderRadius: '10px', contentAlign: 'center', contentVerticalAlign: 'center', + contentWidth: '600px', + fontFamily: { label: 'Plus Jakarta Sans', value: "'Plus Jakarta Sans', sans-serif", + url: 'https://fonts.googleapis.com/css?family=Plus+Jakarta+Sans:400,500,600,700' }, + textColor: '#1B2E24', popupBackgroundColor: '#FFFFFF', backgroundColor: '#F5FAF7', + preheaderText: preheader, + linkStyle: { body: true, linkColor: '#00C853', linkHoverColor: '#005026', + linkUnderline: true, linkHoverUnderline: true }, + _meta: { htmlID: 'u_body', htmlClassNames: 'u_body' }, + }, + }, + schemaVersion: 16, + } +} + +// ── Export the factories so template-spec files can use them ────────────── +module.exports = { textBlock, imageBlock, buttonBlock, htmlBlock, dividerBlock, row, compileHtml, compileJson } + +// ── CLI ─────────────────────────────────────────────────────────────────── +if (require.main === module) { + const name = process.argv[2] + if (!name) { console.error('Usage: build-native-template.js '); process.exit(1) } + const spec = require(path.resolve(__dirname, 'templates-spec', name)) + const tplDir = path.resolve(__dirname, '..', 'templates') + const rows = spec.rows(module.exports) + fs.writeFileSync(path.join(tplDir, name + '.html'), compileHtml(spec.preheader, spec.ariaLabel, rows), 'utf8') + fs.writeFileSync(path.join(tplDir, name + '.json'), JSON.stringify(compileJson(spec.preheader, spec.ariaLabel, rows), null, 2), 'utf8') + console.log(`✓ Built ${name}.html (${fs.statSync(path.join(tplDir, name + '.html')).size}b) + ${name}.json (${fs.statSync(path.join(tplDir, name + '.json')).size}b)`) +} diff --git a/services/targo-hub/scripts/templates-spec/gift-email-native-reminder-fr.js b/services/targo-hub/scripts/templates-spec/gift-email-native-reminder-fr.js new file mode 100644 index 0000000..b784e8e --- /dev/null +++ b/services/targo-hub/scripts/templates-spec/gift-email-native-reminder-fr.js @@ -0,0 +1,162 @@ +'use strict' +/** + * gift-email-native-reminder-fr — proof-of-concept reminder template built + * entirely from Unlayer NATIVE blocks (text / image / button) wherever + * possible, with strategic html blocks for the chips and the brand-logo + * strip (too custom for native). + * + * Operator can edit each text/button/image block individually in the + * Unlayer canvas (rich panel on the right with font, color, padding, + * alignment controls). The 4 html blocks (Option 1 chip, brand-logo card, + * Option 2 chip, dark footer band) still need raw HTML edits. + */ + +module.exports = { + preheader: "Comme toi, on aime les connexions stables et les relations durables.", + ariaLabel: "Une offre exclusive de TARGO", + + // rows() receives the block factories from build-native-template.js + rows: ({ textBlock, imageBlock, buttonBlock, htmlBlock, row }) => [ + + // ── 1 · Optional "View in browser" line (collapses if view_url empty) ── + row([ + htmlBlock({ + html: `{{#view_url}}
Affichage incorrect ? Voir dans le navigateur
{{/view_url}}`, + padding: '0', + }), + ], { padding: '8px 0 0' }), + + // ── 2 · Header logo (white rounded card top) ───────────────────────── + 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', + }), + ], { backgroundColor: '#ffffff', border: '1px solid #e5e7eb', borderRadius: '12px 12px 0 0' }), + + // ── 3 · Greeting (text block — fully editable) ─────────────────────── + row([ + textBlock({ + html: 'Petit rappel pour {{firstname}},', + padding: '20px 36px 8px', fontSize: '16px', color: '#374151', + }), + ], { backgroundColor: '#ffffff', border: '1px solid #e5e7eb', borderRadius: '0' }), + + // ── 4 · Urgency line (text block, bold dark green) ─────────────────── + row([ + textBlock({ + html: '🎁 Ton cadeau de {{amount}} reste disponible jusqu\'au {{expires_at_date}}.', + padding: '4px 36px 14px', fontSize: '17px', fontWeight: 600, color: '#1B2E24', + }), + ], { backgroundColor: '#ffffff', border: '1px solid #e5e7eb', borderRadius: '0' }), + + // ── 5 · Body paragraph (text block, justify) ───────────────────────── + row([ + textBlock({ + html: 'On voulait juste s\'assurer que tu ne l\'as pas manqué. La carte-cadeau qu\'on t\'a envoyée pour te remercier peut s\'utiliser chez des centaines de marques canadiennes, en quelques clics.

Si tu préfères ne pas l\'utiliser, aucun souci, pas besoin de répondre à ce courriel.', + padding: '0 36px 18px', fontSize: '16px', color: '#374151', textAlign: 'justify', + }), + ], { backgroundColor: '#ffffff', border: '1px solid #e5e7eb', borderRadius: '0' }), + + // ── 6 · Option 1 chip (html block — too custom for native text) ────── + row([ + htmlBlock({ + html: '
✅ Option 1
', + padding: '8px 36px 4px', + }), + ], { backgroundColor: '#ffffff', border: '1px solid #e5e7eb', borderRadius: '0' }), + + // ── 7 · Compact info card with brand logos (html block) ────────────── + row([ + htmlBlock({ + html: ` + +
+
+ 🎁 {{amount}} chez des centaines de marques

+ + Tim Hortons + Walmart + Home Depot + IGA + Home Hardware + et plus + +
+
⚡ Disponible instantanément sur Giftbit en cliquant sur ton montant
+
🤝 Condition : Maintenir l'abonnement {{commitment_months}} mois ou +
+
`, + padding: '0 36px 22px', + }), + ], { backgroundColor: '#ffffff', border: '1px solid #e5e7eb', borderRadius: '0' }), + + // ── 8 · Big green CTA button (NATIVE button block!) ────────────────── + row([ + buttonBlock({ + text: '🎁   {{amount}}', + href: '{{gift_url}}', + padding: '8px 36px', + buttonPadding: '30px 24px', + bgColor: '#00C853', color: '#FFFFFF', borderRadius: '12px', + fontSize: '32px', fontWeight: 700, + }), + ], { backgroundColor: '#ffffff', border: '1px solid #e5e7eb', borderRadius: '0' }), + + // ── 9 · Expiry badge (text block) ──────────────────────────────────── + row([ + textBlock({ + html: '⏰ Cadeau valide jusqu\'au {{expires_at_date}}', + padding: '0 36px 4px', fontSize: '13px', color: '#64748B', textAlign: 'center', lineHeight: '140%', + }), + ], { backgroundColor: '#ffffff', border: '1px solid #e5e7eb', borderRadius: '0' }), + + // ── 10 · Prorata disclaimer (text block) ───────────────────────────── + row([ + textBlock({ + html: '🪂 Annulation avant {{commitment_months}} mois : seulement à rembourser au prorata des mois restants.', + padding: '10px 36px 22px', fontSize: '14px', color: '#6b7280', + }), + ], { backgroundColor: '#ffffff', border: '1px solid #e5e7eb', borderRadius: '0' }), + + // ── 11 · Option 2 chip + text ──────────────────────────────────────── + row([ + htmlBlock({ + html: '
⏭️ Option 2
', + padding: '8px 36px 4px', + }), + textBlock({ + html: 'Ne rien faire. Aucun changement à ton abonnement actuel.', + padding: '0 36px 22px', fontSize: '15px', color: '#4b5563', lineHeight: '155%', + }), + ], { backgroundColor: '#ffffff', border: '1px solid #e5e7eb', borderRadius: '0' }), + + // ── 12 · Signature (text block) ────────────────────────────────────── + row([ + textBlock({ + html: '🤝 Merci de faire rouler l\'économie de notre région avec nous !
L\'équipe TARGO', + padding: '18px 36px 28px', fontSize: '15px', color: '#1B2E24', + }), + ], { backgroundColor: '#ffffff', border: '1px solid #e5e7eb', borderRadius: '0 0 12px 12px' }), + + // ── 13 · Contact info (text block, outside the card) ───────────────── + 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', color: '#64748B', textAlign: 'center', lineHeight: '155%', + }), + ], {}), + + // ── 14 · Dark footer band (image + text on #1C1E26) ────────────────── + 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', + }), + 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%', + }), + ], { backgroundColor: '#1C1E26', borderRadius: '12px' }), + + ], +} diff --git a/services/targo-hub/templates/gift-email-native-reminder-fr.html b/services/targo-hub/templates/gift-email-native-reminder-fr.html new file mode 100644 index 0000000..b759be7 --- /dev/null +++ b/services/targo-hub/templates/gift-email-native-reminder-fr.html @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/services/targo-hub/templates/gift-email-native-reminder-fr.json b/services/targo-hub/templates/gift-email-native-reminder-fr.json new file mode 100644 index 0000000..fed1fd4 --- /dev/null +++ b/services/targo-hub/templates/gift-email-native-reminder-fr.json @@ -0,0 +1,1276 @@ +{ + "counters": { + "u_row": 14, + "u_column": 14, + "u_content_text": 9, + "u_content_image": 2, + "u_content_button": 1, + "u_content_divider": 0, + "u_content_html": 4 + }, + "body": { + "id": "u_body", + "rows": [ + { + "id": "u_row_1", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_1", + "contents": [ + { + "id": "u_content_html_1", + "type": "html", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "0", + "anchor": "", + "_meta": { + "htmlID": "u_content_html_1", + "htmlClassNames": "u_content_html" + }, + "html": "{{#view_url}}
Affichage incorrect ? Voir dans le navigateur
{{/view_url}}" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_1", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "8px 0 0", + "anchor": "", + "borderRadius": "", + "_meta": { + "htmlID": "u_row_1", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_2", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_2", + "contents": [ + { + "id": "u_content_image_1", + "type": "image", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "28px 36px 22px", + "anchor": "", + "src": { + "url": "https://xqy3m.mjt.lu/img2/xqy3m/eed4d18c-8065-4c5f-b47c-58af63171cd0/content", + "width": 140, + "height": "auto", + "autoWidth": false, + "maxWidth": "140px" + }, + "textAlign": "center", + "altText": "TARGO", + "action": { + "name": "web", + "values": { + "href": "", + "target": "_blank" + } + }, + "_meta": { + "htmlID": "u_content_image_1", + "htmlClassNames": "u_content_image" + } + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_2", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "12px 12px 0 0", + "_meta": { + "htmlID": "u_row_2", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_3", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_3", + "contents": [ + { + "id": "u_content_text_1", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "20px 36px 8px", + "anchor": "", + "fontWeight": 400, + "fontSize": "16px", + "color": "#374151", + "textAlign": "left", + "lineHeight": "150%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_1", + "htmlClassNames": "u_content_text" + }, + "text": "Petit rappel pour {{firstname}}," + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_3", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_3", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_4", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_4", + "contents": [ + { + "id": "u_content_text_2", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "4px 36px 14px", + "anchor": "", + "fontWeight": 600, + "fontSize": "17px", + "color": "#1B2E24", + "textAlign": "left", + "lineHeight": "150%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_2", + "htmlClassNames": "u_content_text" + }, + "text": "🎁 Ton cadeau de {{amount}} reste disponible jusqu'au {{expires_at_date}}." + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_4", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_4", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_5", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_5", + "contents": [ + { + "id": "u_content_text_3", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "0 36px 18px", + "anchor": "", + "fontWeight": 400, + "fontSize": "16px", + "color": "#374151", + "textAlign": "justify", + "lineHeight": "150%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_3", + "htmlClassNames": "u_content_text" + }, + "text": "On voulait juste s'assurer que tu ne l'as pas manqué. La carte-cadeau qu'on t'a envoyée pour te remercier peut s'utiliser chez des centaines de marques canadiennes, en quelques clics.

Si tu préfères ne pas l'utiliser, aucun souci, pas besoin de répondre à ce courriel." + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_5", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_5", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_6", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_6", + "contents": [ + { + "id": "u_content_html_2", + "type": "html", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "8px 36px 4px", + "anchor": "", + "_meta": { + "htmlID": "u_content_html_2", + "htmlClassNames": "u_content_html" + }, + "html": "
✅ Option 1
" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_6", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_6", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_7", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_7", + "contents": [ + { + "id": "u_content_html_3", + "type": "html", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "0 36px 22px", + "anchor": "", + "_meta": { + "htmlID": "u_content_html_3", + "htmlClassNames": "u_content_html" + }, + "html": "\n \n
\n
\n 🎁 {{amount}} chez des centaines de marques

\n \n \"Tim\n \"Walmart\"\n \"Home\n \"IGA\"\n \"Home\n et plus\n \n
\n
⚡ Disponible instantanément sur Giftbit en cliquant sur ton montant
\n
🤝 Condition : Maintenir l'abonnement {{commitment_months}} mois ou +
\n
" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_7", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_7", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_8", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_8", + "contents": [ + { + "id": "u_content_button_1", + "type": "button", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "8px 36px", + "anchor": "", + "href": { + "name": "web", + "values": { + "href": "{{gift_url}}", + "target": "_blank" + } + }, + "buttonColors": { + "color": "#FFFFFF", + "backgroundColor": "#00C853", + "hoverColor": "#FFFFFF", + "hoverBackgroundColor": "#005026" + }, + "size": { + "autoWidth": false, + "width": "100%" + }, + "fontSize": "32px", + "fontWeight": 700, + "textAlign": "center", + "lineHeight": "120%", + "padding": "30px 24px", + "border": {}, + "borderRadius": "12px", + "_meta": { + "htmlID": "u_content_button_1", + "htmlClassNames": "u_content_button" + }, + "text": "🎁   {{amount}}" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_8", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_8", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_9", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_9", + "contents": [ + { + "id": "u_content_text_4", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "0 36px 4px", + "anchor": "", + "fontWeight": 400, + "fontSize": "13px", + "color": "#64748B", + "textAlign": "center", + "lineHeight": "140%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_4", + "htmlClassNames": "u_content_text" + }, + "text": "⏰ Cadeau valide jusqu'au {{expires_at_date}}" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_9", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_9", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_10", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_10", + "contents": [ + { + "id": "u_content_text_5", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "10px 36px 22px", + "anchor": "", + "fontWeight": 400, + "fontSize": "14px", + "color": "#6b7280", + "textAlign": "left", + "lineHeight": "150%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_5", + "htmlClassNames": "u_content_text" + }, + "text": "🪂 Annulation avant {{commitment_months}} mois : seulement à rembourser au prorata des mois restants." + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_10", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_10", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_11", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_11", + "contents": [ + { + "id": "u_content_html_4", + "type": "html", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "8px 36px 4px", + "anchor": "", + "_meta": { + "htmlID": "u_content_html_4", + "htmlClassNames": "u_content_html" + }, + "html": "
⏭️ Option 2
" + } + }, + { + "id": "u_content_text_6", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "0 36px 22px", + "anchor": "", + "fontWeight": 400, + "fontSize": "15px", + "color": "#4b5563", + "textAlign": "left", + "lineHeight": "155%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_6", + "htmlClassNames": "u_content_text" + }, + "text": "Ne rien faire. Aucun changement à ton abonnement actuel." + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_11", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0", + "_meta": { + "htmlID": "u_row_11", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_12", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_12", + "contents": [ + { + "id": "u_content_text_7", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "18px 36px 28px", + "anchor": "", + "fontWeight": 400, + "fontSize": "15px", + "color": "#1B2E24", + "textAlign": "left", + "lineHeight": "150%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_7", + "htmlClassNames": "u_content_text" + }, + "text": "🤝 Merci de faire rouler l'économie de notre région avec nous !
L'équipe TARGO" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_12", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#ffffff", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "0 0 12px 12px", + "_meta": { + "htmlID": "u_row_12", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_13", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_13", + "contents": [ + { + "id": "u_content_text_8", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "18px 36px 8px", + "anchor": "", + "fontWeight": 400, + "fontSize": "12px", + "color": "#64748B", + "textAlign": "center", + "lineHeight": "155%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_8", + "htmlClassNames": "u_content_text" + }, + "text": "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." + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_13", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "", + "_meta": { + "htmlID": "u_row_13", + "htmlClassNames": "u_row" + } + } + }, + { + "id": "u_row_14", + "cells": [ + 1 + ], + "columns": [ + { + "id": "u_column_14", + "contents": [ + { + "id": "u_content_image_2", + "type": "image", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "26px 36px 0", + "anchor": "", + "src": { + "url": "https://xqy3m.mjt.lu/img2/xqy3m/eed4d18c-8065-4c5f-b47c-58af63171cd0/content", + "width": 120, + "height": "auto", + "autoWidth": false, + "maxWidth": "120px" + }, + "textAlign": "center", + "altText": "TARGO", + "action": { + "name": "web", + "values": { + "href": "", + "target": "_blank" + } + }, + "_meta": { + "htmlID": "u_content_image_2", + "htmlClassNames": "u_content_image" + } + } + }, + { + "id": "u_content_text_9", + "type": "text", + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "containerPadding": "12px 36px 22px", + "anchor": "", + "fontWeight": 400, + "fontSize": "11px", + "color": "rgba(255,255,255,0.55)", + "textAlign": "center", + "lineHeight": "155%", + "linkStyle": { + "inherit": true + }, + "_meta": { + "htmlID": "u_content_text_9", + "htmlClassNames": "u_content_text" + }, + "text": "www.targo.ca · 1867 ch. de la rivière, Ste-Clotilde, QC
© {{year}} TARGO Communications · Tous droits réservés." + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "_meta": { + "htmlID": "u_column_14", + "htmlClassNames": "u_column" + }, + "padding": "0px", + "border": {}, + "borderRadius": "0px", + "backgroundColor": "" + } + } + ], + "values": { + "selectable": true, + "draggable": true, + "duplicatable": true, + "deletable": true, + "hideable": true, + "hideDesktop": false, + "displayCondition": null, + "columns": false, + "backgroundColor": "#1C1E26", + "columnsBackgroundColor": "", + "backgroundImage": { + "url": "", + "fullWidth": true, + "repeat": "no-repeat", + "size": "custom", + "position": "center" + }, + "padding": "0px", + "anchor": "", + "borderRadius": "12px", + "_meta": { + "htmlID": "u_row_14", + "htmlClassNames": "u_row" + } + } + } + ], + "values": { + "popupPosition": "center", + "popupWidth": "600px", + "popupHeight": "auto", + "borderRadius": "10px", + "contentAlign": "center", + "contentVerticalAlign": "center", + "contentWidth": "600px", + "fontFamily": { + "label": "Plus Jakarta Sans", + "value": "'Plus Jakarta Sans', sans-serif", + "url": "https://fonts.googleapis.com/css?family=Plus+Jakarta+Sans:400,500,600,700" + }, + "textColor": "#1B2E24", + "popupBackgroundColor": "#FFFFFF", + "backgroundColor": "#F5FAF7", + "preheaderText": "Comme toi, on aime les connexions stables et les relations durables.", + "linkStyle": { + "body": true, + "linkColor": "#00C853", + "linkHoverColor": "#005026", + "linkUnderline": true, + "linkHoverUnderline": true + }, + "_meta": { + "htmlID": "u_body", + "htmlClassNames": "u_body" + } + } + }, + "schemaVersion": 16 +} \ No newline at end of file