We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 283016f commit 93cef20Copy full SHA for 93cef20
packages/framework/resources/views/components/navigation/navigation-link.blade.php
@@ -1,6 +1,6 @@
1
<a href="{{ $item }}" {{ $attributes->except('item')->class([
2
'navigation-link block my-2 md:my-0 md:inline-block py-1 text-gray-700 hover:text-gray-900 dark:text-gray-100',
3
'navigation-link-active border-l-4 border-indigo-500 md:border-none font-medium -ml-6 pl-5 md:ml-0 md:pl-0 bg-gray-100 dark:bg-gray-800 md:bg-transparent dark:md:bg-transparent' => $item->isActive()
4
-])->merge([
+])->merge($item->getExtraAttributes())->merge([
5
'aria-current' => $item->isActive() ? 'page' : false,
6
-])->merge($item->getExtraAttributes()) }}>{{ $item->getLabel() }}</a>
+]) }}>{{ $item->getLabel() }}</a>
0 commit comments