Skip to content

Commit

Permalink
Merge pull request #263 from grablair/feat/email-logo-link-configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
daveearley authored Oct 20, 2024
2 parents 8a98046 + bb0eb59 commit 791dbde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions backend/config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
],

'email_logo_url' => env('APP_EMAIL_LOGO_URL'),
'email_logo_link_url' => env('APP_EMAIL_LOGO_LINK_URL', env('APP_FRONTEND_URL', 'http://localhost')),
'email_footer_text' => env('APP_EMAIL_FOOTER_TEXT'),

/*
Expand Down
2 changes: 1 addition & 1 deletion backend/resources/views/vendor/mail/html/message.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<x-mail::layout>
{{-- Header --}}
<x-slot:header>
<x-mail::header :url="config('app.frontend_url')">
<x-mail::header :url="config('app.email_logo_link_url')">
@if($appLogo = config('app.email_logo_url'))
<img src="{{ $appLogo }}" class="logo" alt="{{ config('app.name') }}"
style="max-width: 300px;">
Expand Down

0 comments on commit 791dbde

Please sign in to comment.