Refactor dropdown and navigation components: update styles for improved consistency and accessibility; enhance link styling for better user experience
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
@props(['href', 'spa' => true])
|
||||
<a href="{{ $href }}" {{ $attributes->merge(['class' => 'flex flex-row items-center p-3 gap-2 text-sm font-medium
|
||||
text-wrap transition-colors duration-200 ' . ($href === request()->url() ? 'text-primary' : 'text-base/80 hover:text-base')]) }} @if($spa)
|
||||
<a href="{{ $href }}" {{ $attributes->merge(['class' => 'flex flex-row items-center p-3 gap-2 text-sm font-semibold
|
||||
text-wrap transition-colors duration-200 ' . ($href === request()->url() ? 'text-primary' : 'text-base hover:text-primary')]) }} @if($spa)
|
||||
wire:navigate @endif>
|
||||
{{ $slot }}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user