Initial commit

This commit is contained in:
Ronald Huynen
2026-03-23 21:37:59 +01:00
commit 2547717edb
2193 changed files with 972171 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
{{-- Article Block Template for Email Newsletter --}}
<table role="presentation" class="content-block" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 30px; border-top: 1px solid #e5e7eb; padding-top: 30px;">
<tr>
<td>
{{-- Image --}}
@if(isset($post['image']) && $post['image'])
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 20px;">
<tr>
<td align="center">
<img src="{{ $post['image'] }}" alt="{{ $post['title'] }}"
style="max-width: 100%; height: auto; display: block; border: 0;"
width="560" />
</td>
</tr>
</table>
@endif
{{-- Title --}}
<h2 style="font-family: Arial, Helvetica, sans-serif; font-size: 26px; font-weight: bold; color: {{ theme_color('text.primary') }}; margin: 0 0 15px 0; padding: 0; line-height: 1.3; ">
<a href="{{ $post['url'] }}" style="color: {{ theme_color('text.primary') }}; text-decoration: none;">
{{ $post['title'] }}
</a>
</h2>
{{-- Category --}}
@if(isset($post['category']) && $post['category'])
<table role="presentation" cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 15px 0;">
<tr>
<td style="background-color: {{ theme_color('brand') }}; padding: 4px 12px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #ffffff; font-weight: bold;">
{{ $post['category'] }}
</td>
</tr>
</table>
@endif
{{-- Author (prominent for articles) --}}
@if(isset($post['author']) && $post['author'])
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('brand') }}; margin: 0 0 15px 0; padding: 0; font-weight: bold;">
{{ __('Written by') }} {{ $post['author'] }}
</p>
@endif
{{-- Excerpt --}}
@if(isset($post['excerpt']) && $post['excerpt'])
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.secondary') }}; margin: 0 0 20px 0; padding: 0; line-height: 1.5;">
{{ $post['excerpt'] }}
</p>
@endif
{{-- Continue reading button --}}
<table role="presentation" class="mobile-button" cellpadding="0" cellspacing="0" border="0" align="center" style="margin: 20px auto;">
<tr>
<td align="center" style="border-radius: 6px; background-color: {{ theme_color('brand') }};">
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{ $post['url'] }}" style="height:40px;v-text-anchor:middle;width:200px;" arcsize="15%" stroke="f" fillcolor="{{ theme_color('brand') }}">
<w:anchorlock/>
<center>
<![endif]-->
<a href="{{ $post['url'] }}" style="background-color: {{ theme_color('brand') }}; border-radius: 6px; color: #ffffff; display: block; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; line-height: 40px; text-align: center; text-decoration: none; width: 200px; -webkit-text-size-adjust: none; mso-hide: all;">
{{ __('Continue Reading') }}
</a>
<!--[if mso]>
</center>
</v:roundrect>
<![endif]-->
</td>
</tr>
</table>
</td>
</tr>
</table>

View File

