File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change 11@unless ($breadcrumbs -> isEmpty () )
22
3- <nav class =" container-fluid px-1 " >
4- <ol class =" list-reset py-4 pl-4 rounded flex bg-gray-300 text-gray-800" >
3+ <nav class =" container mx-auto " >
4+ <ol class =" p-4 rounded flex flex-wrap bg-gray-300 text-sm text-gray-800" >
55 @foreach ($breadcrumbs as $breadcrumb )
66
77 @if ($breadcrumb -> url && ! $loop -> last )
8- <li class =" px-2" >
9- <a href =" {{ $breadcrumb -> url } }" class =" no-underline text-blue-600" >{{ $breadcrumb -> title } } </a >
8+ <li >
9+ <a href =" {{ $breadcrumb -> url } }"
10+ class =" text-blue-600 hover:text-blue-900 hover:underline focus:text-blue-900 focus:underline" >
11+ {{ $breadcrumb -> title } }
12+ </a >
1013 </li >
1114 @else
12- <li class =" px-2" >{{ $breadcrumb -> title } } </li >
15+ <li >
16+ {{ $breadcrumb -> title } }
17+ </li >
1318 @endif
14- @if (! $loop -> last )
15- <li class =" text-gray-500" >/</li >
19+
20+ @unless ($loop -> last )
21+ <li class =" text-gray-500 px-2" >
22+ /
23+ </li >
1624 @endif
1725
1826 @endforeach
You can’t perform that action at this time.
0 commit comments