add webln test page

This commit is contained in:
fsociety
2024-09-10 20:29:50 +02:00
parent 0260a61e7e
commit 2077cc9941
509 changed files with 5167 additions and 2240 deletions

View File

@@ -0,0 +1,26 @@
@if ($hasErrors($errors))
<div {{ $attributes->merge(['class' => 'rounded-lg bg-negative-50 dark:bg-secondary-800 dark:border dark:border-negative-600 p-4']) }}>
<div class="flex items-center pb-3 border-b-2 border-negative-200 dark:border-negative-700">
<x-dynamic-component
:component="WireUi::component('icon')"
class="w-5 h-5 text-negative-400 dark:text-negative-600 shrink-0 mr-3"
name="exclamation-circle"
/>
<span class="text-sm font-semibold text-negative-800 dark:text-negative-600">
{{ str_replace('{errors}', $count($errors), $title) }}
</span>
</div>
<div class="ml-5 pl-1 mt-2">
<ul class="list-disc space-y-1 text-sm text-negative-700 dark:text-negative-600">
@foreach ($getErrorMessages($errors) as $message)
<li>{{ head($message) }}</li>
@endforeach
</ul>
</div>
</div>
@else
<div class="hidden"></div>
@endif