- add sidebar open close animation in broker control panel - fix overflow issue in broker dashboard page
6 lines
362 B
PHP
6 lines
362 B
PHP
@props([ 'link' => ''])
|
|
@aware(['activeClass' => 'bg-gray-100 text-gray-900'])
|
|
<a href="{{$link}}" {{$attributes->class(["flex space-x-3 items-center pl-3 py-3 rounded-xl hover:bg-gray-100 border border-transparent ease-in-out transition-all duration-300 active:scale-80 hover:border-gray-300", $activeClass => url()->current() == $link])}} >
|
|
{{$slot}}
|
|
</a>
|