@extends('layouts.web') @section('content')
@php $publishedBlogs = $blogs->where('status', 'published'); @endphp @if($publishedBlogs->count() > 0) @php $featured = $publishedBlogs->first(); $remainingBlogs = $publishedBlogs->skip(1); @endphp @if($featured)
{{ $featured->title }}
@endif
@forelse($remainingBlogs as $index => $blog)
{{ $blog->title }}
{{ ucfirst($blog->type) }}

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

{{ Str::limit(strip_tags($blog->content), 120) }}

{{ $blog->created_at->diffForHumans() }} {{ $blog->created_at->format('M d, Y') }}
Read More
@empty

No more published blogs to display.

@endforelse
@if($publishedBlogs->count() > 6)
1 2 3 4
@endif
@else

No Published Articles Yet

We're working on creating valuable legal content for you. Please check back soon!

@endif
@endsection