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

{{__('user.Blog')}}

@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->translated_name }}

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

{{ $blog_item->totalComment }}
bloger {{ $blog_item->admin->name }}
{{ $blog_item->translated_title }}

{{ $blog_item->translated_short_description }}

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

{{__('user.Blog Not Found')}}

@endif
@endsection