unsubscribe fixes

This commit is contained in:
2025-11-16 22:56:16 +10:00
parent eab3d062f5
commit 71eb00d010
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
@component('mail::message', ['email' => $email])
@component('mail::message', ['email' => $email, 'unsubscribe' => $unsubscribeLink])
<p>Welcome to the community!</p>
<p>Really glad to have you here and can't wait to see you at one of our workshops.</p>
<p>You'll get information about upcoming workshops as it comes out.</p>

View File

@@ -20,7 +20,7 @@
<p>This email was sent to <a href="mailto:{{ $email }}">{{ $email }}</a><br />
<a href="{{ route('index') }}">{{ config('app.name') }}</a> | 63 Dalton Street | Westcourt, QLD 4870 Australia<br />
© {{ date('Y') }} {{ config('app.name') }}. {{ __('All rights reserved.') }}<br />
<a href="{{ route('privacy') }}">Privacy Policy</a> | <a href="{{ route('terms-conditions') }}">Terms & Conditions</a> @isset($unsubscribeLink) | <a href="{{ $unsubscribeLink }}">Unsubscribe</a>@endisset
<a href="{{ route('privacy') }}">Privacy Policy</a> | <a href="{{ route('terms-conditions') }}">Terms & Conditions</a> @isset($unsubscribe) | <a href="{{ $unsubscribe }}">Unsubscribe</a>@endisset
</p>
</x-mail::footer>
</x-slot:footer>

View File

@@ -18,7 +18,7 @@ This email was sent to {{ $email }}
STEMMechanics | 63 Dalton Street | Westcourt, QLD 4870 Australia
© {{ date('Y') }} {{ config('app.name') }}. {{ __('All rights reserved.') }}
@isset($unsubscribeLink) Unsubscribe: {{ $unsubscribeLink }}@endisset
@isset($unsubscribe) Unsubscribe: {{ $unsubscribe }}@endisset
</x-mail::footer>
</x-slot:footer>
</x-mail::layout>