wip
This commit is contained in:
parent
efb31b2797
commit
66a6360105
|
|
@ -42,7 +42,11 @@
|
||||||
<ul class="navbar-nav mx-auto">
|
<ul class="navbar-nav mx-auto">
|
||||||
@foreach ($categories as $category)
|
@foreach ($categories as $category)
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a class="nav-link {{ (isset($category['children']) and $category['children']) ? 'dropdown-toggle' : '' }}" href="{{ $category['url'] }}" data-bs-toggle="dropdown">{{ $category['name'] }}</a>
|
<a
|
||||||
|
class="nav-link {{ (isset($category['children']) and $category['children']) ? 'dropdown-toggle' : '' }}"
|
||||||
|
href="{{ $category['url'] }}">
|
||||||
|
{{ $category['name'] }}
|
||||||
|
</a>
|
||||||
@if (isset($category['children']) and $category['children'])
|
@if (isset($category['children']) and $category['children'])
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
@forelse ($category['children'] as $child)
|
@forelse ($category['children'] as $child)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue