Point Docker and Coolify compose to the Laravel rebuild app so mahasiswa, dosen, and admin flows are served from the new Laravel public entrypoint.
19 lines
1.4 KiB
PHP
19 lines
1.4 KiB
PHP
<x-mahasiswa.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>
|
|
<p class="mt-4 text-sm leading-7 text-[#4B5563]">{{ $item['preview'] }}</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 untuk mahasiswa.</div>
|
|
@endforelse
|
|
</div>
|
|
</section>
|
|
</x-mahasiswa.partials.page-shell>
|