Point Docker and Coolify compose to the Laravel rebuild app so mahasiswa, dosen, and admin flows are served from the new Laravel public entrypoint.
23 lines
1.6 KiB
PHP
23 lines
1.6 KiB
PHP
<x-mahasiswa.partials.page-shell :title="$title" :sidebar="$sidebar" :page-title="$pageTitle" :page-description="$pageDescription" :page-date="$pageDate" :user="$user" :page-actions="$pageActions ?? []">
|
|
<article class="rounded-xl border border-[#E5E7EB] bg-white p-6 shadow-[0_8px_12px_rgba(13,10,44,0.04)]">
|
|
<div class="flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between">
|
|
<div class="min-w-0 flex-1">
|
|
<h2 class="break-words text-[24px] font-semibold leading-8 text-[#15171A]">{{ $penawaran->judul }}</h2>
|
|
<div class="mt-3 flex flex-wrap gap-3 text-sm text-[#6B7280]">
|
|
<span>Ditawarkan oleh: {{ $penawaran->dosen ?: '-' }}</span>
|
|
<span>KK: {{ $penawaran->kk ?: '-' }}</span>
|
|
<span>{{ $penawaran->waktuInput ? \Carbon\Carbon::parse($penawaran->waktuInput)->locale('id')->translatedFormat('j F Y, H:i') : '-' }}</span>
|
|
</div>
|
|
</div>
|
|
<form method="POST" action="{{ route('mahasiswa.penawaran.book', ['id' => $penawaran->idPenawaran]) }}" class="shrink-0">
|
|
@csrf
|
|
<button type="submit" class="rounded-md bg-[#15171A] px-5 py-2.5 text-sm font-medium text-white hover:opacity-90">Booking Judul Ini</button>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="prose prose-sm mt-6 max-w-none rounded-xl border border-[#E5E7EB] bg-[#F9FAFB] p-5 text-[#374151] prose-p:leading-7">
|
|
{!! $penawaran->deskripsi ?: '<p>Tidak ada deskripsi.</p>' !!}
|
|
</div>
|
|
</article>
|
|
</x-mahasiswa.partials.page-shell>
|