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
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
@props([
|
||||
'id' => null,
|
||||
'title' => null,
|
||||
'description' => null,
|
||||
'icon' => 'o-x-circle',
|
||||
'only' => []
|
||||
])
|
||||
|
||||
<div>
|
||||
@if ($errors->any())
|
||||
<div {{ $attributes->class(["flex justify-start alert alert-error rounded rounded-md"]) }} >
|
||||
<div class="grid gap-3">
|
||||
<div class="flex gap-2">
|
||||
@if($title)
|
||||
<x-icon :name="$icon" class="w-6 h-6 mt-0.5" />
|
||||
@endif
|
||||
<div>
|
||||
@if($title)
|
||||
<div class="font-bold text-lg">{{ $title }}</div>
|
||||
@endif
|
||||
|
||||
@if($description)
|
||||
<div class="font-semibold">{{ $description }}</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="list-disc ms-3 space-y-2 sm:ms-6 pb-3">
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
Reference in New Issue
Block a user