SYNC 17 RE7 Participate mail preview
This commit is contained in:
parent
8a7d116548
commit
63d6db4f8e
4 changed files with 40 additions and 466 deletions
25
views/mails/won-discount.blade.php
Normal file
25
views/mails/won-discount.blade.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{{-- blade-formatter-disable --}}
|
||||
<x-mail::message>
|
||||
# Bravo {{ $first_name }} !
|
||||
|
||||
Vous venez de gagner un bon d'achat de {{ number_format($discount->face_value / 100, 2, ',') }}€
|
||||
en participant à notre jeu {{ Str::ucfirst($game_name) }} !
|
||||
|
||||
<x-mail::panel>
|
||||
|
||||
<x-mail::button :url="$print_url">
|
||||
Cliquez ici pour accéder à la page d'impression de votre bon
|
||||
</x-mail::button>
|
||||
|
||||
|
||||
Assurez-vous d'être équipé d'une imprimante en état de marche
|
||||
avant de lancer l'impression de votre bon, il ne pourra être imprimé et
|
||||
utilisé qu'une seule fois.
|
||||
</x-mail::panel>
|
||||
|
||||
Nous vous remercions de votre participation.
|
||||
L'équipe {{ Str::ucfirst($game_name) }}.
|
||||
|
||||
Si vous avez des questions, n'hésitez pas à nous contacter via notre
|
||||
[formulaire de contact](https://www.legaulois.fr/contactez-nous).
|
||||
</x-mail::message>
|
||||
15
views/mails/won-prize.blade.php
Normal file
15
views/mails/won-prize.blade.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{{-- blade-formatter-disable --}}
|
||||
<x-mail::message>
|
||||
# Bravo {{ $first_name }} !
|
||||
|
||||
Vous venez de gagner 1 {{ $prize_label }} en participant à
|
||||
notre grand jeu {{ Str::ucfirst($game_name) }}!
|
||||
|
||||
Vous recevrez prochainement votre dotation à votre domicile.
|
||||
|
||||
Nous vous remercions de votre participation.
|
||||
L'équipe {{ Str::ucfirst($game_name) }}.
|
||||
|
||||
Si vous avez des questions, n'hésitez pas à nous contacter via notre
|
||||
[formulaire de contact](https://www.legaulois.fr/contactez-nous).
|
||||
</x-mail::message>
|
||||
|
|
@ -1,221 +0,0 @@
|
|||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
|
||||
<head>
|
||||
<title>
|
||||
|
||||
</title>
|
||||
<!--[if !mso]><!-->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!--<![endif]-->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<style type="text/css">
|
||||
#outlook a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-ms-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
table,
|
||||
td {
|
||||
border-collapse: collapse;
|
||||
mso-table-lspace: 0pt;
|
||||
mso-table-rspace: 0pt;
|
||||
}
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
height: auto;
|
||||
line-height: 100%;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
p {
|
||||
display: block;
|
||||
margin: 13px 0;
|
||||
}
|
||||
</style>
|
||||
<!--[if mso]>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:AllowPNG/>
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
<![endif]-->
|
||||
<!--[if lte mso 11]>
|
||||
<style type="text/css">
|
||||
.mj-outlook-group-fix { width:100% !important; }
|
||||
</style>
|
||||
<![endif]-->
|
||||
|
||||
<!--[if !mso]><!-->
|
||||
<link type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700);
|
||||
</style>
|
||||
<!--<![endif]-->
|
||||
|
||||
<style type="text/css">
|
||||
@media only screen and (min-width:480px) {
|
||||
.mj-column-per-100 {
|
||||
width: 100% !important;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style type="text/css">
|
||||
@media only screen and (max-width:480px) {
|
||||
table.mj-full-width-mobile {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
td.mj-full-width-mobile {
|
||||
width: auto !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="word-spacing:normal;background-color:#FFF;">
|
||||
|
||||
<div style="background-color:#FFF;">
|
||||
|
||||
<!--[if mso | IE]><table class="" style="width:600px;" align="center" border="0" cellpadding="0" cellspacing="0" width="600"><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
|
||||
|
||||
<div style="background:#FFF;background-color:#FFF;margin:0px auto;max-width:600px;">
|
||||
|
||||
<table role="presentation" style="background:#FFF;background-color:#FFF;width:100%;" align="center" border="0"
|
||||
cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;">
|
||||
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;"><![endif]-->
|
||||
|
||||
<div class="mj-column-per-100 mj-outlook-group-fix"
|
||||
style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
|
||||
|
||||
<table role="presentation" style="vertical-align:top;" border="0" cellpadding="0" cellspacing="0"
|
||||
width="100%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td style="font-size:0px;padding:10px 25px;word-break:break-word;" align="center">
|
||||
|
||||
<table role="presentation" style="border-collapse:collapse;border-spacing:0px;"
|
||||
border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width:300px;">
|
||||
|
||||
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/home_logo.png') }}"
|
||||
style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;"
|
||||
height="auto" width="300">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="font-size:0px;padding:10px 25px;word-break:break-word;" align="center">
|
||||
|
||||
<div
|
||||
style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:40px;font-weight:bold;line-height:1;text-align:center;text-transform:uppercase;color:black;">
|
||||
Bravo {{ $user->firstname ?? '' }} !</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<!--[if mso | IE]></td></tr></table><table class="" style="width:600px;" align="center" border="0" cellpadding="0" cellspacing="0" width="600"><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
|
||||
|
||||
<div style="background:#FFF;background-color:#FFF;margin:0px auto;max-width:600px;">
|
||||
|
||||
<table role="presentation" style="background:#FFF;background-color:#FFF;width:100%;" align="center" border="0"
|
||||
cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;">
|
||||
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;"><![endif]-->
|
||||
|
||||
<div class="mj-column-per-100 mj-outlook-group-fix"
|
||||
style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
|
||||
|
||||
<table role="presentation" style="vertical-align:top;" border="0" cellpadding="0" cellspacing="0"
|
||||
width="100%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td style="font-size:0px;padding:10px 25px;word-break:break-word;" align="left">
|
||||
|
||||
<div
|
||||
style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:20px;line-height:1;text-align:left;color:black;">
|
||||
Vous venez de gagner 1 {{ $prize->label ?? 'gain Test' }} en participant à
|
||||
notre grand jeu Gauloisirs 2022 !<br>
|
||||
Vous recevrez prochainement votre dotation à votre domicile. <br>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="font-size:0px;padding:10px 25px;word-break:break-word;" align="left">
|
||||
|
||||
<div
|
||||
style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:20px;line-height:1;text-align:left;color:black;">
|
||||
<br>
|
||||
L'équipe Le Gaulois. <br><br>
|
||||
Si vous avez des questions, n'hésitez pas à nous contacter via notre <a
|
||||
class="link-nostyle" href="https://www.legaulois.fr/contactez-nous"
|
||||
style="color: inherit;">formulaire de contact</a>.
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
@ -1,245 +0,0 @@
|
|||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
|
||||
<head>
|
||||
<title>
|
||||
|
||||
</title>
|
||||
<!--[if !mso]><!-->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!--<![endif]-->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<style type="text/css">
|
||||
#outlook a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-ms-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
table,
|
||||
td {
|
||||
border-collapse: collapse;
|
||||
mso-table-lspace: 0pt;
|
||||
mso-table-rspace: 0pt;
|
||||
}
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
height: auto;
|
||||
line-height: 100%;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
p {
|
||||
display: block;
|
||||
margin: 13px 0;
|
||||
}
|
||||
</style>
|
||||
<!--[if mso]>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:AllowPNG/>
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
<![endif]-->
|
||||
<!--[if lte mso 11]>
|
||||
<style type="text/css">
|
||||
.mj-outlook-group-fix { width:100% !important; }
|
||||
</style>
|
||||
<![endif]-->
|
||||
|
||||
<!--[if !mso]><!-->
|
||||
<link type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700);
|
||||
</style>
|
||||
<!--<![endif]-->
|
||||
|
||||
<style type="text/css">
|
||||
@media only screen and (min-width:480px) {
|
||||
.mj-column-per-100 {
|
||||
width: 100% !important;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style type="text/css">
|
||||
@media only screen and (max-width:480px) {
|
||||
table.mj-full-width-mobile {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
td.mj-full-width-mobile {
|
||||
width: auto !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="word-spacing:normal;background-color:#FFF;">
|
||||
|
||||
<div style="background-color:#FFF;">
|
||||
|
||||
<!--[if mso | IE]><table class="" style="width:600px;" align="center" border="0" cellpadding="0" cellspacing="0" width="600"><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
|
||||
|
||||
<div style="background:#FFF;background-color:#FFF;margin:0px auto;max-width:600px;">
|
||||
|
||||
<table role="presentation" style="background:#FFF;background-color:#FFF;width:100%;" align="center" border="0"
|
||||
cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;">
|
||||
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;"><![endif]-->
|
||||
|
||||
<div class="mj-column-per-100 mj-outlook-group-fix"
|
||||
style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
|
||||
|
||||
<table role="presentation" style="vertical-align:top;" border="0" cellpadding="0" cellspacing="0"
|
||||
width="100%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td style="font-size:0px;padding:10px 25px;word-break:break-word;" align="center">
|
||||
|
||||
<table role="presentation" style="border-collapse:collapse;border-spacing:0px;"
|
||||
border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width:300px;">
|
||||
|
||||
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/home_logo.png') }}"
|
||||
style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;"
|
||||
height="auto" width="300">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="font-size:0px;padding:10px 25px;word-break:break-word;" align="center">
|
||||
|
||||
<div
|
||||
style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:40px;font-weight:bold;line-height:1;text-align:center;text-transform:uppercase;color:black;">
|
||||
Bravo {{ $user->firstname ?? '' }} !</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<!--[if mso | IE]></td></tr></table><table class="" style="width:600px;" align="center" border="0" cellpadding="0" cellspacing="0" width="600"><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
|
||||
|
||||
<div style="background:#FFF;background-color:#FFF;margin:0px auto;max-width:600px;">
|
||||
|
||||
<table role="presentation" style="background:#FFF;background-color:#FFF;width:100%;" align="center" border="0"
|
||||
cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;">
|
||||
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;"><![endif]-->
|
||||
|
||||
<div class="mj-column-per-100 mj-outlook-group-fix"
|
||||
style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
|
||||
|
||||
<table role="presentation" style="vertical-align:top;" border="0" cellpadding="0" cellspacing="0"
|
||||
width="100%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td style="font-size:0px;padding:10px 25px;word-break:break-word;" align="left">
|
||||
|
||||
<div
|
||||
style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:20px;line-height:1;text-align:left;color:black;">
|
||||
Vous venez de gagner un bon d'achat de {{ $coupon->face_value ?? '1' }}€ en participant
|
||||
à notre jeu Gau'loisirs ! <br></div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="font-size:0px;padding:10px 25px;word-break:break-word;" align="center"
|
||||
vertical-align="middle">
|
||||
|
||||
<table role="presentation" style="border-collapse:separate;line-height:100%;"
|
||||
border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td role="presentation"
|
||||
style="border:none;border-radius:0;cursor:auto;mso-padding-alt:10px 25px;background:#e30613;"
|
||||
align="center" bgcolor="#e30613" valign="middle">
|
||||
<a href="{{ $crmCoupon->link ?? '' }}"
|
||||
style="display:inline-block;background:#e30613;color:white;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:20px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:0;"
|
||||
target="_blank">
|
||||
Cliquez ici pour accéder à la page d'impression de votre bon
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="font-size:0px;padding:10px 25px;word-break:break-word;" align="left">
|
||||
|
||||
<div
|
||||
style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:20px;line-height:1;text-align:left;color:black;">
|
||||
<br>
|
||||
Assurez-vous d'être équipé d'une imprimante en état de marche
|
||||
avant de lancer l'impression de votre bon, il ne pourra être imprimé et
|
||||
utilisé qu'une seule fois. <br>
|
||||
Nous vous remercions de votre participation. <br><br>
|
||||
L'équipe Le Gaulois. <br><br>
|
||||
Si vous avez des questions, n'hésitez pas à nous contacter via notre <a
|
||||
class="link-nostyle" href="https://www.legaulois.fr/contactez-nous"
|
||||
style="color: inherit;">formulaire de contact</a>.
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Reference in a new issue