update
parent
ee48ee92ef
commit
4659326acc
|
|
@ -106,9 +106,15 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="flex flex-row md:flex-col justify-end gap-2 md:w-32">
|
||||
@if($dataset->tahun >= 2026)
|
||||
<a href="{{url('opendata/dataset/download/'.encode_id(@$dataSet->DatasetId))}}" class="flex-1 md:w-full bg-blue-600 text-white py-2 px-4 rounded-xl text-sm font-bold hover:bg-blue-700 transition-all flex items-center justify-center">
|
||||
<i data-lucide="download" class="w-4 h-4 mr-2"></i> Unduh
|
||||
</a>
|
||||
@else
|
||||
<a href="{{asset('uploads/'.@$dataset->file)}}" class="flex-1 md:w-full bg-blue-600 text-white py-2 px-4 rounded-xl text-sm font-bold hover:bg-blue-700 transition-all flex items-center justify-center">
|
||||
<i data-lucide="download" class="w-4 h-4 mr-2"></i> Unduh
|
||||
</a>
|
||||
@endif
|
||||
<a href="{{ url('dataset/detail/'.encode_id($dataSet->DatasetId)) }}" class="flex-1 md:w-full border border-slate-200 text-slate-700 py-2 px-4 rounded-xl text-sm font-bold hover:bg-slate-50 transition-all flex items-center justify-center">
|
||||
<i data-lucide="eye" class="w-4 h-4 mr-2"></i> Detail
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue