@php $title = $section->settings['title'] ?? 'Latest Intelligence'; $mode = $section->settings['mode'] ?? 'dynamic'; $manualKeys = $section->settings['manual_keys'] ?? ''; $posts = collect(); if ($mode === 'manual' && filled($manualKeys)) { $keys = array_map('trim', explode(',', $manualKeys)); $posts = \App\Models\Post::with(['category', 'author']) ->whereIn('slug', $keys) ->where('status', 'published') ->take(3) ->get(); } else { // Dynamic fallback $posts = \App\Models\Post::with(['category', 'author']) ->where('status', 'published') ->latest() ->take(3) ->get(); } @endphp
{{-- Grid Background --}}
Engineering Transmission Log

{{ $title }}

Read All Vectors
@if($posts->isNotEmpty())
@foreach($posts as $post)
{{-- Featured Image Box --}}
{{ $post->title }} {{-- Category Badge --}} @if($post->category)
{{ $post->category->name }}
@endif

{{ Str::limit($post->title, 60) }}

{{ Str::limit(strip_tags($post->excerpt ?: $post->content), 120) }}

Read Intelligence Log
@endforeach
@else

No engineering logs found in current archives.

@endif