Initialer Laravel Commit für BetiX
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled

This commit is contained in:
2026-04-04 18:01:50 +02:00
commit 0280278978
374 changed files with 65210 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
@extends('emails.layout')
@section('content')
<div class="title">{!! e($icon ?? '🔔') !!} {{ $title ?? 'Notification' }}</div>
@if(!empty($message))
<div class="text">{!! nl2br(e($message)) !!}</div>
@endif
@if(!empty($bullets) && is_array($bullets))
<ul class="text" style="padding-left:18px; margin-top: -10px;">
@foreach($bullets as $b)
<li style="margin:6px 0;">{!! e($b) !!}</li>
@endforeach
</ul>
@endif
@isset($code)
<div class="text" style="text-align:center;">
<div style="display:inline-block; padding:12px 18px; border:1px dashed #333; border-radius:10px; background:#0d0d0d; color:#fff; font-weight:800; letter-spacing:3px; font-size:18px;">{{ $code }}</div>
</div>
@endisset
@if(!empty($cta) && is_array($cta) && !empty($cta['url']))
<div style="text-align: center; margin: 25px 0 5px;">
<a href="{{ $cta['url'] }}" class="btn">{{ $cta['label'] ?? 'Open' }}</a>
</div>
@endif
@if(!empty($meta) && is_array($meta))
<div class="text" style="font-size:12px; color:#666;">
@foreach($meta as $k => $v)
<div><strong>{{ ucfirst(str_replace('_',' ',$k)) }}:</strong> {{ is_scalar($v) ? $v : json_encode($v) }}</div>
@endforeach
</div>
@endif
@endsection