@php use App\Models\Blog; use App\Services\TranslationService; use App\Services\MediaService; $bread_crumb['page_main_bread_crumb'] = labels('front_messages.blogs', 'Blogs'); $language_code = app(TranslationService::class)->getLanguageCode(); @endphp
@if ($blogs_count >= 1)
@foreach ($blogs['listing'] as $blog)
@php $image = app(MediaService::class)->dynamic_image($blog->image, 600); @endphp {{ app(TranslationService::class)->getDynamicTranslation(Blog::class, 'title', $blog->id, $language_code) }}

{{ app(TranslationService::class)->getDynamicTranslation(Blog::class, 'title', $blog->id, $language_code) }}

{{ \Illuminate\Support\Str::limit(strip_tags($blog->description), 100) }}

Read more
@endforeach
@else @php $title = labels('front_messages.no_blog_found', 'No Blog Found'); @endphp @endif