mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
16 lines
383 B
PHP
16 lines
383 B
PHP
@if ($separator)
|
|
<div class="w-full my-1 border-t border-secondary-200 dark:border-secondary-600"></div>
|
|
@endif
|
|
|
|
<a {{ $attributes->merge(['class' => $getClasses()]) }}>
|
|
@if ($icon)
|
|
<x-dynamic-component
|
|
:component="WireUi::component('icon')"
|
|
:name="$icon"
|
|
class="w-5 h-5 mr-2"
|
|
/>
|
|
@endif
|
|
|
|
{{ $label ?? $slot }}
|
|
</a>
|