@extends('layouts.user.layout') @section('title') {{ $seo_text->title }} @endsection @section('meta') @endsection @section('user-content')

{{ $menus->where('id',7)->first()->navbar }}

@if ($blogs->count() > 0) @php $colorId=1; @endphp @foreach ($blogs as $index => $blog_item) @php if($index %4 ==0){ $colorId=1; } $color=""; if($colorId==1){ $color=""; }else if($colorId==2){ $color="oreangr"; }else if($colorId==3){ $color="gren"; }else if($colorId==4){ $color="blur"; } @endphp
blog items {{ $blog_item->category->name }}

{{ $blog_item->created_at->format('d') }} {{ $blog_item->created_at->format('m') }} {{ $blog_item->created_at->format('Y') }}

{{ $blog_item->comments->count() }}
bloger {{ $blog_item->admin->name }}
{{ $blog_item->title }}

{{ $blog_item->short_description }}

@php $colorId ++; @endphp @endforeach
{{ $blogs->links('user.paginator') }}
@else

{{ $websiteLang->where('lang_key','blog_not_found')->first()->custom_text }}

@endif
@endsection