<?php $__env->startSection('content'); ?>
<section id="faq" class="faq section-bg">
    <div class="container" data-aos="fade-up">

      <div class="section-title">
        <h2>Frequent Asked Questions</h2><hr>
      </div>

      <ul class="faq-list" data-aos="fade-up" data-aos-delay="100">

        <?php if($faqs->count() != 0): ?>
        
          <?php $__currentLoopData = $faqs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

          <li>
            <a data-toggle="collapse" class="collapse" href="#faq<?php echo e($item->id); ?>"><?php echo e($item->question); ?> <i class="icofont-simple-up"></i></a>
            <div id="faq<?php echo e($item->id); ?>" class="collapse hide" data-parent=".faq-list">
              <p>
                <?php echo $item->answer; ?>

              </p>
            </div> 
          </li>
           
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          
        
        <?php else: ?>
        <div class="text-center text-info">
          <p class="most" style="font-size:18px; font-family:Roboto;">Welcome to TPHA Frequent Asked Questions where viewers will be able to view questions which are frequently asked by viewers.</p>
        </div>
        <?php endif; ?>

      </ul>

    </div>
  </section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.front_master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tphaortz/public_html/tpha/resources/views/frontend/communities/faq.blade.php ENDPATH**/ ?>