From e9ad87ef54861ef6733999f48750bcd02fe98aed Mon Sep 17 00:00:00 2001 From: salam Date: Thu, 16 Oct 2025 16:11:19 +0200 Subject: [PATCH] wip --- .../views/vendor/mail/html/button.blade.php | 41 ++++---- .../views/vendor/mail/html/footer.blade.php | 18 ++-- .../views/vendor/mail/html/header.blade.php | 18 ++-- .../views/vendor/mail/html/layout.blade.php | 98 ++++++++++--------- .../views/vendor/mail/html/message.blade.php | 44 ++++----- .../views/vendor/mail/html/panel.blade.php | 23 +++-- .../views/vendor/mail/html/subcopy.blade.php | 10 +- .../views/vendor/mail/html/table.blade.php | 2 +- 8 files changed, 128 insertions(+), 126 deletions(-) diff --git a/resources/views/vendor/mail/html/button.blade.php b/resources/views/vendor/mail/html/button.blade.php index 050e969..d10364b 100644 --- a/resources/views/vendor/mail/html/button.blade.php +++ b/resources/views/vendor/mail/html/button.blade.php @@ -1,24 +1,21 @@ -@props([ - 'url', - 'color' => 'primary', - 'align' => 'center', -]) +@props(['url', 'color' => 'primary', 'align' => 'center']) - - - + + + diff --git a/resources/views/vendor/mail/html/footer.blade.php b/resources/views/vendor/mail/html/footer.blade.php index 3ff41f8..33f7dad 100644 --- a/resources/views/vendor/mail/html/footer.blade.php +++ b/resources/views/vendor/mail/html/footer.blade.php @@ -1,11 +1,11 @@ - - - - - - - + + + + + + + diff --git a/resources/views/vendor/mail/html/header.blade.php b/resources/views/vendor/mail/html/header.blade.php index c47a260..1899bdc 100644 --- a/resources/views/vendor/mail/html/header.blade.php +++ b/resources/views/vendor/mail/html/header.blade.php @@ -1,12 +1,12 @@ @props(['url']) - - -@if (trim($slot) === 'Laravel') - -@else -{!! $slot !!} -@endif - - + + + @if (trim($slot) === 'Laravel') + + @else + {!! $slot !!} + @endif + + diff --git a/resources/views/vendor/mail/html/layout.blade.php b/resources/views/vendor/mail/html/layout.blade.php index 0fa6b82..f5cecc8 100644 --- a/resources/views/vendor/mail/html/layout.blade.php +++ b/resources/views/vendor/mail/html/layout.blade.php @@ -1,58 +1,64 @@ - + + -{{ config('app.name') }} - - - - - -{!! $head ?? '' !!} + @media only screen and (max-width: 500px) { + .button { + width: 100% !important; + } + } + + {!! $head ?? '' !!} + - - - + + + + diff --git a/resources/views/vendor/mail/html/message.blade.php b/resources/views/vendor/mail/html/message.blade.php index a16bace..25589c7 100644 --- a/resources/views/vendor/mail/html/message.blade.php +++ b/resources/views/vendor/mail/html/message.blade.php @@ -1,27 +1,27 @@ -{{-- Header --}} - - -{{ config('app.name') }} - - + {{-- Header --}} + + + {{ config('app.name') }} + + -{{-- Body --}} -{!! $slot !!} + {{-- Body --}} + {!! $slot !!} -{{-- Subcopy --}} -@isset($subcopy) - - -{!! $subcopy !!} - - -@endisset + {{-- Subcopy --}} + @isset($subcopy) + + + {!! $subcopy !!} + + + @endisset -{{-- Footer --}} - - -© {{ date('Y') }} {{ config('app.name') }}. {{ __('All rights reserved.') }} - - + {{-- Footer --}} + + + © {{ date('Y') }} {{ config('app.name') }}. {{ __('All rights reserved.') }} + + diff --git a/resources/views/vendor/mail/html/panel.blade.php b/resources/views/vendor/mail/html/panel.blade.php index 2975a60..783af16 100644 --- a/resources/views/vendor/mail/html/panel.blade.php +++ b/resources/views/vendor/mail/html/panel.blade.php @@ -1,14 +1,13 @@ - - - - - diff --git a/resources/views/vendor/mail/html/subcopy.blade.php b/resources/views/vendor/mail/html/subcopy.blade.php index 790ce6c..f559e8f 100644 --- a/resources/views/vendor/mail/html/subcopy.blade.php +++ b/resources/views/vendor/mail/html/subcopy.blade.php @@ -1,7 +1,7 @@ - - - + + + diff --git a/resources/views/vendor/mail/html/table.blade.php b/resources/views/vendor/mail/html/table.blade.php index a5f3348..b3bb3c8 100644 --- a/resources/views/vendor/mail/html/table.blade.php +++ b/resources/views/vendor/mail/html/table.blade.php @@ -1,3 +1,3 @@
-{{ Illuminate\Mail\Markdown::parse($slot) }} + {{ Illuminate\Mail\Markdown::parse($slot) }}