Layout Base

This commit is contained in:
2025-01-07 07:09:25 -03:00
parent 6ec3344c17
commit 07b62a07a0
29 changed files with 623 additions and 2516 deletions

View File

@@ -0,0 +1,13 @@
@php
if (!isset($active)) {
$active = false;
}
@endphp
<a class="{{ $active
? 'bg-primary text-white hover:bg-primary-600 active:bg-primary-700'
: 'text-secondary-600 hover:bg-secondary-50 active:bg-secondary-100' }}
flex items-center gap-1 px-4 py-2 text-sm"
href="{{ $route }}" wire:navigate>
<x-icon name="{{ $icon }}" sm />
<span>{{ $title }}</span>
</a>