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,14 @@
{{-- Satu angka: label, nilai, petunjuk, dan tautan opsional (seluruh sel menjadi tautan). --}}
@props(['label', 'value', 'href' => null, 'hint' => null])
@php
$shown = is_int($value) ? number_format($value, 0, ',', '.') : $value;
@endphp
<div {{ $attributes->class('figure') }}>
<dt class="figure__label">
@if ($href) <a href="{{ $href }}" class="figure__link">{{ $label }}</a> @else {{ $label }} @endif
</dt>
<dd class="figure__value num">{{ $shown }}</dd>
@if ($hint) <dd class="figure__hint">{{ $hint }}</dd> @endif
</div>