Commit awal: prototipe UI SIAKAD Untan

This commit is contained in:
Ariyutta
2026-10-24 11:45:32 +07:00
commit d9b9cb5c0f
477 changed files with 51958 additions and 0 deletions
@@ -0,0 +1,16 @@
{{-- Bagian formulir: fieldset + legend + grid kolom responsif (container query). Kolom lebar penuh: beri class="col-span-full". --}}
@props(['title', 'description' => null, 'columns' => 2])
@php
$columns = in_array((int) $columns, [1, 2, 3], true) ? (int) $columns : 2;
@endphp
<fieldset {{ $attributes->class('form-section') }}>
<legend class="form-section__title">{{ $title }}</legend>
@if ($description) <p class="form-section__desc">{{ $description }}</p> @endif
<div class="form-section__body">
<div class="form-section__grid form-section__grid--{{ $columns }}">
{{ $slot }}
</div>
</div>
</fieldset>