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 @@
@props(['href', 'active' => false, 'icon' => null, 'count' => null])
<a
href="{{ $href }}"
@if ($active) aria-current="page" @endif
{{ $attributes->class('nav-item') }}
>
@if ($icon)
<x-dynamic-component :component="'heroicon-'.($active ? 's' : 'o').'-'.$icon" class="nav-item__icon" />
@endif
<span class="nav-item__label" x-data="nameMarquee"><span class="nav-item__label-text" x-ref="inner">{{ $slot }}</span></span>
{{-- Penghitung hanya diisi dengan angka nyata dari DB; nol tidak ditampilkan --}}
@if (is_numeric($count) && $count > 0)
<span class="nav-item__count">{{ $count > 99 ? '99+' : (int) $count }}</span>
@endif
</a>