Files
investbrain/resources/views/components/ui/menu.blade.php
T
hackerESQ e6f38d9481 Chore: Upgrade to Laravel 12 + remove Mary and Jetstream dependencies (#141)
* docs: remove requirement for setting APP_KEY manually

* optimize date picker

* clean up modals

* spot light working

* reorganization

* add lazy load

* wip

* remove filament

* styling
2025-09-26 17:41:28 -05:00

28 lines
607 B
PHP

@props([
'title' => null,
'icon' => null,
'separator' => false,
'activateByRoute' => false,
'activeBgColor' => 'bg-base-100'
])
<ul {{ $attributes->class(["menu rounded-md"]) }} >
@if($title)
<li class="menu-title text-inherit uppercase">
<div class="flex items-center gap-2">
@if($icon)
<x-ui.icon :name="$icon" class="w-4 h-4 inline-flex" />
@endif
{{ $title }}
</div>
</li>
@endif
@if($separator)
<hr class="mb-3"/>
@endif
{{ $slot }}
</ul>