responsive-nav-link.blade.php 497 B

1234567891011
  1. @props(['active'])
  2. @php
  3. $classes = ($active ?? false)
  4. ? 'block pl-3 pr-4 py-2 border-l-4 border-yelmax text-base font-medium text-fogra hover:text-yelmax focus:outline-none focus:text-yelmax transition duration-150 ease-in-out'
  5. : 'block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-fogra hover:text-yelmax focus:outline-none transition duration-150 ease-in-out';
  6. @endphp
  7. <a {{ $attributes->merge(['class' => $classes]) }}>
  8. {{ $slot }}
  9. </a>