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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
1 @props(['active'])
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
2
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
3 @php
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
4 $classes =
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
5 $active ?? false
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
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'
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
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';
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
8 @endphp
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
9
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
10 <a {{ $attributes->merge(['class' => $classes]) }}>
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
11 {{ $slot }}
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
12 </a>