Mercurial > borealpoint
annotate resources/views/components/responsive-nav-link.blade.php @ 0:9d7dcd54c677
Initial Commit and package setup
| author | luka |
|---|---|
| date | Sat, 23 Aug 2025 22:20:51 -0400 |
| parents | |
| children |
| rev | line source |
|---|---|
| 0 | 1 @props(['active']) |
| 2 | |
| 3 @php | |
| 4 $classes = | |
| 5 $active ?? false | |
| 6 ? 'd-block w-100 ps-3 pe-4 py-2 border-start border-4 border-primary text-start text-base fw-medium text-primary bg-primary bg-opacity-10 focus-outline-none focus-text-primary focus-bg-primary focus-bg-opacity-25 focus-border-primary transition duration-150 ease-in-out' | |
| 7 : 'd-block w-100 ps-3 pe-4 py-2 border-start border-4 border-transparent text-start text-base fw-medium text-secondary hover-text-dark hover-bg-light hover-border-secondary focus-outline-none focus-text-dark focus-bg-light focus-border-secondary transition duration-150 ease-in-out'; | |
| 8 @endphp | |
| 9 | |
| 10 <a {{ $attributes->merge(['class' => $classes]) }}> | |
| 11 {{ $slot }} | |
| 12 </a> |
