templates/fragments/_slider.html.twig line 1

Open in your IDE?
  1. <!-- Eg toggle : Display/Hide slider div in jquery : find code in assets/js/slider_toggle.js -->
  2. <div class = "container">
  3.     <div class = "myInlineFlex">
  4.     <p id = "toggleText">Hide Slider</p>
  5.         <a class="" href="#" id="sliderToggle">
  6.             <i class="bi bi-toggle-on" id="sliderSwitchButton"></i>
  7.         </a>
  8.     </div>    
  9. </div>
  10. <!-- end toggle -->
  11. <div class = "container pictContainer" id = "slider"><!-- start main container-->
  12. <h5>Two responsive columns in -> fragments/_slider.html.twig<h5>
  13.     <div class = "row"><!-- start row -->
  14.         <div class = "col-lg-6 col-xs-12"><!-- start col 1 -->
  15.         <h5>Col 1 | Ex Boostrap Slider</h5>
  16.             <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
  17.                 <ol class="carousel-indicators">
  18.                     <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
  19.                     <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
  20.                     <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
  21.                 </ol>
  22.                     <div class="carousel-inner"> <!-- start caroussel inner -->
  23.                         <div class="carousel-item active">
  24.                         <img class="d-block w-100 rounded opacity-75" src="https://picsum.photos/660/300?random=11" alt="First slide">
  25.                             <div class="carousel-caption d-none d-md-block">
  26.                                 <div class = "carousselTitle">caroussel Title</div>
  27.                                 <div class = "caroussepara">caroussel short description</div>
  28.                             </div>
  29.                         </div>
  30.                         <div class="carousel-item">
  31.                         <img class="d-block w-100 rounded opacity-75" src="https://picsum.photos/660/300?random=12" alt="Second slide">
  32.                             <div class="carousel-caption d-none d-md-block">
  33.                                 <div class = "carousselTitle">caroussel Title</div>
  34.                                 <div class = "caroussepara">caroussel short description</div>
  35.                             </div>
  36.                         </div>
  37.                     </div> <!-- end caroussel inner -->
  38.                 <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
  39.                     <span class="carousel-control-prev-icon" aria-hidden="true"></span>
  40.                     <span class="sr-only">Previous</span>
  41.                 </a>
  42.                 <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
  43.                     <span class="carousel-control-next-icon" aria-hidden="true"></span>
  44.                     <span class="sr-only">Next</span>
  45.                 </a>
  46.             </div>
  47.          </div><!-- end col 1 -->
  48.         <div class ="col-lg-6 col-xs-12 headerLogo"><!-- start col 2 -->
  49.         <h5>Col 2 | Ex Place A picture</h5>
  50.           <img class="d-block w-100" src="./assets/images/default_picture/logo.png" alt="Second picture">
  51.         </div><!-- end col 2 -->
  52.     </div><!-- end row -->
  53. </div><!-- end container -->