Use PNG Ladill Events logo in all transactional email templates.
Deploy Ladill Events / deploy (push) Successful in 1m7s

Load ladillevents-logo-email.png via asset() on a light header and extend the branded layout to join, registration, and programme emails.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-03 17:30:21 +00:00
co-authored by Cursor
parent 1746874aaa
commit 5662ac9454
5 changed files with 109 additions and 44 deletions
@@ -1,13 +1,34 @@
<!DOCTYPE html>
<html>
<body style="font-family: sans-serif; color: #1e293b; line-height: 1.5;">
@if($attendeeName)
<p>Hi {{ $attendeeName }},</p>
@endif
<p>Here is everything you need for <strong>{{ $eventName }}</strong>:</p>
<ul>
<li><a href="{{ $programmeUrl }}">View programme</a></li>
<li><a href="{{ $joinUrl }}">Join virtual session</a></li>
</ul>
</body>
</html>
@extends('mail.notifications.layout')
@section('email-header')
@include('mail.partials.brand-header', ['brand' => 'events'])
@endsection
@section('email-footer')
@include('mail.partials.brand-footer', ['brand' => 'events'])
@endsection
@section('content')
@if($attendeeName)
<p class="email-text">Hi {{ $attendeeName }},</p>
@endif
<h1 class="email-title">{{ $eventName }}</h1>
<p class="email-text">
Here is everything you need for <strong>{{ $eventName }}</strong>:
</p>
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin:24px 0;">
<tr>
<td align="center">
<a href="{{ $programmeUrl }}" class="email-button" style="display:inline-block;background:#4f46e5;color:#ffffff;text-decoration:none;padding:12px 28px;border-radius:10px;font-size:14px;font-weight:600;margin:8px 4px;">
View programme
</a>
<a href="{{ $joinUrl }}" class="email-button-secondary" style="display:inline-block;background:#f1f5f9;color:#0f172a;text-decoration:none;padding:12px 24px;border-radius:8px;font-size:14px;font-weight:600;margin:8px 4px;">
Join virtual session
</a>
</td>
</tr>
</table>
@endsection
@@ -1,10 +1,35 @@
<!DOCTYPE html>
<html>
<body style="font-family: sans-serif; color: #1e293b; line-height: 1.5;">
@if($attendeeName)
<p>Hi {{ $attendeeName }},</p>
@endif
<p>Your virtual session for <strong>{{ $eventName }}</strong> is ready.</p>
<p><a href="{{ $joinUrl }}">Join the session</a></p>
</body>
</html>
@extends('mail.notifications.layout')
@section('email-header')
@include('mail.partials.brand-header', ['brand' => 'events'])
@endsection
@section('email-footer')
@include('mail.partials.brand-footer', ['brand' => 'events'])
@endsection
@section('content')
@if($attendeeName)
<p class="email-text">Hi {{ $attendeeName }},</p>
@endif
<h1 class="email-title">Join {{ $eventName }}</h1>
<p class="email-text">
Your virtual session for <strong>{{ $eventName }}</strong> is ready.
</p>
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin:24px 0;">
<tr>
<td align="center">
<a href="{{ $joinUrl }}" class="email-button" style="display:inline-block;background:#4f46e5;color:#ffffff;text-decoration:none;padding:12px 28px;border-radius:10px;font-size:14px;font-weight:600;">
Join the session
</a>
</td>
</tr>
</table>
<p class="email-text-sm">
Or open this link: <a href="{{ $joinUrl }}" style="color:#4f46e5;">{{ $joinUrl }}</a>
</p>
@endsection
@@ -1,13 +1,38 @@
<!DOCTYPE html>
<html>
<body style="font-family: sans-serif; color: #1e293b; line-height: 1.5;">
@if($attendeeName)
<p>Hi {{ $attendeeName }},</p>
@endif
<p>You are registered for <strong>{{ $eventName }}</strong>.</p>
<p>Your badge code: <strong>{{ $badgeCode }}</strong></p>
@if(!empty($joinUrl))
<p><a href="{{ $joinUrl }}">Join the virtual session</a></p>
@endif
</body>
</html>
@extends('mail.notifications.layout')
@section('email-header')
@include('mail.partials.brand-header', ['brand' => 'events'])
@endsection
@section('email-footer')
@include('mail.partials.brand-footer', ['brand' => 'events'])
@endsection
@section('content')
@if($attendeeName)
<p class="email-text">Hi {{ $attendeeName }},</p>
@endif
<h1 class="email-title">Registration confirmed</h1>
<p class="email-text">
You are registered for <strong>{{ $eventName }}</strong>.
</p>
<div class="email-details">
<p class="email-details-title">Your badge</p>
<p class="email-details-value">{{ $badgeCode }}</p>
</div>
@if(! empty($joinUrl))
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin:24px 0;">
<tr>
<td align="center">
<a href="{{ $joinUrl }}" class="email-button" style="display:inline-block;background:#4f46e5;color:#ffffff;text-decoration:none;padding:12px 28px;border-radius:10px;font-size:14px;font-weight:600;">
Join the virtual session
</a>
</td>
</tr>
</table>
@endif
@endsection
@@ -38,14 +38,10 @@
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.email-header {
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
background-color: #f8fafc;
padding: 32px 40px;
text-align: center;
}
.email-logo {
max-height: 28px;
width: auto;
}
.email-logo-transfer {
max-height: 24px;
width: auto;
@@ -1,7 +1,5 @@
@php
$brandKey = $brand ?? 'ladill';
$brandConfig = config("mail_brands.brands.{$brandKey}", config('mail_brands.brands.ladill'));
$assetBase = rtrim((string) ($brandConfig['asset_url'] ?? config('app.url')), '/');
$logoClass = trim((string) ($brandConfig['logo_class'] ?? 'email-logo'));
@endphp
<img src="{{ $assetBase }}/images/logo/{{ $brandConfig['logo'] }}" alt="{{ $brandConfig['name'] }}" class="{{ $logoClass }}">
<img src="{{ asset('images/logo/'.$brandConfig['logo']) }}" alt="{{ $brandConfig['name'] }}" style="height: 38px; max-height: 38px; width: auto;">