@props(['size' => 'md', 'rounded' => '2xl']) @php $sizes = [ 'sm' => 'w-10 h-10 text-lg rounded-xl', 'md' => 'w-12 h-12 text-xl rounded-2xl', 'lg' => 'w-16 h-16 text-2xl rounded-2xl', ]; $sizeClass = $sizes[$size] ?? $sizes['md']; $roundClass = $rounded === 'xl' ? 'rounded-xl' : 'rounded-2xl'; @endphp @if(!empty($branding['logo_url'])) Logo sekolahmerge(['class' => "{$sizeClass} object-contain shrink-0 shadow-lg bg-white"]) }}> @else
merge(['class' => "{$sizeClass} {$roundClass} flex items-center justify-center text-white font-extrabold shadow-lg shrink-0"]) }} style="background-color: {{ $branding['secondary'] }}"> {{ $branding['logo_text'] }}
@endif