$link = $notifiable->routeWithToken('account.index', [], now()->addDays(14));
return (new MailMessage)
- ->markdown('emails.notification')
->subject('Activation en attente')
->line("Nous avons remarqué que votre compte n'est toujours pas activé.")
->line("Veuillez cliquer sur ce lien pour créer votre mot de passe et ne rater aucun numéro de *Prescription Santé : Le Quotidien* !")
{
$link = $notifiable->routeWithToken('account.index', [], now()->addDays(7));
return (new MailMessage)
- ->markdown('emails.notification')
- ->subject('Nouelle plateoforme Prescription Santé')
+ ->subject('Nouvelle plateforme Prescription Santé')
->line("Bonjour.......")
->line("Veuillez cliquer sur ce lien pour créer votre mot de passe et ne rater aucun numéro de *Prescription Santé : Le Quotidien* !")
->line("Cela ne vous prendra pas plus d'une minute.")
@component('mail::message')
-<img src="{{ Asset::public('logo.jpg') }}" alt="PSQ Logo" width="570" style="max-width: 100%; margin-bottom: 20px;" >
-<br>
-
-
-
# L’ÉDITION DU JOUR
## {{$subject}}
{!! $content !!}
-
-@component('mail::button', ['url' => $link ?? '%recipient.file_url%', 'color' => 'success'])
+@component('mail::button', ['url' => $link ?? '%recipient.file_url%', 'color' => 'primary'])
Cliquez ici pour lire !
@endcomponent
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<meta name="viewport" content="width=device-width, initial-scale=1.0" />
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<style>
-@media only screen and (max-width: 600px) {
-.inner-body {
-width: 100% !important;
-}
+ @media only screen and (max-width: 600px) {
+ .inner-body {
+ width: 100% !important;
+ }
-.footer {
-width: 100% !important;
-}
-}
+ .footer {
+ width: 100% !important;
+ }
+ }
-@media only screen and (max-width: 500px) {
-.button {
-width: 100% !important;
-}
-}
+ @media only screen and (max-width: 500px) {
+ .button {
+ width: 100% !important;
+ }
+ }
</style>
<table class="wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation">
-<tr>
-<td align="center">
-<table class="content" width="100%" cellpadding="0" cellspacing="0" role="presentation">
-{{ $header ?? '' }}
+ <tr>
+ <td align="center">
+ <table class="content" width="100%" cellpadding="" cellspacing="0" role="presentation">
+ <br>
+ {{ $header ?? '' }}
-<!-- Email Body -->
-<tr>
-<td class="body" width="100%" cellpadding="0" cellspacing="0">
-<table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
-<!-- Body content -->
-<tr>
-<td class="content-cell">
-{{ Illuminate\Mail\Markdown::parse($slot) }}
-{{ $subcopy ?? '' }}
-</td>
-</tr>
-</table>
-</td>
-</tr>
+ <!-- Email Body -->
+ <tr>
+ <td class="body" width="100%" cellpadding="0" cellspacing="0">
+ <table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
+ <!-- Body content -->
+ <tr>
+ <td class="content-cell">
+ {{ Illuminate\Mail\Markdown::parse($slot) }}
-{{ $footer ?? '' }}
-</table>
-</td>
-</tr>
+ {{ $subcopy ?? '' }}
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ {{ $footer ?? '' }}
+ </table>
+ </td>
+ </tr>
</table>
</body>
</html>
@component('mail::layout')
+<img src="{{ Asset::public('logo.jpg') }}" alt="PSQ Logo" width="570" style="max-width: 100%; margin-bottom: 20px;" >
+<br>
{{-- Body --}}
{{ $slot }}
text-align: left;
}
+
+
a {
- color: #3869d4;
+ color: #074e9c;
}
a img {
/* Typography */
h1 {
- color: #3d4852;
+ color: #074e9c;
font-size: 18px;
font-weight: bold;
margin-top: 0;
}
h2 {
+ color: #d04d4a;
font-size: 16px;
font-weight: bold;
margin-top: 0;
.subcopy p {
font-size: 14px;
+ word-break: break-word;
}
/* Footer */
.button-blue,
.button-primary {
- background-color: #2d3748;
- border-bottom: 8px solid #2d3748;
- border-left: 18px solid #2d3748;
- border-right: 18px solid #2d3748;
- border-top: 8px solid #2d3748;
+ background-color: #074e9c;
+ border-bottom: 8px solid #074e9c;
+ border-left: 18px solid #074e9c;
+ border-right: 18px solid #074e9c;
+ border-top: 8px solid #074e9c;
}
.button-green,
.button-red,
.button-error {
- background-color: #e53e3e;
- border-bottom: 8px solid #e53e3e;
- border-left: 18px solid #e53e3e;
- border-right: 18px solid #e53e3e;
- border-top: 8px solid #e53e3e;
+ background-color: #d04d4a;
+ border-bottom: 8px solid #d04d4a;
+ border-left: 18px solid #d04d4a;
+ border-right: 18px solid #d04d4a;
+ border-top: 8px solid #d04d4a;
}
/* Panels */