templates/front-office/home.html.twig line 1

Open in your IDE?
  1. {% extends "front-office/_base.html.twig" %}
  2. {% block link %}
  3.     <link rel="stylesheet" href="{{ asset('assets/owlcarousel/owl.carousel.min.css') }}">
  4.     <link rel="stylesheet" href="{{ asset('assets/owlcarousel/owl.theme.default.min.css') }}">
  5. {% endblock %}
  6. {% block script %}
  7.     <script src="{{ asset('assets/owlcarousel/owl.carousel.min.js') }}"></script>
  8.     <script>
  9.         
  10.         document.addEventListener("DOMContentLoaded",()=>{
  11.             /**
  12.              * Carousel
  13.               */ 
  14.             $('.owl-carousel').owlCarousel({
  15.                 loop:true,
  16.                 nav:true,
  17.                 items:1
  18.             })
  19.         });
  20.         
  21.     </script>
  22. {% endblock %}
  23. {% block content %}
  24.     {# SECTION TOP #}
  25.     <section class="home-top">
  26.         {# CAROUSEL #}
  27.         <section class="home-top-carousel">
  28.             {% if studio is not null %}
  29.                 <div class=" carousel-content meli-section-60">
  30.                     <div class="owl-carousel owl-theme">
  31.                         {% if studio.video %}
  32.                             <div class="meli-center-center">
  33.                                 {{ studio.video|raw }}
  34.                             </div>
  35.                         {% endif %}
  36.                         {% if studio.picture %}
  37.                             <div>
  38.                                 <img src="{{ asset('uploads/studios/studio-'~studio.id~'/'~studio.picture) }}" alt="{{ studio.pictureAlt }}">
  39.                             </div>
  40.                         {% endif %}
  41.                         {% for g in studio.gallery %}
  42.                             <div>
  43.                                 <img src="{{ asset('uploads/studios/studio-'~studio.id~'/gallery-'~g.id~'/'~g.picture) }}" alt="{{ g.pictureAlt }}">
  44.                             </div>
  45.                         {% endfor %}
  46.                     </div>
  47.                 </div>
  48.             {% else %}
  49.                 <div class="img-box">
  50.                     <img src="{{ asset('assets/img/logo/studio-p-white.png') }}" alt="Logo Studio-p">
  51.                 </div>
  52.             {% endif %}
  53.         </section>
  54.         {# PRESENTATION #}
  55.         <section class="home-top-presentation">
  56.             <div class="content meli-section-80 meli-between-start">
  57.                 <div class="meli-width-70">
  58.                     <p class="txt-center txt-bold">
  59.                         Bienvenue aux Studios P de Mathieu Pichoff <br>
  60.                         Unité de production audiovisuelle (cinéma, documentaires, TV, photos) <br>
  61.                         Réalisateur - Producteur installé sur le Bassin d'Arcachon, Mathieu Pichoff vous propose certains services à la location,
  62.                         tels que des locaux, du matériel et des équipes de tournage, dont vous trouverez ici la description
  63.                     </p>
  64.                 </div>
  65.                 <div class="meli-width-20">
  66.                     <img src="{{ asset('assets/img/logo/studio-p.png') }}" alt="Studios P">
  67.                 </div>
  68.             </div>
  69.         </section>
  70.     </section>
  71.     {# SECTION MIDDLE #}
  72.     <section class="home-middle">
  73.         {# NUMBER PHONE #}
  74.         <section class="home-phone">
  75.             <p class="txt-center txt-white txt-bold">Vous avez des questions ? Un projet ? Contactez ce numéro</p>
  76.             <p class="txt-center txt-blue txt-bold">06 68 41 79 12</p>
  77.         </section>
  78.         {# NEED ? #}
  79.         <div class="home-need">
  80.             <h2 class="txt-bold txt-center title">BESOIN DE MATERIELS ?</h2>
  81.             <div class="meli-between-start meli-section-80 home-need-materials">
  82.                 {% for m in materials %}
  83.                     <div class="meli-width-45 home-need-material-bloc meli-center-center">
  84.                         <img src="{{ asset('uploads/materials/material-'~m.id~'/'~m.picture) }}" alt="{{ m.pictureAlt }}">
  85.                         <div class="infos">
  86.                             <h3 class="subtitle txt-bold txt-center txt-white">{{ m.name }}</h3>
  87.                         </div>
  88.                     </div>
  89.                 {% endfor %}
  90.             </div>
  91.             <div class="button-box meli-center-center">
  92.                 <a href="{{ path('material_list') }}">
  93.                     <button class="kit-btn">Voir les produits</button>
  94.                 </a>
  95.             </div>
  96.         </div>
  97.         {# SPONSORS #}
  98.         <div class="home-sponsors">
  99.             <h2 class="txt-bold txt-center title">Partenaires et collaborateurs</h2>
  100.             <div class="meli-between-center meli-section-80">
  101.                 <div class="meli-width-20 meli-center-center">
  102.                     <img src="{{ asset('assets/img/static/sponsor/aerovid.jpg') }}" alt="aerovid">
  103.                 </div>
  104.                 <div class="meli-width-20 meli-center-center">
  105.                     <img src="{{ asset('assets/img/static/sponsor/autofilmgendpol.png') }}" alt="autofilmgendpol">
  106.                 </div>
  107.                 <div class="meli-width-20 meli-center-center">
  108.                     <img src="{{ asset('assets/img/static/sponsor/mathieu-pichoff-realisateur.jpg') }}" alt="mathieu pichoff realisateur">
  109.                 </div>
  110.                 <div class="meli-width-20 meli-center-center">
  111.                     <img src="{{ asset('assets/img/static/sponsor/sam-ramassamy.jpg') }}" alt="sam ramassamy">
  112.                 </div>
  113.             </div>
  114.         </div>
  115.     </section>
  116.     <div class="divider-red"></div>
  117.     {# SECTION BOTTOM #}
  118.     <section class="home-bottom">
  119.         <h2 class="title txt-center txt-bold">Suivez les différents projets</h2>
  120.         <div class="home-social-img-container meli-between-center meli-section-40">
  121.             <div class="img-box meli-width-5">
  122.                 <a href="https://twitter.com/templarscreed_" target="_blank">
  123.                     <img src="{{ asset('assets/img/social/twitter.png') }}" alt="twitter">
  124.                 </a>
  125.             </div>
  126.             <div class="img-box meli-width-5">
  127.                 <a href="https://www.facebook.com/Studiosdeproductionpichoff/" target="_blank">
  128.                     <img src="{{ asset('assets/img/social/facebook.png') }}" alt="facebook">
  129.                 </a>
  130.             </div>
  131.             <div class="img-box meli-width-5">
  132.                 <a href="https://www.instagram.com/mathieupichoff/">
  133.                     <img src="{{ asset('assets/img/social/instagram.png') }}" alt="instagram">
  134.                 </a>
  135.             </div>
  136.             <div class="img-box meli-width-5">
  137.                 <a href="https://vimeo.com/user71678312" target="_blank">
  138.                     <img src="{{ asset('assets/img/social/vimeo.png') }}" alt="vimeo">
  139.                 </a>
  140.             </div>
  141.             <div class="img-box meli-width-5">
  142.                 <a href="https://www.youtube.com/@TemplarscreedLefilm" target="_blank">
  143.                     <img src="{{ asset('assets/img/social/youtube.png') }}" alt="youtube">
  144.                 </a>
  145.             </div>
  146.         </div>
  147.     </section>
  148. {% endblock %}