main
Ilham Wara Nugroho 2026-03-04 09:22:45 +07:00
parent 4659326acc
commit 09c1fca0aa
1 changed files with 2 additions and 2 deletions

View File

@ -106,12 +106,12 @@
</div> </div>
</div> </div>
<div class="flex flex-row md:flex-col justify-end gap-2 md:w-32"> <div class="flex flex-row md:flex-col justify-end gap-2 md:w-32">
@if($dataset->tahun >= 2026) @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"> <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 <i data-lucide="download" class="w-4 h-4 mr-2"></i> Unduh
</a> </a>
@else @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"> <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 <i data-lucide="download" class="w-4 h-4 mr-2"></i> Unduh
</a> </a>
@endif @endif