<?php $__env->startSection('title', $seo->title); ?>
<?php $__env->startSection('meta_tags', $seo->meta_tags); ?>
<?php $__env->startSection('meta_description', $seo->meta_description); ?>

<?php $__env->startSection('footer_js'); ?>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#fixed-collapse-navbar li').removeClass('active');
            $('#fixed-collapse-navbar').find('.products').addClass('active');
        });
    </script>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('dynamicdata'); ?>
    <!--Page header & Title-->
    <section id="page_header">
        <div class="page_title">
            <div class="container">
                <div class="row">
                    <div class="col-md-12">
                        <h2 class="title">Products</h2>
                        <div class="page_link">
                            <a href="<?php echo route('home'); ?>">Home</a>
                            <span><i class="fa fa-long-arrow-right"></i>Products</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!--Servic es Gallery-->
    <section id="gallery" class="padding-top padding-top2">
        <div class="container">

            <div class="row">
                <div class="procedure">
                    <div class="col-md-12 col-sm-8">
                        <div class="tab_container">

                            <div id="tab1" class="tab_content">
                                <?php foreach($products as $product): ?>
                                <div class="col-md-4 col-sm-6 services_wrap heading_space">
                                    <div class="image">
                                        <?php if(file_exists('uploads/products/'.$product->attachment) && $product->attachment != ''): ?>
                                            <img class="img-responsive" src="<?php echo asset('uploads/products/'.$product->attachment); ?>" alt="<?php echo $product->heading; ?>"/>
                                            <div class="overlay">
                                                <div class="overlay-inner text-center">
                                                    <a href="<?php echo asset('uploads/products/'.$product->attachment); ?>" class="fancybox icon" data-fancybox-group="gallery"><i class="icon-eye6"></i></a>
                                                </div>
                                            </div>
                                        <?php else: ?>
                                            <img class="img-responsive" src="<?php echo asset('uploads/noimage.jpg'); ?>" alt="<?php echo $product->heading; ?>"/>
                                        <?php endif; ?>
                                    </div>
                                    <div class="gallery_content text-left productlist">
                                        <h3><a href="<?php echo route('product.show', $product->slug); ?>"><?php echo $product->heading; ?></a></h3>
                                        <p><?php echo $product->short_description; ?></p>
                                        <a class="btn-readmore" href="<?php echo route('product.show', $product->slug); ?>">- View More</a>
                                    </div>
                                </div>
                                <?php endforeach; ?>
                                <div class="clear"></div>
                                <div class="col-xs-12">
                                    <?php echo $products->render(); ?>

                                </div>
                            </div>
                        </div>
                    </div>
                </div>



            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>

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