File: D:/HostingSpaces/SBogers42/tandartsmaas.nl/app/views/emails/template.blade.php
<?php
$colors = new stdClass();
$colors->red = '#FF8767';
$colors->blue = '#95CEE6';
$colors->text = '#52405B';
$colors->green = '#9CE7A4';
$colors->purple = '#5B4E62';
$colors->yellow = '#F5EC82';
$colors->background = '#E7E6EC';
$attributes = new stdClass();
$attributes->cleanTable = 'cellpadding="0" cellspacing="0" border="0"';
$styles = new stdClass();
$styles->containerWidth = 'width: 100%; min-width: 320px; max-width: 600px; ';
$styles->button = 'display: inline-block; max-width: 200px; padding: 10px 20px; border-radius: 5px; background: ' . $colors->red . '; color: #fff;';
$font = new stdClass();
$font->default = 'font-family: Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 400; line-height: 1.4;';
$font->title = 'font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 700; line-height: 1.4;';
$font->button = 'font-family: Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 700; line-height: 1.4;';
$url = new stdClass();
$url->image = 'https://tandartsmaas.nl/images/emails/';
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="utf-8">
</head>
<style type="text/css">
@media screen and (max-width: 480px) {
.stack{
display: block;
width: 100%;
}
.stack.header{
text-align: center;
}
.stack.header img{
display: inline-block;
}
.text-logo
{
width: 208px
}
.container
{
width: 100% !important;
}
}
</style>
<body background="{{ $url->image }}background.jpg" style="margin: 0; background: {{ $colors->background }} url({{ $url->image }}background.jpg)">
<center>
<table class="container" {{ $attributes->cleanTable }} width="600" style="width: 600px">
<tr>
<td>
<table {{ $attributes->cleanTable }}
style="
{{ $styles->containerWidth }};
background: #fff;
margin: 0 auto;">
{{-- Header --}}
<tr>
<td>
@include('emails.template.header',[
'colors' => $colors,
'attributes' => $attributes,
'styles' => $styles,
'font' => $font,
'url' => $url
])
</td>
</tr>
{{-- Title --}}
<tr>
<td>
@include('emails.template.title',[
'colors' => $colors,
'attributes' => $attributes,
'styles' => $styles,
'font' => $font
])
</td>
</tr>
{{-- Message --}}
<tr>
<td>
@include('emails.template.message',[
'colors' => $colors,
'attributes' => $attributes,
'styles' => $styles,
'font' => $font
])
</td>
</tr>
{{-- Green bar --}}
<tr>
<td>
@include('emails.template.greenBar',[
'colors' => $colors,
'attributes' => $attributes,
'styles' => $styles,
'font' => $font
])
</td>
</tr>
{{-- Footer --}}
<tr>
<td>
@include('emails.template.footer',[
'colors' => $colors,
'attributes' => $attributes,
'styles' => $styles,
'font' => $font,
'url' => $url
])
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</body>
</html>