@use('app\Helpers\Helpers') @extends('frontend.layout.master') @section('title', __('frontend::static.blogs.blogs')) @section('breadcrumb') @endsection @section('content')

Filter

{{ __('frontend::static.header.category') }}

{{ __('frontend::static.blogs.popular_post') }}

    @foreach($popularPosts as $post)
  • {{ $post->title }}
    {{ $post->title }}
    {{ Helpers::dateTimeFormat($post->created_at,'d M, Y') }}
  • @endforeach

{{ __('frontend::static.blogs.recent_post') }}

    @foreach($recentPosts as $post)
  • {{ $post->title }}
    {{ Helpers::dateTimeFormat($post->created_at,'d M, Y') }}
  • @endforeach

{{ __('frontend::static.blogs.tags') }}

@forelse ($blogs as $blog)
  • {{ $blog?->categories?->first()?->title }}
  • {{ Helpers::dateTimeFormat($blog?->created_at, 'd M, Y') }}

{{ $blog?->title }}

{{ $blog->description }}

Read More
@empty

{{ __('frontend::static.blogs.not_found') }}

@endforelse
@if ($blogs->hasPages())
{!! $blogs->links() !!}
@endif
@endsection @push('js') @endpush