

<script type="text/javascript" xml="space">
    // require([
    //     'jquery',
    //     'owlcarouselpro'
    // ], function($){
    //     $(document).ready(function() {
    //         $('.owl-carousel ').owlCarousel({
    //             // loop:false,
    //             // nav:false,
    //             // items:1,
    //             // dots:true,
    //             // autoplay:true,
    //             // autoplayTimeout:3000
                
    //             //Basic Speeds
    // slideSpeed : 200,
    // paginationSpeed : 800,
 
    // //Autoplay
    // autoPlay : false,
    // goToFirst : true,
    // goToFirstSpeed : 1000,
 
    // // Navigation
    // navigation : true,
    // navigationText : ["prev","next"],
    // pagination : false,
    // paginationNumbers: true,
 
    // // Responsive 
    // responsive: true,
    // items : 5,
    // itemsDesktop : [1199,4],
    // itemsDesktopSmall : [980,3],
    // itemsTablet: [768,2],
    // itemsMobile : [479,1]
    //         })
    //     });
    // });
</script>

<div class="about-varnasol-div">

<?php 

echo $this->getLayout()
->createBlock('Magento\Cms\Block\Block')
->setBlockId('about-store')
->toHtml();
?>

<div class="about-varnasol-right">

<div class="content-text-right">

<h2>Reviews <a href="testimonials">View All <img src="https://kaptrone.com/pub/media/varnasol/t-v-aroow.png" alt=""> </a></h2>

<!--<script language="javascript" type="text/javascript">

	$j(document).ready(function(){

		$j('.bxslider').bxSlider({

			auto: true,

			speed: 500,

			controls: false,

			mode: 'fade',

			pager: false

			//autoControls: true

		});

	});

</script>-->

<div class="block testimonials_sidebar">

<div class="block-title">&nbsp;</div>

<div class="block-content">

<ul class="bxslider">







<?php $testimonials = $block->getTestimonials(); ?>
<?php //if (!$block->getIsAjax()): ?>


<?php 
$count =0;
$end = 2;?>
<?php foreach ($testimonials as $testimonial): ?>
    <?php $count++; ?>
<li>

    <div class="testimonial_sidebar_box">

    <div class="testimonial_sidebar_name">
        <img title="Steven Cunningham" src="<?= $block->getProfileImageUrl($testimonial) ?>" alt="Steven Cunningham" width="70" height="80">
    </div>

        <!-- <div class="rating-box">

        <div class="rating" style="width: 100%;">&nbsp;</div>

        </div> -->

    <div class="testimonial_sidebar_text">“<?= $block->escapeHtml($testimonial->getMessage()); ?>”

    <div class="author-name">-<?= $block->escapeHtml($testimonial->getName()) ?><br><?= $block->escapeHtml($testimonial->getCompany()) ?></div>

    </div>

    </div>

</li>
<?php if ($count == $end) break; ?>
<?php endforeach; ?>

</ul>

<div class="actions"><!--<a href=""></a>--></div>

</div>

</div>

</div>

</div>

</div>




