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,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>