@php $recentList = $projects->count() > 3 ? $projects->skip(3)->values() : $projects; @endphp
{{-- Section Header --}}
ARCHIVE // REPOSITORY LOGS

RECENT BUILDS

TOTAL RECORDS: {{ $recentList->count() }}
{{-- Recent Projects Grid --}}
@forelse($recentList as $index => $project) @php $rawTags = $project->tags ?? ''; if (is_string($rawTags) && str_starts_with(trim($rawTags), '[')) { $tagList = json_decode($rawTags, true) ?: []; } elseif (is_array($rawTags)) { $tagList = $rawTags; } else { $tagList = array_filter(array_map('trim', explode(',', (string) $rawTags))); } @endphp
{{-- Top Papaya Indicator Bar --}}
LOG-{{ str_pad((string) ($index + 1), 2, '0', STR_PAD_LEFT) }} // {{ $project->category ?? 'SYSTEM' }} {{ $project->year ?? date('Y') }}

{{ $project->title }}

{{ $project->short_description ?: $project->description }}

@if(count($tagList) > 0)
@foreach(array_slice($tagList, 0, 4) as $tag) {{ $tag }} @endforeach
@endif
@if(!empty($project->github_url)) GITHUB ↗ @endif
@empty
BELUM ADA ARSIP PROYEK TAMBAHAN.
@endforelse