@include('service::public.service_category.partial.header')

            <section class="grid">
                <div class="container">
                    <div class="row">
                        <div class="col-md-3">
                            @include('service::public.service_category.partial.aside')
                        </div>
                        <div class="col-md-9 ">
                            <div class="main-area parent-border list-item">
                                @foreach($service_categories as $service_category)
                                <div class="item border">
                                    <div class="feature">
                                        <a href="{{trans_url('service_categories')}}/{{@$service_category['slug']}}">
                                            <img src="{{url($service_category->defaultImage('images'))}}" class="img-responsive center-block" alt="">
                                        </a>
                                    </div>
                                    <div class="content">
                                        <h4><a href="{{trans_url('service_category')}}/{{$service_category['slug']}}">{{str_limit($service_category['title'], 300)}}</a> 
                                        </h4>
                                        <div class="metas mt20">
                                            <div class="tag pull-left">
                                                <a href="#" class="">Seo Tips</a>
                                            </div>
                                            <div class="date-time pull-right">
                                                <span><i class="fa fa-comments"></i>{{@$service_category->viewcount}}</span>
                                                <span><i class="fa fa-calendar"></i>{{format_date($service_category['posted_on'])}}</span>
                                            </div>
                                        </div>
                                        <div class="divider"></div>
                                        <div class="author">
                                            <div class="avatar pull-left">
                                                {{@$service_category->user->badge}}
                                            </div>
                                            <div class="actions">
                                                

                                                
                                            </div>
                                        </div>
                                    </div>
                                </div>


                                @endforeach
                            </div>
                            <div class="pagination text-center">
                            {{ $service_categories->links() }}
                            </div>
                        </div>
                    </div>
                </div>
            </section>