@extends('layouts.main') @section('title', 'News - UFG') @push('styles') @endpush @section('content')

News Center

Latest Updates

News Center

Stay updated with the latest announcements, press releases, and company news from UFG.

@if($featuredNews->isNotEmpty())
@foreach($featuredNews->take(1) as $featured)
{{ $featured->title }}
Featured

{{ $featured->title }}

{{ $featured->excerpt ?? Str::limit(strip_tags($featured->content), 150) }}

{{ $featured->published_at->format('F j, Y') }} Read More
@endforeach
@endif
@forelse($news as $index => $article)
{{ $article->title }}
@if($article->categoryModel && $article->categoryModel->icon) {{ $article->categoryModel->icon }} @endif {{ $article->categoryModel->name ?? ucfirst($article->category ?? 'General') }}

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

{{ $article->excerpt ?? Str::limit(strip_tags($article->content), 100) }}

{{ $article->published_at->format('M j, Y') }} Read More →
@empty

No news articles found

Check back later for the latest updates from UFG.

@endforelse
@if($news->count() > 6)
@endif
@endsection @push('scripts') @endpush