<?php $__env->startSection('content'); ?>
    <article id="faq">
        <?php if($section = $page->getSection('cover')): ?>
            <header class="page-cover">
                <img src="<?php echo e(asset($section->image->post->image)); ?>" alt="" class="cover">
                <div class="container">
                    <h1><?php echo e($section->post->title); ?></h1>
                </div>
            </header>
            <section class="content page-title">
                <div class="container">
                    <h2><?php echo e($section->post->excerpt); ?></h2>
                </div>
            </section>
        <?php endif; ?>
        <?php if($page->getSections('faq')->count()): ?>
            <section class="content accordion">
                <div class="container">
                    <dl>
                        <?php $__currentLoopData = $page->getSections('faq'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $section): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <dt class="<?php echo e($loop->first ? 'active' : null); ?>"><span><?php echo e($section->post->title); ?></span></dt>
                            <dd style="<?php echo e($loop->first ? 'display: block;' : null); ?>">
                                <div class="content-html">
                                    <?php echo $section->post->content; ?>

                                </div>
                            </dd>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </dl>
                </div>
            </section>
        <?php endif; ?>
        <?php if($section = $page->getSection('single-image')): ?>
            <section class="content single-image">
                <div class="container">
                    <img src="<?php echo e(asset($section->image->post->image)); ?>" alt="" class="img-fluid">
                    <div class="content-html">
                        <?php echo $section->post->content; ?>

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

<?php $__env->startPush('scripts'); ?>
    <script>
      $(function() {
        $('dt').on('click', function() {
          var dd = $(this).next('dd');
          if(!$(dd).is(':visible')) {
            $(dd).slideDown();
            $(this).addClass('active');
          } else {
            $(dd).slideUp();
            $(this).removeClass('active');
          }

          return false;
        });
      });
    </script>
<?php $__env->stopPush(); ?><?php /**PATH /home/bgreen/test.bgreen.com.py/resources/views/templates/faq.blade.php ENDPATH**/ ?>