@extends('layouts.theme') @section('title',__('staticwords.ourblog')) @section('main-wrapper')
@if(isset($blogs) && count($blogs) > 0)

{{__('staticwords.ourblog')}}

@foreach($blogs as $blog)

{{str_limit($blog->title, 30)}}

@php $uname=App\User::where('id',$blog->user_id)->get(); foreach($uname as $name) { $user_name = $name->name; } @endphp
{{$user_name}}   {{date ('d.m.Y',strtotime($blog->created_at))}}
{!! str_limit($blog->detail, 150) !!} {{__('staticwords.readmore')}}
@endforeach
@endif
@endsection