{% extends "front-office/_base.html.twig" %}
{% block link %}
<link rel="stylesheet" href="{{ asset('assets/owlcarousel/owl.carousel.min.css') }}">
<link rel="stylesheet" href="{{ asset('assets/owlcarousel/owl.theme.default.min.css') }}">
{% endblock %}
{% block script %}
<script src="{{ asset('assets/owlcarousel/owl.carousel.min.js') }}"></script>
<script>
document.addEventListener("DOMContentLoaded",()=>{
/**
* Carousel
*/
$('.owl-carousel').owlCarousel({
loop:true,
nav:true,
items:1
})
});
</script>
{% endblock %}
{% block content %}
{# SECTION TOP #}
<section class="home-top">
{# CAROUSEL #}
<section class="home-top-carousel">
{% if studio is not null %}
<div class=" carousel-content meli-section-60">
<div class="owl-carousel owl-theme">
{% if studio.video %}
<div class="meli-center-center">
{{ studio.video|raw }}
</div>
{% endif %}
{% if studio.picture %}
<div>
<img src="{{ asset('uploads/studios/studio-'~studio.id~'/'~studio.picture) }}" alt="{{ studio.pictureAlt }}">
</div>
{% endif %}
{% for g in studio.gallery %}
<div>
<img src="{{ asset('uploads/studios/studio-'~studio.id~'/gallery-'~g.id~'/'~g.picture) }}" alt="{{ g.pictureAlt }}">
</div>
{% endfor %}
</div>
</div>
{% else %}
<div class="img-box">
<img src="{{ asset('assets/img/logo/studio-p-white.png') }}" alt="Logo Studio-p">
</div>
{% endif %}
</section>
{# PRESENTATION #}
<section class="home-top-presentation">
<div class="content meli-section-80 meli-between-start">
<div class="meli-width-70">
<p class="txt-center txt-bold">
Bienvenue aux Studios P de Mathieu Pichoff <br>
Unité de production audiovisuelle (cinéma, documentaires, TV, photos) <br>
Réalisateur - Producteur installé sur le Bassin d'Arcachon, Mathieu Pichoff vous propose certains services à la location,
tels que des locaux, du matériel et des équipes de tournage, dont vous trouverez ici la description
</p>
</div>
<div class="meli-width-20">
<img src="{{ asset('assets/img/logo/studio-p.png') }}" alt="Studios P">
</div>
</div>
</section>
</section>
{# SECTION MIDDLE #}
<section class="home-middle">
{# NUMBER PHONE #}
<section class="home-phone">
<p class="txt-center txt-white txt-bold">Vous avez des questions ? Un projet ? Contactez ce numéro</p>
<p class="txt-center txt-blue txt-bold">06 68 41 79 12</p>
</section>
{# NEED ? #}
<div class="home-need">
<h2 class="txt-bold txt-center title">BESOIN DE MATERIELS ?</h2>
<div class="meli-between-start meli-section-80 home-need-materials">
{% for m in materials %}
<div class="meli-width-45 home-need-material-bloc meli-center-center">
<img src="{{ asset('uploads/materials/material-'~m.id~'/'~m.picture) }}" alt="{{ m.pictureAlt }}">
<div class="infos">
<h3 class="subtitle txt-bold txt-center txt-white">{{ m.name }}</h3>
</div>
</div>
{% endfor %}
</div>
<div class="button-box meli-center-center">
<a href="{{ path('material_list') }}">
<button class="kit-btn">Voir les produits</button>
</a>
</div>
</div>
{# SPONSORS #}
<div class="home-sponsors">
<h2 class="txt-bold txt-center title">Partenaires et collaborateurs</h2>
<div class="meli-between-center meli-section-80">
<div class="meli-width-20 meli-center-center">
<img src="{{ asset('assets/img/static/sponsor/aerovid.jpg') }}" alt="aerovid">
</div>
<div class="meli-width-20 meli-center-center">
<img src="{{ asset('assets/img/static/sponsor/autofilmgendpol.png') }}" alt="autofilmgendpol">
</div>
<div class="meli-width-20 meli-center-center">
<img src="{{ asset('assets/img/static/sponsor/mathieu-pichoff-realisateur.jpg') }}" alt="mathieu pichoff realisateur">
</div>
<div class="meli-width-20 meli-center-center">
<img src="{{ asset('assets/img/static/sponsor/sam-ramassamy.jpg') }}" alt="sam ramassamy">
</div>
</div>
</div>
</section>
<div class="divider-red"></div>
{# SECTION BOTTOM #}
<section class="home-bottom">
<h2 class="title txt-center txt-bold">Suivez les différents projets</h2>
<div class="home-social-img-container meli-between-center meli-section-40">
<div class="img-box meli-width-5">
<a href="https://twitter.com/templarscreed_" target="_blank">
<img src="{{ asset('assets/img/social/twitter.png') }}" alt="twitter">
</a>
</div>
<div class="img-box meli-width-5">
<a href="https://www.facebook.com/Studiosdeproductionpichoff/" target="_blank">
<img src="{{ asset('assets/img/social/facebook.png') }}" alt="facebook">
</a>
</div>
<div class="img-box meli-width-5">
<a href="https://www.instagram.com/mathieupichoff/">
<img src="{{ asset('assets/img/social/instagram.png') }}" alt="instagram">
</a>
</div>
<div class="img-box meli-width-5">
<a href="https://vimeo.com/user71678312" target="_blank">
<img src="{{ asset('assets/img/social/vimeo.png') }}" alt="vimeo">
</a>
</div>
<div class="img-box meli-width-5">
<a href="https://www.youtube.com/@TemplarscreedLefilm" target="_blank">
<img src="{{ asset('assets/img/social/youtube.png') }}" alt="youtube">
</a>
</div>
</div>
</section>
{% endblock %}