src/Flexy/FrontBundle/Themes/CoWorking/templates/layout.html.twig line 1
<!doctype html>
<html class="no-js" lang="fr">
<!-- index28:48-->
<head>
<title>{% block title %}Cowork & live{% endblock %}</title>
{% block metas %}
{{front.renderSeo|join|raw}}
{% endblock %}
<link rel="shortcut icon" href="{{asset("themes/coworking/images/logo-black.png")}}" />
<meta name="format-detection" content="telephone=no" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
<meta
name="viewport"
content="width=device-width,initial-scale=1,shrink-to-fit=no,maximum-scale=1"
/>
<meta charset="UTF-8">
{% block stylesheets %}
<style>
.fa-linkedin {
color: #ffffff !important;
font-size: 15px !important;
}
#brochure:hover{
text-decoration:underline;
}
.text-pdf-btn {
position: fixed;
bottom: 145px;
right: 8px;
z-index: 9999;
font-weight: 700;
font-size: 10px;
color:black;
}
#textForWhatsap {
position: fixed;
bottom: 40px;
right: 90px;
z-index: 9999;
font-weight: 700;
font-size: 10px;
color:black;
}
#textForWhatsap:hover{
color:#DFB150;
}
.text-pdf-btn:hover{
color:#DFB150;
}
.pdf-btn {
position: fixed;
bottom: 90px;
right: 20px;
z-index: 9999;
width: 60px;
height: 60px;
border-radius: 50%;
background-color: #DFB150;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
animation: breathePdf 2s ease-in-out infinite;
}
/*Estilos solo al icono whatsapp*/
.pdf-btn i {
color: #fff;
font-size: 24px;
animation: beatPdf 2s ease-in-out infinite;
text-decoration: none;
}
.whatsapp-btn {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 9999;
width: 60px;
height: 60px;
border-radius: 50%;
background-color: #25D366;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
animation: breathe 2s ease-in-out infinite;
}
/*Estilos solo al icono whatsapp*/
.whatsapp-btn i {
color: #fff;
font-size: 24px;
animation: beat 2s ease-in-out infinite;
text-decoration: none;
}
/*Estilos con animation contorno respirando*/
@keyframes breathe {
0% {
box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
}
70% {
box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
}
/*Estilos de animacion del icono latiendo*/
@keyframes beat {
0% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}
/*Estilos con animation contorno respirando*/
@keyframes breathePdf {
0% {
/*box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);*/
box-shadow: 0 0 0 0 rgb(218 37 37);
}
70% {
/*box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);*/
box-shadow: 0 0 0 0 15px rgb(218 37 37);
}
100% {
/*box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);*/
box-shadow: 0 0 0 0 rgb(218 37 37);
}
}
/*Estilos de animacion del icono latiendo*/
@keyframes beatPdf {
0% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}
.user-btn {
position: fixed;
bottom: 160px;
right: 20px;
z-index: 9999;
width: 60px;
height: 60px;
border-radius: 50%;
background-color: #25D366;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
animation: breatheUser 2s ease-in-out infinite;
}
/*Estilos solo al icono whatsapp*/
.user-btn i {
color: #fff;
font-size: 24px;
animation: beatUser 2s ease-in-out infinite;
text-decoration: none;
}
/*Estilos con animation contorno respirando*/
@keyframes breatheUser {
0% {
box-shadow: 0 0 0 0 rgba(128, 128, 128, 0.5); /* Grey */
}
70% {
box-shadow: 0 0 0 15px rgba(128, 128, 128, 0); /* Transition to grey, fading out */
}
100% {
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); /* Fully transparent */
}
}
/*Estilos de animacion del icono latiendo*/
@keyframes beatUser {
0% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}
#brochure{
padding-left: 7px!important;
}
i.fa-regular.fa-map
{
padding-left: 15px!important;
}
/*popup form*/
.popup-btn{
position: absolute!important;
top: 55%;
left: 50%;
transform: translate(-50%,-50%);
}
.main-btn-rect,
.main-btn-circle{
position: relative;
margin: 0;
font-family: 'Roboto', sans-serif;
color: #e5c88a;
/*background-color: rgb(252, 79, 79);*/
text-transform: uppercase;
font-size: 25px;
letter-spacing: 1px;
outline: none;
cursor: pointer;
z-index: 100;
}
.main-btn-rect {
padding: 10px 80px;
line-height: 30px;
}
.main-btn-rect:before,
.main-btn-rect:after{
position: absolute;
content: '';
top:0;
width: 0%;
height: 100%;
background-color: rgba(255, 255, 240, 0.2);
-webkit-transition: width 0.3s;
-o-transition: width 0.3s;
transition: width 0.3s;
}
.main-btn-rect:before {
left: 0;
}
.main-btn-rect:after {
right: 0;
}
.main-btn-rect:hover:before,
.main-btn-rect:hover:after{
width: 50%;
}
.main-btn-circle{
height: 40px;
width: 40px;
-webkit-border-radius: 50%;
border-radius: 100%;
line-height: 40px;
-webkit-transition: box-shadow 0.3s;
-o-transition: box-shadow 0.3s;
transition: box-shadow 0.3s;
}
.main-btn-circle:hover{
-webkit-box-shadow: inset 2px 1px 0px 20px rgba(255, 255, 240, 0.2);
-moz-box-shadow: inset 2px 1px 0px 20px rgba(255, 255, 240, 0.2);
box-shadow: inset 2px 1px 0px 20px rgba(255, 255, 240, 0.2);
}
.popup{
position: fixed;
top: 100%;
width: 100%;
height: 100%;
z-index: 10001;
}
.popup.active{
top:0;
background-color: rgba(3, 3, 3, 0.98);
transition: background-color .6s ,opacity .6s;
}
.popup .main-btn-rect{
padding: 10px 100px;
}
.popup .popup-content{
position: absolute;
top: 50%;
left: 50%;
max-height: 568px;
min-width: 400px;
margin-top: 150px;
padding: 25px;
background-color: #FFFFF0;
color: #070000;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
-ms-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-o-transform: translateX(-50%) translateY(-50%);
transition: margin .6s;
-webkit-transition: margin .6s;
-moz-transition: margin .6s;
-o-transition: margin .6s;
}
.popup.active .popup-content{
margin-top: 0px;
}
.popup-content h6{
display: table;
font-size: 16px;
text-align: center;
margin: 10px auto;
font-family: 'Roboto',sans-serif;
text-transform: uppercase;
font-weight: 100;
}
.form-group{
position: relative;
width: 90%;
margin: 0px auto;
}
form#send input, form#send textarea{
position: relative;
margin-bottom: 5px;
width: 100%;
height: 35px;
font-family: 'RobotoLight', sans-serif;
text-indent: 20px;
background-color: transparent;
outline: 0;
border: none;
border-bottom: 1px solid #070000;
-webkit-transition: border 0.6s;
-o-transition: border 0.6s;
transition: border 0.6s;
font-size: 12px;
}
form#send input:focus,
form#send textarea:focus{
border-bottom: 1px solid rgb(63, 173, 168);
}
form#send label{
position: absolute;
top: 18px;
line-height: 28px;
-webkit-transition: color .5s;
-o-transition: color .5s;
transition: color .5s;
}
form#send input:focus + label,
form#send textarea:focus + label{
color: rgb(63, 173, 168);
}
form#send .txt{
line-height: 22px;
left: 2px;
}
form#send .main-btn-rect {
position: relative;
display: block;
padding: 3px 20px;
margin: 0px auto;
font-size: 14px;
color: #dfb150;
border: 1px solid #dfb150;
}
form#send .main-btn-rect i {
margin-right: 5px;
}
.popup .fade-out{
position: absolute;
top: -20px;
right: -20px;
text-align: center;
font-size: 15px;
}
.share-wrap{
position: absolute;
display: inline-table;
top: 67%;
left: 50%;
transform: translate(-50%, -50%);
padding: 15px;
text-align: center;
}
.share-btn{
color: #FFFFF0;
padding: 7px 25px;
text-decoration: none;
cursor: pointer;
font-weight: 100;
font-size: 14px;
font-family:'Lobster', sans-serif;
background-color: rgba(63, 173, 168, .8);
text-transform: uppercase;
border-radius: 5px;
transition: background-color .5s;
-webkit-transition: background-color .5s;
-moz-transition: background-color .5s;
-o-transition: background-color .5s;
}
.share-btn:hover{
color: #FFFFF0;
text-decoration: none;
background-color: rgba(63, 173, 168, 1.0);
}
.resp-sharing-button__link,
.resp-sharing-button__icon {
display: inline-block
}
.resp-sharing-button__link {
text-decoration: none;
color: #fff;
margin: 2px;
}
.resp-sharing-button {
border-radius: 5px;
transition: 25ms ease-out;
padding: 6px 9px;
transition: background-color .5s;
-webkit-transition: background-color .5s;
-moz-transition: background-color .5s;
-o-transition: background-color .5s;
}
.resp-sharing-button__icon svg {
width: 1em;
height: 1em;
margin-right: 0.4em;
vertical-align: top
}
.resp-sharing-button--small svg {
margin: 0;
vertical-align: middle
}
.resp-sharing-button__icon,
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
fill: #fff;
stroke: none
}
.resp-sharing-button--facebook {
background-color: #3b5998;
border-color: #3b5998;
}
.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
background-color: #2d4373;
border-color: #2d4373;
}
.resp-sharing-button--twitter {
background-color: #55acee;
border-color: #55acee;
}
.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
background-color: #2795e9;
border-color: #2795e9;
}
.resp-sharing-button--linkedin {
background-color: #0077b5;
border-color: #0077b5;
}
.resp-sharing-button--linkedin:hover,
.resp-sharing-button--linkedin:active {
background-color: #046293;
border-color: #046293;
}
@media only screen and (max-width: 768px){
form#send .main-btn-rect {padding: 7px 60px; font-size: 14px;}
.popup-btn{padding: 7px 60px; font-size: 14px;}
.fa-user:before {
font-size: 20px !important;
margin-top: 10px;
}
.popup .fade-out {
position: absolute;
top: -22px;
right: 5px;
text-align: center;
font-size: 27px;
}
}
.popup-content .form-group {
position: relative;
margin-bottom: 15px;
}
.popup-content label {
position: absolute;
left: 10px;
top: 50%;
transform: translateY(-50%);
color: #999;
}
.popup-content input,
.popup-content textarea {
padding-left: 35px; /* Make room for the icon */
width: 100%;
box-sizing: border-box;
}
.popup-content textarea {
padding-top: 2px;
padding-left: 5px;
height: 65px!important;
}
#txtArea::placeholder {
font-size: 13px !important; /* Adjust the size as needed */
padding-left: 10px !important;
}
.popup-content input::placeholder,
.popup-content textarea::placeholder {
color: #ccc;
}
.popup-content input:focus + label i,
.popup-content textarea:focus + label i {
color: #333; /* Optional: Change icon color on focus */
}
.popup-content button {
display: flex;
align-items: center;
}
.popup-content button i {
margin-right: 5px;
}
/*popup form*/
</style>
{% include "@Flexy/FrontBundle/Themes/CoWorking/templates/_head.html.twig" %}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TSKN7LNV');</script>
<!-- End Google Tag Manager -->
{{ encore_entry_link_tags('frontend') }}
{% include "@Flexy/FrontBundle/Themes/CoWorking/templates/_stylesheets.html.twig" %}
{% endblock %}
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TSKN7LNV"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% if app.request.attributes.get("_route") != "single_category_product" %}
{% endif %}
{{ render(path('front_header')) }}
{% for type, messages in app.flashes %}
{% for message in messages %}
{% if type == "successOrder"%}
<!-- Dark Overlay -->
<div id="overlayOrderValid" style="position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 9999998;"></div>
<!-- Alert Modal -->
<div id="myAlertOrderValid" class="alert alert-{{ type }} text-center div-order-valid" role="alert" style="z-index: 9999999; position: absolute; top: 39%; left: 50%; transform: translate(-50%, -50%); background: white; padding: 2%;">
<div style="display: flex; justify-content: center; align-items: center;">
<img class="img-order-valid" src="{{asset('/uploads/front-images/icon-valid-order.svg')}}" style="margin-top: -5px;">
</div>
<h5 style="margin-top: 25px;margin-bottom: 25px;"> Merci !</h5>
<p style="font-size: 14px;">
Vos informations ont été enregistrées avec succès. <br>
Nous vous remercions pour votre message et nous vous répondrons dans les plus brefs délais. <br>
Si vous avez des questions urgentes, n’hésitez pas à nous contacter directement par téléphone ou par e-mail.
</p>
<button type="button" class="close" style="position: absolute; top: 0px; right: 5px;" data-dismiss="alert" id="btnClose" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{% else %}
<div id="myAlert" class="alert alert-{{ type }}" role="alert" style="z-index: 9999999;position: absolute; top: 22%; left: 50%; transform: translate(-50%, -50%);">
<i class="fas fa-check-circle"></i>
{{message | raw }}
<button type="button" class="close" style="position: absolute;top: 0px;right: 5px;" data-dismiss="alert" id="btnClose" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{% endif %}
{% endfor %}
{% endfor %}
<div style="min-height:700px;" >
<div class="animate__animated animate__fadeIn" data-turbo-cache="false">
{% block body %}
{% endblock %}
</div>
</div>
{#{% for home in doctrine.repository('App\\Flexy\\ShopBundle\\Entity\\Order\\HomePage').findBy({ id: 2 }) %}#}
{# <span>{{home.banner}}</span>#}
{#{% endfor %}#}
{#{% set brochureFrench = doctrine.repository('App\\Flexy\\ShopBundle\\Entity\\Order\\HomePage').findBy({ id: 1 }) %}#}
{#<a href="#" target=”_blank” class="pdf-btn" style="bottom: 130px !important;"> #}
{# <div>#}
{# <span id="brochure" style="font-size: 10px;color: white;font-weight: 600;">Brochure</span>#}
{# <i class="fa-regular fa-masp"></i>#}
{# </div>#}
{# </a>#}
<a class="user-btn" style="background-color:#788c80;" data-popup="popup-reg" >
<i class="fa fa-user"></i>
</a>
{% for home in doctrine.repository('App\\Flexy\\ShopBundle\\Entity\\Order\\HomePage').findBy({ id: 1 }) %}
<a href="/uploads/coworking/brochure-pdf/{{home.banner}}" target=”_blank” class="pdf-btn">
{% endfor %}
<div>
<span id="brochure" style="font-size: 10px;color: white;font-weight: 600;">Brochure</span>
<i class="fa-regular fa-map"></i>
</div>
</a>
{% set textWhatsap ="Bonjour, est-ce que je pourrais avoir plus d’informations sur cowork&live ?" %}
{% for home in doctrine.repository('App\\Flexy\\ShopBundle\\Entity\\Order\\HomePage').findBy({ id: 1 }) %}
<a href="https://api.whatsapp.com/send?phone={{home.whatsapp}}&text={{textWhatsap}}" target=”_blank” class="whatsapp-btn">
<i class="bi bi-whatsapp"></i>
</a>
{% endfor %}
<div>
<div id="popup-reg" class="popup">
<div class="popup-content">
<div class="event-header">
<h6>Écrivez-nous</h6>
</div>
<form id="send" class="send-form" action="{{path('sendEmailFromNewLead')}}" method="POST">
<div class="form-group">
<label for="name">
<i class="fa fa-user" id="forPopup"></i>
</label>
<input type="text" placeholder="Nom complet ..." id="name" name="nom" required="required">
</div>
<div class="form-group">
<label for="phone">
<i class="fa fa-phone"></i>
</label>
<input type="tel" placeholder="Téléphone ..." id="phone" name="tel" required="required">
</div>
<div class="form-group">
<label for="mail">
<i class="fa fa-envelope"></i>
</label>
<input type="email" placeholder="Email ..." id="mail" name="email" required="required">
</div>
<div class="form-group">
<label for="text">
<i class="fa fa-commenting"></i>
</label>
<textarea rows="4" id="txtArea" placeholder="Message ..." name="message" id="text" required="required"></textarea>
</div>
{#<i class="fa fa-paper-plane"></i><input class="float" type="submit" class="main-btn-rect" name="text" value="Envoyer">#}
<div class="row">
<div class="col-12" style="text-align: center;">
<input class="float" type="submit" value="Envoyer" style="text-indent: 0px;border: none; background-color: rgba(0, 0, 0, 1); color: rgba(255, 255, 255, 1); text-transform:uppercase; letter-spacing:3px; font-size:12px; font-family:'PT Sans', sans-serif; height: 45px; width: 180px;">
</div>
</div>
</form>
<span class="fade-out main-btn-circle" style="font-weight:900;">╳</span>
</div>
</div>
{{ render(path('front_footer')) }}
{% block javascripts %}
{% include "@Flexy/FrontBundle/Themes/CoWorking/templates/_javascripts.html.twig" %}
{% endblock %}
<script>
$(document).ready(function(){
$('.user-btn').click(function(){
var popupBlock = $('#'+$(this).data('popup'));
popupBlock.addClass('active')
.find('.fade-out').click(function(){
popupBlock.css('opacity','0').find('.popup-content').css('margin-top','350px');
setTimeout(function(){
$('.popup').removeClass('active');
popupBlock.css('opacity','').find('.popup-content').css('margin-top','');
}, 600);
});
});
$("#btnClose").click(function () {
$("#myAlert").fadeOut();
$("#myAlertOrderValid").fadeOut();
$("#overlayOrderValid").fadeOut();
});
});
function redirectToSelectedURL() {
var selectElement = document.getElementById("combo");
var selectedValue = selectElement.value;
// Check if a valid option is selected
if (selectedValue !== "") {
window.location.href = selectedValue;
}
}
</script>
</body>
</html>