logo in header of mail

This commit is contained in:
salam committed 2025-10-16 17:32:00 +02:00
1 parent 42c7a10313
commit b5e3ca9914
4 files changed
+25 -52

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

+1 -26
View File
@@ -2,32 +2,7 @@
<tr> <tr>
<td class="header"> <td class="header">
<a href="{{ $url }}" style="display: inline-block;"> <a href="{{ $url }}" style="display: inline-block;">
<div style="height: 2.6rem"> <img src="{{ url('images/logo.png') }}" class="logo" alt="Logo">
<div>
<a class="display: flex; gap: 0; justify-content: center;" href="/">
<div class="padding-top: 0.25rem;">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round"
class="lucide lucide-drafting-compass-icon lucide-drafting-compass">
<path d="m12.99 6.74 1.93 3.44" />
<path d="M19.136 12a10 10 0 0 1-14.271 0" />
<path d="m21 21-2.16-3.84" />
<path d="m3 21 8.02-14.26" />
<circle cx="12" cy="5" r="2" />
</svg>
</div>
<div
class="font-size: 1.5rem; line-height: 2rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1;">
{!! $slot !!}
<div
class="font-size: 0.75rem; line-height: 1rem; font-weight: 300; letter-spacing: -0.05em;">
Software für Architekten
</div>
</div>
</a>
</div>
</div>
</a> </a>
</td> </td>
</tr> </tr>
+20 -22
View File
@@ -1,27 +1,25 @@
<x-mail::layout> <x-mail::layout>
{{-- Header --}} {{-- Header --}}
<x-slot:header> @slot('header')
<x-mail::header :url="config('app.url')"> @include('mail::header', ['url' => config('app.url')])
{{ config('app.name') }} @endslot
</x-mail::header>
</x-slot:header>
{{-- Body --}} {{-- Body --}}
{!! $slot !!} {!! $slot !!}
{{-- Subcopy --}} {{-- Subcopy --}}
@isset($subcopy) @isset($subcopy)
<x-slot:subcopy> <x-slot:subcopy>
<x-mail::subcopy> <x-mail::subcopy>
{!! $subcopy !!} {!! $subcopy !!}
</x-mail::subcopy> </x-mail::subcopy>
</x-slot:subcopy> </x-slot:subcopy>
@endisset @endisset
{{-- Footer --}} {{-- Footer --}}
<x-slot:footer> <x-slot:footer>
<x-mail::footer> <x-mail::footer>
© {{ date('Y') }} {{ config('app.name') }}. {{ __('All rights reserved.') }} © {{ date('Y') }} {{ config('app.name') }}. {{ __('All rights reserved.') }}
</x-mail::footer> </x-mail::footer>
</x-slot:footer> </x-slot:footer>
</x-mail::layout> </x-mail::layout>
+4 -4
View File
@@ -112,9 +112,9 @@ img {
/* Logo */ /* Logo */
.logo { .logo {
height: 75px; height: 118px;
max-height: 75px; max-height: 118px;
width: 75px; width: 480px;
} }
/* Body */ /* Body */
@@ -292,4 +292,4 @@ img {
.break-all { .break-all {
word-break: break-all; word-break: break-all;
} }