{{!
    This file is part of Moodle - http://moodle.org/

    Moodle is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Moodle is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
}}
<div class="block10desing2 blockbgcolor gray-bg">
    <div class="carousel-area container">
        <div class="section-title-fp d-flex hytext">
            <h4>{{block10header}}</h4>
            <div class="d-block ml-auto p-2">
                <a class="btn-sm mr-1" style="border-radius: 50%;" href="#carouselTestimonials" role="button" data-slide="prev"> 
                    <i class="fa fa-chevron-left"></i> 
                </a>
                <a class="btn-sm" style="border-radius: 50%;" href="#carouselTestimonials" role="button" data-slide="next"> 
                    <i class="fa fa-chevron-right"></i> 
                </a>
            </div>
        </div>
    </div>    
    <div class="container">
        <div class="row">
            {{! Testimonials area }}
            <div  id="carouselTestimonials" class="carousel slide col-lg" data-ride="carousel">
                <div class="carousel-inner">
                    {{#block10}}
                        <div class="carousel-item testimonial-carousel {{#active}}active{{/active}}">
                            <div class="testimonial-content d-flex">
                                <i class="fa fa-quote-left"></i>
                                <p> {{{block10caption}}}</p>
                            </div>
                            <div class="author-details d-flex">
                                <div class="author-img">
                                    <img src="{{block10image}}" alt="">
                                </div>
                                <div class="author-content">
                                    <a href="{{block10linkurl}}" class="text-decoration-none">{{block10name}}</a>
                                    <span>{{block10job}}</span>
                                </div>
                            </div>
                        </div>
                    {{/block10}}
                </div>    
                <div class="d-none">
                    <a class="carousel-control-prev btn-sm"  href="#carouselTestimonials" data-slide="prev">
                        <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                        <span class="sr-only">Previous</span>
                    </a>
                    <a class="carousel-control-next btn-sm" href="#carouselTestimonials"  data-slide="next">
                        <span class="carousel-control-next-icon" aria-hidden="true"></span>
                        <span class="sr-only">Next</span>
                    </a>
                </div>  
            </div>
        </div>
    </div>
</div>