<?php
  $nbanners = $banners->count();
  //dd($nProd);
?>
<section class="text-white section1" id="carouselSection">
  <?php if($nbanners > 0): ?>
    <div id="carroselHome" class="carousel slide" data-bs-ride="carousel">
      <ol class="carousel-indicators">
        <?php
          $active = true;
          $nSlide = 0;
        ?>
        <?php $__currentLoopData = $banners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php if($active == true): ?>
            <li data-bs-target="#carroselHome" data-bs-slide-to="<?php echo e($nSlide); ?>" class="active">
          <?php else: ?>
            <li data-bs-target="#carroselHome" data-bs-slide-to="<?php echo e($nSlide); ?>">
          <?php endif; ?>
            </li>2
            <?php
              $active = true;
              $nSlide++;
            ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      </ol>
      <div class="carousel-inner">
        <?php
          $active = true;
        ?>
        <?php $__currentLoopData = $banners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php if($active == true): ?>
            <div class="carousel-item active">
              <?php else: ?>
                <div class="carousel-item">
                  <?php endif; ?>
                  <img src="<?php echo e(isset($banner->caminho) ? $banner->caminho : ''); ?>" class="d-block w-100"
                       alt="<?php echo e(isset($banner->titulo) ? $banner->titulo : ''); ?>">
                </div>
                <?php
                  $active = false;
                ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <a class="carousel-control-prev" href="#carroselHome" role="button" data-slide="prev">
              <span class="carousel-control-prev-icon" aria-hidden="true"></span>
              <span class="sr-only">Previous</span>
            </a>
            <a class="carousel-control-next" href="#carroselHome" role="button" data-slide="next">
              <span class="carousel-control-next-icon" aria-hidden="true"></span>
              <span class="sr-only">Next</span>
            </a>
      </div>
  <?php endif; ?>
</section>

<!-- section quem somos -->
<?php if($nbanners === 0): ?>
  <section class="page-section text-white section1" id="quemsomos">
    <?php else: ?>
      <section class="page-section text-white " id="quemsomos">
        <?php endif; ?>

        <div class="container">
          <!-- About Section Heading-->
          <h2  class="page-section-heading text-center text-uppercase">Quem
            Somos</h2>
          <!-- About Section Content-->
          <div class="row">
            <div class="col"></div>
            <div class="col-9">
              <p
                 class="lead text-justify "><?php echo e(isset($conf->quemsomos) ? $conf->quemsomos : ''); ?>

            </div>
            <div class="col"></div>
          </div>
          
        </div>
      </section>
      <!-- section contato -->

      
      <?php echo $__env->make('layout_site._includes.fotosEmpresa', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
      <?php echo $__env->make('layout_site._includes.produtos', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
      
      <section class="page-section" id="contato">
        <div class="container">
          <div class="row">
            <div class="col-lg-6 text-center">
              <h4 class="text-uppercase">Localização</h4>
              <iframe class="col-12" height="350" src="<?php echo e(isset($conf->mapa) ? $conf->mapa : ''); ?>"
                      allowfullscreen="" tabindex="0"></iframe>
              <p class=" mb-0"><?php echo e(isset($conf->endereco) ? $conf->endereco : ''); ?></p>
            </div>
            <?php if($conf->email <> '' or $conf->email <> null): ?>
              <?php echo $__env->make('layout_site._includes.contato', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php endif; ?>
          </div>
        </div>
      </section>
<?php /**PATH C:\projects\lara\projectwix\resources\views/layout_site/_includes/conteudo.blade.php ENDPATH**/ ?>