@extends('layouts.frontend')
@section('title',$data['action'])
@section('content')
      <!-- Inner Page Banner Area Start Here -->
      <div class="inner-page-banner-area" style="background-image: url('frontend/img/banner/5.jpg');">
        <div class="container">
            <div class="pagination-area">
                <h1>{{ $data['action'] }}</h1>
                
            </div>
        </div>
    </div>
      <!-- News Details Page Area Start Here --> 
    <!-- Students Say Area Start Here -->
    <div class="students-say-area">
        <h2 class="title-default-center">What Our Students Say</h2>
        <div class="container"> 
            <div class="row"> 
             @foreach ($data['testimonials'] as $testimonial )
            <div class="col-lg-6col-md-6 col-sm-6 col-xs-12">
                <div class="single-item">
                    <div class="single-item-wrapper">
                        <div class="profile-img-wrapper">
                            <a href="#" class="profile-img"><img class="profile-img-responsive img-circle" src="{{ asset('images/testimonial/' . $testimonial->image) }}" alt="Testimonial"></a>
                        </div>
                        <div class="tlp-tm-content-wrapper">
                            <h3 class="item-title"><a href="#">{{ $testimonial->name }}</a></h3>
                            <span class="item-designation">{{ $testimonial->position }}</span>
                            <ul class="rating-wrapper">
                                <li><i class="fa fa-star" aria-hidden="true"></i></li>
                                <li><i class="fa fa-star" aria-hidden="true"></i></li>
                                <li><i class="fa fa-star" aria-hidden="true"></i></li>
                                <li><i class="fa fa-star" aria-hidden="true"></i></li>
                                <li><i class="fa fa-star" aria-hidden="true"></i></li>
                            </ul>
                            <div class="item-content">{!! $testimonial->description !!}</div>
                        </div>
                    </div>
                </div>
            </div>
            @endforeach
        </div>
    </div>
</div>

    <!-- Students Say Area End Here -->
  
@endsection