@php use Modules\Blog\App\Models\Blog; use Illuminate\Support\Str; $theme2_blog = getContent('theme2_blog.content', true); $blogs = Blog::with('translate:id,blog_id,lang_code,title,reading_time,description') ->where('status', true) ->latest() ->take(3) ->get(); @endphp
{{ getTranslatedValue($theme2_blog, 'sub_title') }}

{{ getTranslatedValue($theme2_blog, 'title') }}

{!! strip_tags(clean(getTranslatedValue($theme2_blog, 'description')), '
') !!}

@foreach ($blogs as $key => $blog)
{{ $blog?->translate?->title }} {{ $blog?->category?->name }}

{{ $blog?->translate?->title }}

{{ $blog->created_at->format('jS M, Y') }} @if ($blog?->translate?->reading_time) {{ $blog?->translate?->reading_time }} @endif

{!! Str::limit($blog?->translate?->description, 100) !!}

@endforeach

{{ __('translate.Want to see our Recent News & Updates?') }}. {{ __('translate.Click here to View More') }}

@push('style_section') @endpush