- Livewire-Starter-Kit (Livewire 4, Flux, Fortify) mit Pest - Sail mit PHP 8.5, MySQL 8.4, Redis, Meilisearch 1.54.2, Mailpit - Registrierung deaktiviert, 2FA und Passkeys verfügbar - Spatie laravel-permission - gitleaks als Pre-Commit-Hook (.githooks) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
758 B
PHP
18 lines
758 B
PHP
@props([
|
|
'sidebar' => false,
|
|
])
|
|
|
|
@if($sidebar)
|
|
<flux:sidebar.brand :name="config('app.name', 'Laravel')" {{ $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="config('app.name', 'Laravel')" {{ $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
|