@extends('emails.layout') @section('content')
{!! e($icon ?? '🔔') !!} {{ $title ?? 'Notification' }}
@if(!empty($message))
{!! nl2br(e($message)) !!}
@endif @if(!empty($bullets) && is_array($bullets)) @endif @isset($code)
{{ $code }}
@endisset @if(!empty($cta) && is_array($cta) && !empty($cta['url']))
{{ $cta['label'] ?? 'Open' }}
@endif @if(!empty($meta) && is_array($meta))
@foreach($meta as $k => $v)
{{ ucfirst(str_replace('_',' ',$k)) }}: {{ is_scalar($v) ? $v : json_encode($v) }}
@endforeach
@endif @endsection