@props(['size' => 'md', 'light' => false, 'stacked' => false]) @php $look = \App\Services\Appearance::all(); $logo = \App\Services\Appearance::logoUrl($look); $name = \App\Services\Appearance::appName($look); $box = $size === 'lg' ? 'h-14 w-14 text-2xl rounded-xl' : 'h-9 w-9 text-base rounded-lg'; $text = $size === 'lg' ? 'text-lg' : 'text-[15px]'; @endphp class(['inline-flex items-center gap-3', 'flex-col !gap-2 text-center' => $stacked]) }}> @if ($logo) {{ $name }} @else {{ \Illuminate\Support\Str::upper(\Illuminate\Support\Str::substr($name, 0, 1)) }} @endif {{ $name }}