@extends('website.layout.main')

@section('meta_title')
   @lang('front.report')
@endsection
@section('content')






 <!-- Page Title -->
        <div class="page-title-area" style="background-image: url({{render_image_path(get_banners('Report')?->image)}})">
            <div class="d-table">
                <div class="d-table-cell">
                    <div class="container">
                        <div class="title-content">
   @lang('front.report')

                            {{-- <h2>{{render_post_title($post)}}</h2> --}}
                            {{-- <ul>
                                <li>
                                    <a href="index.html">
                                        @lang('front.home')
                                    </a>
                                </li>
                                <li>
                                    <span>{{render_post_title($post)}}</span>
                                </li>
                            </ul> --}}
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- End Page Title -->


        <section class="services-area four ptb-100">
            {{-- <div class="services-shape">
                <img src="assets/img/services/services-shape1.png" alt="Shape">
                <img src="assets/img/services/services-shape2.png" alt="Shape">
            </div> --}}
            <div class="container">
                <div class="row">






                    @foreach ($posts as $item)

                    <div class="col-sm-6 col-lg-4">
                        <div class="services-item">
                           <i class="flaticon-loan icon"></i>
                            <h3>
                                <a href="{{render_route('post.report_show',$item->id)}}">{{render_post_title($item)}}</a>
                            </h3>

                                    {{-- {!!strip_tags(str()->words(render_post_description($item),10   ))!!} --}}



                            <div class="services-btn">
                                 <a  href="{{render_route('post.report_show',$item->id)}}">
                                @lang('front.more')
                                        @if (is_rtl())
                                        <i class="bx bx-left-arrow-alt"></i>
                                       @endif
                                        @if (!is_rtl())
                                        <i class="bx bx-right-arrow-alt"></i>
                                        @endif

                            </a>

                            </div>
                        </div>
                    </div>
                    @endforeach

                </div>

            </div>
        </section>



    @endsection
