Files
2026-09-21 10:14:57 +01:00

20 lines
777 B
PHP
Executable File

@props([
'sidebar' => false,
])
@if ($sidebar)
<flux:sidebar.brand name="Warehouse Management System" {{ $attributes }}>
<x-slot name="logo"
class="flex aspect-square size-8 items-center justify-center rounded-md bg-accent-content text-accent-foreground">
<x-app-logo-icon class="size-5 fill-current text-white dark:text-black" />
</x-slot>
</flux:sidebar.brand>
@else
<flux:brand name="Warehouse Management System" {{ $attributes }}>
<x-slot name="logo"
class="flex aspect-square size-8 items-center justify-center rounded-md bg-accent-content text-accent-foreground">
<x-app-logo-icon class="size-5 fill-current text-white dark:text-black" />
</x-slot>
</flux:brand>
@endif