@@ -0,0 +1,121 @@
{{-- Event Block Template for Email Newsletter --}}
<table role="presentation" class="content-block" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 30px; border-top: 1px solid #e5e7eb; padding-top: 30px;">
<tr>
<td>
{{-- Image --}}
@if(isset($post['image']) && $post['image'])
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 20px;">
<tr>
<td align="center">
<img src="{{ $post['image'] }}" alt="{{ $post['title'] }}"
style="max-width: 100%; height: auto; display: block; border: 0;"
width="560" />
</td>
</tr>
</table>
@endif
{{-- Title --}}
<h2 style="font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: {{ theme_color('text.primary') }}; margin: 0 0 15px 0; padding: 0; line-height: 1.3; ">
<a href="{{ $post['url'] }}" style="color: {{ theme_color('text.primary') }}; text-decoration: none;">
{{ $post['title'] }}
</a>
</h2>
{{-- Category --}}
@if(isset($post['category']) && $post['category'])
<table role="presentation" cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 15px 0;">
<tr>
<td style="background-color: {{ theme_color('brand') }}; padding: 4px 12px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #ffffff; font-weight: bold;">
{{ $post['category'] }}
</td>
</tr>
</table>
@endif
{{-- Date, time, Venue and location --}}
@if(isset($post['venue']) && $post['venue'])
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('brand') }}; margin: 0 0 10px 0; padding: 0; font-weight: bold;">
@if(isset($post['event_date']) && $post['event_date'])
{{ $post['event_date'] }}
@if(isset($post['event_time']) && $post['event_time'])
- {{ $post['event_time'] }}
@endif
<br>{{ $post['venue'] }}
@endif
@if(isset($post['address']) && $post['address'])
<br>{{ $post['address'] }}
@endif
</p>
@endif
{{-- Excerpt --}}
@if(isset($post['excerpt']) && $post['excerpt'])
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.secondary') }}; margin: 0 0 20px 0; padding: 0; line-height: 1.5;">
{{ $post['excerpt'] }}
</p>
@endif
{{-- Organizer --}}
@if(isset($post['author']) && $post['author'])
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.secondary') }}; margin: 0 0 20px 0;">
<span style="font-weight: bold;"> {{ __('Organized by') }} {{ $post['author'] }} </span>
</p>
@endif
{{-- Event buttons --}}
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin: 20px 0;">
<tr>
<td align="center">
{{-- Event page button --}}
<table role="presentation" class="mobile-button" cellpadding="0" cellspacing="0" border="0" style="display: inline-block; vertical-align: top;">
<tr>
<td align="center" style="border-radius: 6px; background-color: {{ theme_color('brand') }};">
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{ $post['url'] }}" style="height:44px;v-text-anchor:middle;width:150px;" arcsize="14%" stroke="f" fillcolor="{{ theme_color('brand') }}">
<w:anchorlock/>
<center>
<![endif]-->
<a href="{{ $post['url'] }}" style="background-color: {{ theme_color('brand') }}; border-radius: 6px; color: #ffffff; display: inline-block; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; padding: 12px 20px; text-align: center; text-decoration: none; -webkit-text-size-adjust: none; mso-hide: all;">
{{ __('Event page') }}
</a>
<!--[if mso]>
</center>
</v:roundrect>
<![endif]-->
</td>
</tr>
</table>
{{-- Calendar link if available --}}
@if(isset($post['calendar_url']) && $post['calendar_url'])
<!--[if !mso]><!-->
<table role="presentation" class="mobile-button" cellpadding="0" cellspacing="0" border="0" style="display: inline-block; vertical-align: top; margin-left: 10px;">
<!--<![endif]-->
<!--[if mso]>
<table role="presentation" class="mobile-button" cellpadding="0" cellspacing="0" border="0" align="left" style="display: inline-block;">
<![endif]-->
<tr>
<td align="center" style="border-radius: 6px; background-color: #6b7280;">
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{ $post['calendar_url'] }}" style="height:44px;v-text-anchor:middle;width:180px;" arcsize="14%" stroke="f" fillcolor="#6b7280">
<w:anchorlock/>
<center>
<![endif]-->
<a href="{{ $post['calendar_url'] }}" style="background-color: #6b7280; border-radius: 6px; color: #ffffff; display: inline-block; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; padding: 12px 20px; text-align: center; text-decoration: none; -webkit-text-size-adjust: none; mso-hide: all;">
📅 {{ __('Add to Calendar') }}
</a>
<!--[if mso]>
</center>
</v:roundrect>
<![endif]-->
</td>
</tr>
</table>
@endif
</td>
</tr>
</table>
</td>
</tr>
</table>

View File

