@extends('layouts.site') @section('meta_title') {{ __('site.nav_news') }} — {{ brand_name() }} @endsection @section('title', __('site.nav_news')) @section('content')

{{ $activeCategory?->localizedName() ?: __('site.nav_news') }}

{{ __('site.news_index_subtitle') }}

@if (($categories ?? collect())->isNotEmpty())
! $activeCategory, 'border-brand-border text-brand-muted' => $activeCategory])> {{ __('site.mega_view_all') }} @foreach ($categories as $category) $activeCategory?->is($category), 'border-brand-border text-brand-muted' => ! $activeCategory?->is($category)])> {{ $category->localizedName() }} @endforeach
@endif
@if ($newsItems->total() === 0)

{{ __('site.empty_news') }}

@else
@endif
@endsection