24 lines
562 B
PHP
24 lines
562 B
PHP
@props(['site' => null, 'message' => null])
|
|
@php
|
|
$name = $site?->name ?: (config('fewo.owner.name') ?: 'Vermietung');
|
|
$origin = $site?->origin() ?: config('app.url');
|
|
@endphp
|
|
<x-mail::layout>
|
|
<x-slot:header>
|
|
<x-mail::header :url="$origin">{{ $name }}</x-mail::header>
|
|
</x-slot:header>
|
|
|
|
|
|
{{ $slot }}
|
|
|
|
@isset($subcopy)
|
|
<x-slot:subcopy>
|
|
<x-mail::subcopy>{{ $subcopy }}</x-mail::subcopy>
|
|
</x-slot:subcopy>
|
|
@endisset
|
|
|
|
<x-slot:footer>
|
|
<x-mail::footer>© {{ date('Y') }} {{ $name }}. Alle Rechte vorbehalten.</x-mail::footer>
|
|
</x-slot:footer>
|
|
</x-mail::layout>
|