Files
Virtnet.bond/themes/lucentui/views/components/navigation/link.blade.php
2025-11-30 11:57:22 +01:00

7 lines
307 B
PHP

@props(['href', 'spa' => true])
<a href="{{ $href }}" {{ $attributes->merge(['class' => 'flex flex-row items-center p-3 gap-2 text-sm font-semibold
text-wrap ' . ($href === request()->url() ? 'text-primary' : 'text-base hover:text-base/80')]) }} @if($spa)
wire:navigate @endif>
{{ $slot }}
</a>