


<div class="container-fluid px-md-5 py-5 bg_gray">
<div class="container px-4">
  <!-- Page Title -->
  <!-- <div class="text-center py-3">
    <a href="<//?= $this->Url->build(['controller' => $menuDetails->slug, 'action' =>'index']) ?>">
                <h1 class="fw-bold lh-sm display-4"><//?= $menuDetails->name ?></h1>
            </a>
    <h1 class="fw-bold lh-sm display-4">
      <//?= $menuDetails->name ?>
    </h1>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit donec sollicitudin</p>
  </div> -->
  <!-- Page Title Ends Here -->

  <div class="row mt-3">
   
    <?php foreach ($viewContents  as $key => $content) { ?>
      <!-- Bootstrap Break Points -->
      <div class="col-xs-12 col-sm-12 col-md-3 col-xl-3 col-xxl-3">
      <!-- <div class="col-xs-12 col-sm-12 col-md-12 col-xl-12 col-xxl-12"> -->
          <div class="row py-4">
              <div class="col-xs-12 col-sm-12 col-md-12 col-xl-12 col-xxl-12 la_download_box">
                <div class="la_pdf_aspect_img">
                  <img
                    src="<?= $this->Url->image(!empty($content->content_images) > 0 ? $content->content_images[0]->image_path : 'noimage.png') ?>"
                    class="img-responsive img-fluid" alt="">
                    <!--<i class="bi bi-file-earmark-pdf" style="font-size: 100px; color: #0088cc;"></i>-->
                    <img src="https://qa.lacommunitybank.com/site/webroot/img/download-image.png" class="img-fluid img-responsive" alt="">      
                 </div>
              

             
                    <!-- <div class="file_name">
                        <//?= $this->Text->truncate(strip_tags($content->name), 50, ['ellipsis' => '...', 'exact' => false]) ?>
    </div> -->
                    <!-- <h5 class="mb-4">
                        <//?= $this->Text->truncate(strip_tags($content->content), 110, ['ellipsis' => '...', 'exact' => false]) ?>
                  </h5> -->

                
                  <p class="download_it file_name">
                   <a target="_blank" href="<?= $this->Url->image($content->file_path) ?>">
                   <?= $this->Text->truncate(strip_tags($content->name), 50, ['ellipsis' => '...', 'exact' => false]) ?>   &nbsp;&nbsp; </br>
                  <i class="bi bi-arrow-down-circle-fill" aria-hidden="true" style="font-size:20px; font-weight:bold;  color:#0e74c0;"></i> 
                    </a>
                    </a>
                  </p>
              </div>
          </div>

      </div>
      <!-- Break Point Ends Here -->

    <?php } ?>
  </div>
  </div>
</div>





<!-- Notes   Date: 27/06/2022 
   1. Main Containers should have bootstrap py of 5.
   2. All html tags should be placed in a div.
   3. All html tags should use boostrap classes
-->