@extends('layout1') @section('title') {{ $seoSetting->seo_title }} @endsection @section('meta') @endsection @section('frontend-content')

{{ __('Blog') }}

@if ($blogs->count() > 0) @php $colorId=1; @endphp @foreach ($blogs as $index => $blog) @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->category->title }}

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

{{ $blog->comments->where('status', 1)->count() }}
bloger {{ $blog->admin->name }}
{{ $blog->translation->title }}

{{ $blog->translation->short_description }}

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

{{ __('Blog Not Found!') }}

@endif
@endsection