PHP Classes

File: aksara/Views/components/view/carousel.twig

Recommend this page to a friend!
  Classes of Aby Dahana   Aksara   aksara/Views/components/view/carousel.twig   Download  
File: aksara/Views/components/view/carousel.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change:
Date: 1 month ago
Size: 1,208 bytes
 

Contents

Class file image Download
<div> <div id="carousel_{{ name }}" class="carousel slide" data-bs-ride="carousel"> <div class="carousel-inner"> {% for key, carousel in content %} <div class="carousel-item {% if key is same as(0) %} active {% endif %}"> <img src="{{ carousel.src.background }}" class="d-block w-100 rounded" alt="..."> <div class="carousel-caption"> <h5 class="text-secondary"> {{ carousel.title }} </h5> <p class="text-secondary"> {{ carousel.description }} </p> </div> </div> {% endfor %} </div> <a class="carousel-control-prev" href="#carousel_{{ name }}" role="button" data-bs-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> </a> <a class="carousel-control-next" href="#carousel_{{ name }}" role="button" data-bs-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> </a> </div> </div>