Files
spota-dev/rebuild/resources/views/dosen/pages/pengumuman.blade.php
Power BI Dev dab8ea396b Deploy Laravel rebuild via Coolify
Point Docker and Coolify compose to the Laravel rebuild app so mahasiswa, dosen, and admin flows are served from the new Laravel public entrypoint.
2026-05-03 18:50:29 +07:00

18 lines
1.2 KiB
PHP

<x-dosen.partials.page-shell :title="$title" :sidebar="$sidebar" :page-title="$pageTitle" :page-description="$pageDescription" :page-date="$pageDate" :user="$user">
<section class="rounded-xl border border-[#E5E7EB] bg-white p-6 shadow-[0_8px_12px_rgba(13,10,44,0.04)]">
<div class="space-y-4">
@forelse ($pengumuman as $item)
<article class="rounded-xl border border-[#E5E7EB] bg-[#F9FAFB] p-5">
<a href="{{ $item['detailHref'] }}" class="text-lg font-semibold text-[#15171A] hover:text-[#625DF5]">{{ $item['judul'] }}</a>
<p class="mt-2 text-sm text-[#6B7280]">{{ \Carbon\Carbon::parse($item['tgl'])->locale('id')->translatedFormat('j F Y, H:i') }}</p>
<div class="mt-4 flex flex-wrap gap-2">
<a href="{{ $item['detailHref'] }}" class="rounded-md bg-[#15171A] px-3 py-2 text-xs font-medium text-white hover:opacity-90">Lihat Detail</a>
</div>
</article>
@empty
<div class="rounded-xl border border-dashed border-[#D1D5DB] bg-[#F9FAFB] p-6 text-center text-[#6B7280]">Belum ada pengumuman.</div>
@endforelse
</div>
</section>
</x-dosen.partials.page-shell>