{{--
Lernschiff Brand Component
Location: resources/views/components/layout/brand.blade.php
Usage:
--}}
@props([
'tag' => 'Schüler · v1.0',
'variant' => 'default',
'href' => null,
])
@php
$element = $href !== null ? 'a' : 'div';
$linkAttrs = $href !== null ? ['href' => $href] : [];
@endphp
<{{ $element }}
{{ $attributes->merge($linkAttrs)->merge(['class' => 'flex items-center gap-2.5']) }}
aria-label="Lernschiff Home"
>
@if($variant === 'wordmark')
@elseif($variant === 'icon-only')
@else
Lernschiff
{{ $tag }}
@endif
{{ $element }}>