@@ -0,0 +1,46 @@
{{-- Image Block Template for Email Newsletter --}}
<table role="presentation" class="content-block" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 30px; border-top: 1px solid #e5e7eb; padding-top: 30px;">
<tr>
<td>
{{-- Image --}}
@if(isset($post['image']) && $post['image'])
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 0;">
<tr>
<td align="center">
@if(isset($post['url']) && $post['url'])
<a href="{{ $post['url'] }}" style="display: block;">
<img src="{{ $post['image'] }}" alt="{{ $post['title'] ?? '' }}"
style="max-width: 100%; height: auto; display: block; border: 0;"
width="560" />
</a>
@else
<img src="{{ $post['image'] }}" alt="{{ $post['title'] ?? '' }}"
style="max-width: 100%; height: auto; display: block; border: 0;"
width="560" />
@endif
</td>
</tr>
</table>
{{-- Caption and Owner - small text aligned right --}}
@if((isset($post['media_caption']) && $post['media_caption']) || (isset($post['media_owner']) && $post['media_owner']))
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-top: 8px;">
<tr>
<td align="right" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: {{ theme_color('text.secondary') }}; line-height: 1.4;">
@if(isset($post['media_caption']) && $post['media_caption'])
<span style="font-style: italic;">{{ $post['media_caption'] }}</span>
@endif
@if((isset($post['media_caption']) && $post['media_caption']) && (isset($post['media_owner']) && $post['media_owner']))
<span style="margin: 0 4px;"></span>
@endif
@if(isset($post['media_owner']) && $post['media_owner'])
<span>{{ $post['media_owner'] }}</span>
@endif
</td>
</tr>
</table>
@endif
@endif
</td>
</tr>
</table>

View File

@@ -0,0 +1,82 @@
{{-- News Block Template for Email Newsletter --}}
<table role="presentation" class="content-block" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 30px; border-top: 1px solid #e5e7eb; padding-top: 30px;">
<tr>
<td>
{{-- Image --}}
@if(isset($post['image']) && $post['image'])
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 20px;">
<tr>
<td align="center">
<img src="{{ $post['image'] }}" alt="{{ $post['title'] }}"
style="max-width: 100%; height: auto; display: block; border: 0;"
width="560" />
</td>
</tr>
</table>
@endif
{{-- Location prefix for news --}}
@if(isset($post['location_prefix']) && $post['location_prefix'])
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: {{ theme_color('brand') }}; text-transform: uppercase; margin: 0 0 10px 0; letter-spacing: 1px;">
{{ $post['location_prefix'] }}
</p>
@endif
{{-- Title --}}
<h2 style="font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: {{ theme_color('text.primary') }}; margin: 0 0 15px 0; padding: 0; line-height: 1.3;">
<a href="{{ $post['url'] }}" style="color: {{ theme_color('text.primary') }}; text-decoration: none;">
{{ $post['title'] }}
</a>
</h2>
{{-- Category --}}
@if(isset($post['category']) && $post['category'])
<table role="presentation" cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 15px 0;">
<tr>
<td style="background-color: {{ theme_color('brand') }}; padding: 4px 12px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #ffffff; font-weight: bold;">
{{ $post['category'] }}
</td>
</tr>
</table>
@endif
{{-- Excerpt --}}
@if(isset($post['excerpt']) && $post['excerpt'])
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.secondary') }}; margin: 0 0 20px 0; padding: 0; line-height: 1.5;">
{{ $post['excerpt'] }}
</p>
@endif
{{-- Author and date --}}
@if(isset($post['author']) && $post['author'])
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 20px;">
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.secondary') }};">
<span style="font-weight: bold;">{{ __('By') }} {{ $post['author'] }}</span>
</td>
</tr>
</table>
@endif
{{-- Read more button --}}
<table role="presentation" class="mobile-button" cellpadding="0" cellspacing="0" border="0" align="center" style="margin: 20px auto;">
<tr>
<td align="center" style="border-radius: 6px; background-color: {{ theme_color('brand') }};">
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{ $post['url'] }}" style="height:40px;v-text-anchor:middle;width:200px;" arcsize="15%" stroke="f" fillcolor="{{ theme_color('brand') }}">
<w:anchorlock/>
<center>
<![endif]-->
<a href="{{ $post['url'] }}" style="background-color: {{ theme_color('brand') }}; border-radius: 6px; color: #ffffff; display: block; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; line-height: 40px; text-align: center; text-decoration: none; width: 200px; -webkit-text-size-adjust: none; mso-hide: all;">
{{ __('Full article') }}
</a>
<!--[if mso]>
</center>
</v:roundrect>
<![endif]-->
</td>
</tr>
</table>
</td>
</tr>
</table>

