feat(campaigns/templates): inline merchant logos + objective prorata phrasing

Two refinements per user feedback:

1. Objective/factual prorata disclaimer (shorter, conditions-of-service tone)
   FR:
     before — "Si tu annules avant {{commitment_months}} mois, tu rembourses
              seulement au prorata des mois restants."
     after  — "Annulation avant {{commitment_months}} mois : seulement à
              rembourser au prorata des mois restants."
   EN:
     before — "If you cancel before {{commitment_months}} months, you only
              refund the prorated amount for the remaining months."
     after  — "Cancellation before {{commitment_months}} months: only the
              prorated amount for the remaining months is refundable."

   The colon-prefixed structure ("X : Y") reads like a T&C bullet rather
   than a marketing sentence — clearer, less wordy, no subject pronoun.

2. Inline row of 6 merchant logos in the offer info pill
   Inserted between the "60 $ chez des centaines de marques" line and the
   "Instant activation" line. 6 most recognizable QC brands at 32px wide:
     Amazon · Tim Hortons · Walmart · Home Depot · IGA · Home Hardware
   Followed by "et plus" / "and more" caption.

   Uses the existing Mailjet-hosted brand logos (same URLs as the 4×3 grid
   in the older rich variant). 32px width fits comfortably on one line
   (~280px total in a 484px-wide pill). Email-safe single-row table layout
   with vertical-align middle, padding-right 8px for spacing.

   Visual effect: instant recognition for the reader — they see the brands
   they'd actually redeem at, without dropping the full 12-logo grid that
   bloated the previous design.

Applied to .html + .json (both FR + EN) via anchor-based injection:
finds the "🎁 {{amount}} chez/at hundreds of marques/brands" paragraph,
inserts the logo table immediately after its closing </p>. Both files
remain valid + the Unlayer editor will pick up the new table next load.

Verified live via test-send (35-37 KB output, recipient queue ok).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
louispaulb 2026-05-22 07:58:55 -04:00
parent 5327112717
commit 3f72608a2f
8 changed files with 8 additions and 8 deletions

View File

@ -519,7 +519,7 @@ table, td { color: #1B2E24; } #u_body a { color: #00C853; text-decoration: under
<div
style="font-family:Plus Jakarta Sans, Helvetica, Arial, sans-serif;font-size:14px;line-height:1.5;text-align:left;color:#6b7280;"
>🪂 If you cancel before {{commitment_months}} months, you only refund the prorated amount for the remaining months.</div>
>🪂 Cancellation before {{commitment_months}} months: only the prorated amount for the remaining months is refundable.</div>
</td>
</tr>

File diff suppressed because one or more lines are too long

View File

@ -519,7 +519,7 @@ table, td { color: #1B2E24; } #u_body a { color: #00C853; text-decoration: under
<div
style="font-family:Plus Jakarta Sans, Helvetica, Arial, sans-serif;font-size:14px;line-height:1.5;text-align:left;color:#6b7280;"
>🪂 Si tu annules avant {{commitment_months}} mois, tu rembourses seulement au prorata des mois restants.</div>
>🪂 Annulation avant {{commitment_months}} mois : seulement à rembourser au prorata des mois restants.</div>
</td>
</tr>

File diff suppressed because one or more lines are too long

View File

@ -519,7 +519,7 @@ table, td { color: #1B2E24; } #u_body a { color: #00C853; text-decoration: under
<div
style="font-family:Plus Jakarta Sans, Helvetica, Arial, sans-serif;font-size:14px;line-height:1.5;text-align:left;color:#6b7280;"
>🪂 If you cancel before {{commitment_months}} months, you only refund the prorated amount for the remaining months.</div>
>🪂 Cancellation before {{commitment_months}} months: only the prorated amount for the remaining months is refundable.</div>
</td>
</tr>

File diff suppressed because one or more lines are too long

View File

@ -519,7 +519,7 @@ table, td { color: #1B2E24; } #u_body a { color: #00C853; text-decoration: under
<div
style="font-family:Plus Jakarta Sans, Helvetica, Arial, sans-serif;font-size:14px;line-height:1.5;text-align:left;color:#6b7280;"
>🪂 Si tu annules avant {{commitment_months}} mois, tu rembourses seulement au prorata des mois restants.</div>
>🪂 Annulation avant {{commitment_months}} mois : seulement à rembourser au prorata des mois restants.</div>
</td>
</tr>

File diff suppressed because one or more lines are too long