main
Ilham Wara Nugroho 2025-12-05 09:04:48 +07:00
parent c3036c5b06
commit 2918dbc08e
1 changed files with 28 additions and 21 deletions

View File

@ -66,28 +66,35 @@
@forelse($dataset as $dataSet) @forelse($dataset as $dataSet)
<div class="bg-white rounded-[20px] shadow-lg p-5 py-10 gap-6 flex"> <div class="bg-white rounded-[20px] shadow-lg p-5 py-10 gap-6 flex">
<div class="flex flex-col gap-3 items-center text-center"> <div class="flex flex-col gap-3 items-center text-center">
<img src="{{ asset('logodki.png') }}" alt="" width="50" class=""> <div>
{{-- <img src="{{ asset('uploads/'.@$dataSet->instansi->logo) }}" alt="" width="50" class=""> --}} <img src="{{ asset('logodki.png') }}" alt="" width="50" class="">
<h1 class="font-bold">{{ $dataSet->instansi->name }}</h1> {{-- <img src="{{ asset('uploads/'.@$dataSet->instansi->logo) }}" alt="" width="50" class=""> --}}
</div> <h1 class="font-bold">{{ $dataSet->instansi->name }}</h1>
<div class="flex items-center justify-between w-full">
<div class="flex flex-col gap-3">
<div class="">
<h5 class="font-bold">{{ $dataSet->name }}</h5>
</div>
<div>
<p>{{ substr($dataSet->deskripsi,0,50) }}</p>
</div>
<div class="mt-1 flex flex-row gap-2 items-center">
<span class="rounded-full text-[10px] bg-[#E9811A] text-white px-2 py-1">{{$dataSet->tahun}}</span>
<span class="rounded-full text-[10px] hidden lg:block bg-[#E9811A] text-white px-2 py-1">{{$dataSet->template->name}}</span>
</div>
</div> </div>
<a href="{{ url('dataset/detail/'.encode_id($dataSet->DatasetId)) }}" class="p-2 bg-[#103760] rounded-full flex items-center justify-center hidden"> <div class="">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"> <h5 class="font-bold">{{ $dataSet->name }}</h5>
<path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7" /> </div>
</svg> <div>
</a> <p>{{ substr($dataSet->deskripsi,0,50) }}</p>
</div>
<div class="mt-1 flex flex-row gap-2 items-center">
<span class="rounded-full text-[10px] bg-[#E9811A] text-white px-2 py-1">{{$dataSet->tahun}}</span>
<span class="rounded-full text-[10px] hidden lg:block bg-[#E9811A] text-white px-2 py-1">{{$dataSet->template->name}}</span>
</div>
<div>
<a href="{{ url('dataset/detail/'.encode_id($dataSet->DatasetId)) }}" class="p-2 bg-[#103760] rounded-full flex items-center justify-center hidden">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7" />
</svg>
</a>
</div>
</div>
<div class="flex items-center justify-between w-full hidden">
<div class="flex flex-col gap-3">
</div>
</div> </div>
</div> </div>
@empty @empty