Menu
This commit is contained in:
@ -21,7 +21,7 @@ class Menu
|
|||||||
if (isset($item->submenus)) {
|
if (isset($item->submenus)) {
|
||||||
return $this->buildDropdown($item);
|
return $this->buildDropdown($item);
|
||||||
}
|
}
|
||||||
return "<a class=\"item\" href=\"{{$this->urls->base}}/{{$item->url}}\">{{$item->title}}</a>";
|
return "<a class=\"item\" href=\"{$this->urls->base}/{$item->url}\">{$item->title}</a>";
|
||||||
}
|
}
|
||||||
protected function buildDropdown(mixed $item): string
|
protected function buildDropdown(mixed $item): string
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user