You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
873 B
PHTML

1 year ago
@props(['active'])
2 years ago
1 year ago
@php
$classes = ($active ?? false)
? 'py-1 px-3 bg-zinc-700/75 text-white hover:bg-zinc-700 group pixel-corner-sm active:bg-zinc-900'
: 'py-1 px-3 bg-zinc-800 text-white hover:bg-zinc-700 group pixel-corner-sm active:bg-zinc-900'
@endphp
<button class=" filter drop-shadow-pixel-sm hover:drop-shadow-pixel-sm-hover shadow-black">
<div class="{{$classes}}">
2 years ago
<div class="flex flex-row">
1 year ago
<div class="text-neutral-200 mr-[3px] text-shadow-sm shadow-zinc-950">
2 years ago
<
</div>
<div {{$attributes->merge(['class' => 'group-hover:underline text-shadow-sm'])}}>
{{ $slot }}
</div>
1 year ago
<div class="text-neutral-200 ml-[2px] text-shadow-sm shadow-zinc-950">
2 years ago
>
</div>
</div>
</div>
</button>