View File

@@ -0,0 +1,114 @@
<!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" xml:lang="{{ $locale ?? config('app.locale') }}" lang="{{ $locale ?? config('app.locale') }}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="x-apple-disable-message-reformatting" />
<title>{{ $subject }}</title>
<!--[if mso]>
<style type="text/css">
body, table, td, p, a, li {
font-family: Arial, sans-serif !important;
}
</style>
<![endif]-->
<style type="text/css">
/* Client-specific Styles */
body, table, td, p, a, li, blockquote {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table, td {
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
-ms-interpolation-mode: bicubic;
border: 0;
height: auto;
line-height: 100%;
outline: none;
}
/* Reset styles */
body {
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
}
/* What it does: Stops Outlook from adding extra spacing to tables. */
table {
border-collapse: collapse !important;
}
/* What it does: Fixes webkit padding issue. */
table.email-container {
border-spacing: 0 !important;
}
/* Progressive Enhancement for Mobile */
@media only screen and (max-width: 600px) {
.email-container {
width: 100% !important;
}
}
</style>
</head>
<body style="margin: 0; padding: 0; width: 100%; background-color: #f4f4f4; font-family: Arial, Helvetica, sans-serif;">
<table role="presentation" class="email-wrapper" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center">
<table role="presentation" class="email-container" width="600" cellpadding="0" cellspacing="0" border="0" style="max-width: 600px; background-color: #ffffff;">
<!-- Header -->
<tr>
<td style="background-color: {{ theme_color('brand') }}; padding: 20px; text-align: center;">
<img src="{{ asset('storage/app-images/app_mail_logo_inverted.png') }}" alt="{{ config('app.name') }}" width="90" height="auto" style="width: 90px; max-width: 90px; height: auto; display: block; margin: 0 auto; border: 0; outline: none;" />
@if(isset($mailingTitle))
<p style="color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: 600; margin: 0; padding: 0; mso-line-height-rule: exactly; line-height: 1.5;">
{{ $mailingTitle }}
</p>
@endif
</td>
</tr>
<!-- Content -->
<tr>
<td class="email-content" style="padding: 30px 20px 0px 20px;">
@if(isset($contentBlocks) && count($contentBlocks) > 0)
@foreach($contentBlocks as $block)
@include($block['template'], ['post' => $block['data']])
@endforeach
@else
{{ $slot ?? '' }}
@endif
</td>
</tr>
<!-- Footer -->
<tr>
<td style="background-color: #f9fafb; padding: 20px; text-align: center; border-top: 1px solid #e5e7eb;">
<p style="margin: 5px 0; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #6b7280; line-height: 1.5;">
{{ __('You received this newsletter because you subscribed to our updates.') }}
</p>
<p style="margin: 5px 0; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #6b7280; line-height: 1.5;">
<a href="{{ $unsubscribeUrl ?? '#' }}" style="color: #6b7280; text-decoration: underline;">
{{ __('Unsubscribe') }}
</a> |
<a href="{{ config('app.url') }}" style="color: #6b7280; text-decoration: underline;">
{{ __('Visit our website') }}
</a>
</p>
<p style="margin: 15px 0 5px 0; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #6b7280; line-height: 1.5;">
© {{ date('Y') }} {{ config('app.name') }}. {{ __('All rights reserved.') }}
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>