templates/pages/home.html.twig line 1
{% extends 'base.html.twig' %}{# {% block title %}{{ settings[0].siteName }} : {{ homePage.title|raw }}{% endblock %} #}{% block body %}<div class="page"><div class="container text-white pb-5"><div class="row"><div class="col position-relative container-bulle-responsive">{% if settings[0].siteHomeimage1 is defined and settings[0].siteHomeimage1 != null %}<img src="{{ asset('assets/img/pages/home/' ~ settings[0].siteHomeimage1 ) }}" alt="Logo"class="img-fluid logo-edition" style="max-width: 300px; width: 100%;">{% endif %}<div class="div-hour-home">13<sup style="top: -.30em;">e</sup> édition,<br>nouveaux horaires !<br>De 14h00 à 20h00</div><div class="bigtitles-bloc"><div class="div-bulle"style="background-image: url('{{ asset('assets/img/pages/home/' ~ settings[0].siteHomeimage2 ) }}');"><p class="home-forum-description-bulle">{{ settings[0].siteHomeforumdescription|raw }}</p></div><h1 class="title-hero-forum">{{ settings[0].siteHomeforumtitle }}</h1><h2 class="subtitle-home"><spanclass="title-hero-main">{{ settings[0].siteHomemaintitle1 }}</span><br><span class="title-hero-main-bold-left">{{ settings[0].siteHomemaintitle2 }}</span><br><spanclass="title-hero-main-bold-right">{{ settings[0].siteHomemaintitle3 }}</span></h2><div class="div-date-home"style="background-image: url('{{ asset('assets/img/date-home.svg') }}');">{{ settings[0].siteHomeforumdatejour }}{{ settings[0].siteHomeforumdatejournb }}{{ settings[0].siteHomeforumdatemois }}{{ settings[0].siteHomeforumdateannee }}</div></div></div></div>{# Video #}<div class="row container-video"><div class="col text-center video"><div class="video"><video controls width="250"><source src="{{ asset('assets/videos/' ~ settings[0].siteHomevideo) }}" type="video/mp4">Veuillez mettre à jour votre navigateur</video></div></div></div>{# Bulles #}<div class="row d-flex justify-content-center"><div class="col-lg-3 col-sm-12 text-center text-white"style="background: url({{ asset('assets/img/bulle-info-job-dating.png' ) }}); background-position: center; background-repeat: no-repeat; height: 400px;"><h2 class="fw-bold"style="margin-top: 115px; font-size: 1.75rem !important;">{{ settings[0].siteHomeforumsubdescription|replace({'<div>': '', '</div>': '',})|raw }}</h2></div><div class="col-lg-3 col-sm-12 text-center bleu"style="background: url({{ asset('assets/img/bulle-adresse-job-dating.png' ) }}); background-position: top; background-repeat: no-repeat; height: 400px;"><div style="margin-top: 50px;"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="currentColor"d="M12 12q.825 0 1.413-.588T14 10q0-.825-.588-1.413T12 8q-.825 0-1.413.588T10 10q0 .825.588 1.413T12 12Zm0 10q-4.025-3.425-6.012-6.362T4 10.2q0-3.75 2.413-5.975T12 2q3.175 0 5.588 2.225T20 10.2q0 2.5-1.988 5.438T12 22Z"/></svg>{{ settings[0].siteHomeforumadresse|replace({'<div>': '', '</div>': '',})|raw }}<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="currentColor"d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM16 16a.996.996 0 0 1-1.41 0l-3.29-3.29A1 1 0 0 1 11 12V8c0-.55.45-1 1-1s1 .45 1 1v3.59l3 3c.39.39.39 1.02 0 1.41z"/></svg>{{ settings[0].siteHomeforumhoraires|replace({'<div>': '', '</div>': '',})|raw }}</div></div></div>{# Programme #}<div class="row d-flex justify-content-center align-items-center"><div class="col-lg-6 col-sm-12 text-center"><p class="fw-bold text-uppercase forum-title">{{ settings[0].siteHomeforumtitle }}</p><p class="mt-4 lead">{{ settings[0].siteHomeforumtext|replace({'<div>': '', '</div>': '',})|raw }}</p></div></div><div class="row mt-5"><div class="col text-center"><a href="{{ settings[0].siteHomeforumbuttonlink }}"class="button-programme-home">{{ settings[0].siteHomeforumbuttontext }}</a></div></div></div></div><div class="container py-5"><div class="row"><div class="col text-center"><h2 class="title-actualites-home">{{ settings[0].siteHomeactualitestitle }}</h2>{# Facebook #}<div id="fb-root"></div><script async defer crossorigin="anonymous"src="https://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v17.0" nonce="ND6cs553"></script><div class="fb-page" data-href="https://www.facebook.com/forumindustrieBourges" data-tabs="timeline"data-width="" data-height="" data-small-header="false" data-adapt-container-width="true"data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/forumindustrieBourges" class="fb-xfbml-parse-ignore"><ahref="https://www.facebook.com/forumindustrieBourges">Forum de l'industrieBourges</a></blockquote></div></div></div></div><div class="container-fluid py-5 page"><div class="container"><div class="row d-flex justify-content-center align-items-center"><div class="col-lg-8 col-sm-12"><h2 class="title-contact-home text-center">{{ settings[0].siteHomecontacttitle }}</h2>{{ form_start(form) }}{% for message in app.flashes('success') %}<div id="message-success" class="alert alert-success alert-dismissible fade show mb-4"role="alert">{{ message }}<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button></div>{% endfor %}<div class="bg-danger">{{ form_errors(form) }}</div><div class="row"><div class="col">{{ form_row(form.nom) }}</div><div class="col">{{ form_row(form.prenom) }}</div></div><div class="row"><div class="col">{{ form_row(form.email) }}</div><div class="col">{{ form_row(form.telephone) }}</div></div><div class="row"><div class="col">{{ form_row(form.objet) }}</div></div><div class="row"><div class="col">{{ form_row(form.message) }}</div></div><p class="small text-white">*Champs obligatoires</p><div class="row"><div class="col-lg-10 col-sm-12 text-white">Merci de recopier le code antispam :<span class="ms-2">{{ form_row(form.captcha) }}</span></div><div class="col-lg-2 col-sm-12 align-self-center justify-content-center"><button type="submit" class="button-contact">Envoyer</button></div></div>{{ form_end(form) }}</div></div></div>{# Google Map #}<div class="container mt-5"><div class="row py-5"><div class="col text-center"><div class="googlemapsembed py-3" data-url="{{ settings[0].siteMap }}" width="100%"height="600"></div></div></div></div></div><style>.eventmodal {display: none;position: fixed;z-index: 100;left: 0;top: 0;width: 100%;height: 100%;overflow: auto;background-color: rgb(0, 0, 0);background-color: rgba(0, 0, 0, 0.4);}.event-modal-content {border-radius: 30px;margin: 15% auto;padding: 20px;width: 50%;height: 50%;background-color: #ed3561;}.event-modal-content > .modal-box {display: flex;flex-direction: column;justify-content: center;align-items: center;height: 100%;}.event-modal-content > .modal-box > p {color: #fff;font-size: 28px;}.event-modal-content > .modal-box > .title {font-size: 35px;font-weight: bold;}.event-close {color: #fff;float: right;font-size: 50px;font-weight: bold;}.event-close:hover,.event-close:focus {color: #d7d7d7;text-decoration: none;cursor: pointer;}</style><div id="eventModal" class="eventmodal"><div class="event-modal-content"><div class="event-close">x</div><div class="modal-box"><p>Forum de l’industrie de Bourges</p><p class="title">JEUDI 25 SEPTEMBRE 2025</p><p>À vos agendas !</p></div></div></div><script>function getCookie(name) {let cookies = document.cookie.split("; ");for (let i = 0; i < cookies.length; i++) {let [cookieName, cookieValue] = cookies[i].split("=");if (cookieName === name) {return cookieValue;}}return null;}// Function to set a cookiefunction setCookie(name, value, days) {let expires = new Date();expires.setTime(expires.getTime() + days * 24 * 60 * 60 * 1000);document.cookie = `${name}=${value};expires=${expires.toUTCString()};path=/`;}var modal = document.getElementById("eventModal");var btn = document.getElementById("myBtn");var span = document.getElementsByClassName("event-close")[0];window.addEventListener("load", (event) => {if (getCookie("modalClosed")) {return;}modal.style.display = "block";})span.onclick = function () {modal.style.display = "none";setCookie("modalClosed", "true", 365);}</script>{% endblock %}