<?php $__env->startSection('content'); ?>
   <?php foreach($devices as $i=>$device): ?>
       <section class="page-section fleet-item <?php if($i%2==0): ?> bg-accent <?php else: ?> bg-base  <?php endif; ?>" id="<?php echo e($device->name); ?>">
           <div class="container">
               <div class="row">
                   <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
                       <h2 class="section-heading text-center h1"><?php echo e($device->name); ?></h2>
                       <?php if(isset($device->intro)): ?>
                           <p class="section-intro text-center"><?php echo e($device->intro); ?></p>
                       <?php endif; ?>
                   </div>
               </div>
               <?php if(isset($device->images)): ?>
                   <div class="fleet-item-gallery gallery cycle-slideshow content-image" data-cycle-swipe="true" data-cycle-slides="> .slide" data-cycle-log="false">
                       <?php foreach($device->images as $key=>$image): ?>
                           <div class="slide">
                                <img src="<?php echo e($image); ?>" alt="">
                                <p class="caption"><a href="/poop/#">Title</a><span> - </span>This is the gallery caption</p>
                            </div>
                        <?php endforeach; ?>
                        <a class="cycle-next cycle-nav" href="#"><img src="/images/arrow-next.png" srcset="/images/arrow-next2x.png 2x, /images/arrow-next3x.png 3x" alt="Next"></a>
                        <a class="cycle-prev cycle-nav" href="#"><img src="/images/arrow-prev.png" srcset="/images/arrow-prev2x.png 2x, /images/arrow-prev3x.png 3x" alt="Next"></a>
                   </div>
               <?php endif; ?>
               <div class="row">
                   <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
                       <?php if(isset($device->secondary_heading)): ?>
                           <h3 class="h2"><?php echo e($device->secondary_heading); ?></h3>
                       <?php endif; ?>
                       <?php if(isset($device->description)): ?>
                            <p><?php echo e($device->description); ?></p>
                       <?php endif; ?>
                       <?php if(isset($device->hardware)): ?>
                           <h4>Hardware</h4>
                           <ul class="clearfix">
                               <?php foreach($device->hardware as $hitem): ?>
                                    <li><?php echo e($hitem); ?></li>
                               <?php endforeach; ?>
                           </ul>
                       <?php endif; ?>
                       <?php if(isset($device->software)): ?>
                           <h4>Software</h4>
                           <ul class="clearfix">
                               <?php foreach($device->software as $sitem): ?>
                                   <li><?php echo e($sitem); ?></li>
                               <?php endforeach; ?>
                           </ul>
                       <?php endif; ?>
                   </div>
               </div>
               <div class="row">
                   <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3">
                        <div class="section-cta row">
                           <div class="col-sm-6">
                               <a class="btn btn-block btn-default" href="#">See it in Action</a>
                           </div>
                           <div class="col-sm-6">
                               <a class="btn btn-block btn-default" href="#">Request Information</a>
                           </div>
                        </div>
                    </div>
               </div>
            </div>
       </section>
   <?php endforeach; ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('footerargs'); ?>
    <script src="<?php echo e(asset('/js/jquery.cycle2.swipe.min.js')); ?>"></script>
    <script src="<?php echo e(asset('/js/jquery.cycle2.min.js')); ?>"></script>
    <script src="<?php echo e(asset('/js/stickyNav.js')); ?>"></script>
    <script>
        jQuery(window).load(function(){
           $('#sticky-nav').stickyScrollingNav({
               'navClass': 'fleet-nav'
           });
           <?php if(isset($sim)): ?>
               setTimeout(function(){
                   $('html, body').animate({
                       scrollTop: $('#<?php echo e($sim); ?>').offset().top-$('.cloned').outerHeight()
                   }, 200);
               },200);
            <?php endif; ?>
        });
    </script>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('main', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>