@extends('layouts.app') @section('title', 'Artikel & Blog') @section('meta_description', 'Artikel dan blog terbaru dari Instrudigi tentang teknologi informasi, tips, dan tutorial.') @section('content') {{-- HERO --}}
Blog & Artikel

Wawasan & Inspirasi

Artikel terbaru, tips, tutorial, dan insight dari dunia teknologi informasi.

{{-- CONTENT --}}
{{-- Category Tabs & Search --}}
Semua @if(isset($categories)) @foreach($categories as $cat) {{ $cat }} @endforeach @endif
{{-- Featured Article --}} @if(isset($featuredArticle) && $featuredArticle)
{{ $featuredArticle->title }}
Artikel Pilihan

{{ $featuredArticle->title }}

@if($featuredArticle->excerpt)

{{ $featuredArticle->excerpt }}

@endif
@if($featuredArticle->author)
{{ strtoupper(substr($featuredArticle->author, 0, 1)) }}
{{ $featuredArticle->author }}
@endif {{ $featuredArticle->published_at?->format('d M Y') }}
@endif {{-- Articles Grid --}} @if($articles->isNotEmpty())
@foreach($articles as $article)
{{ $article->title }} @if($article->category) {{ $article->category }} @endif

{{ $article->title }}

@if($article->excerpt)

{{ $article->excerpt }}

@endif
@if($article->author)
{{ strtoupper(substr($article->author, 0, 1)) }}
{{ $article->author }}
· @endif {{ $article->published_at?->format('d M Y') }} @php $readTime = max(1, round(str_word_count(strip_tags($article->content ?? '')) / 200)); @endphp · {{ $readTime }} min
@endforeach
{{ $articles->withQueryString()->links() }}
@else

Tidak ada artikel ditemukan

Coba ubah kata kunci pencarian atau pilih kategori lain.

@endif
@endsection