{% extends 'base.html.twig' %}
{% block stylesheets %}
<link href="theme/css/t-datepicker.min.css" rel="stylesheet" type="text/css">
<link href="theme/css/themes/t-datepicker-blue.css" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
{% set type = 2 %}
<style>
{% if type == 1 %}
.home1_bgi1 {
background-image: url({{ image }});
-webkit-background-size: cover;
background-size: cover;
background-position: center center;
height: 960px;
}
{% endif %}
{% if type == 2 %}
<style>
.home1_bgi1 {
background-image: url({{ image }});
-webkit-background-size: cover;
background-size: cover;
background-position: center center;
height: 960px;
}
{% endif %}
.home1_bgi2 {
background-image: url({{ image }});
-webkit-background-size: cover;
background-size: cover;
background-position: center center;
height: 960px;
}
.our-testimonial:before{
background-image: url({{ asset('uploads/index/' ~ testimonial) | imagine_filter('testimonial') }});
bottom: 0;
content: "";
left: 0;
opacity: .5;
position: absolute;
right: 0;
top: 0;
}
.user_setting .dropdown-menu .user_setting_content a.active,
.user_setting .dropdown-menu .user_setting_content a.active span,
.user_setting .dropdown-menu .user_setting_content a:hover,
.user_setting .dropdown-menu .user_setting_content a:hover span {
background-color: transparent;
color: #484848;
}
header.header-nav.menu_style_home_one .ace-responsive-menu li a {
color: #FFFFFF;
}
.home_adv_srch_opt .nav-pills {
border-bottom: none;
margin: 0 auto;
text-align: center;
width: 550px;
}
.t-datepicker {
background-color: #ffffff;
border: 1px solid #ebebeb;
border-radius: 8px;
font-size: 14px;
color: #484848;
line-height: 1.2;
height: 50px;
width: 135px;
}
.t-check-in {
font-size: 14px;
height: 50px;
}
.t-dates {
padding: 10px 15px;
height: 46px;
box-sizing: border-box;
}
</style>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
<script src="https://cpwebassets.codepen.io/assets/common/stopExecutionOnTimeout-2c7831bb44f98c1391d6a4ffda0e1fd302503391ca806e7fcc7b9b87197aec26.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<style>
/* Popup container */
.popup {
position: relative;
display: inline-block;
cursor: pointer;
}
/* The actual popup (appears on top) */
.popup .popuptext {
visibility: hidden;
width: 160px;
background-color: #fff;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 8px 0;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -80px;
}
/* Popup arrow */
.popup .popuptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #fff transparent transparent transparent;
}
/* Toggle this class when clicking on the popup container (hide and show the popup) */
.popup .show {
visibility: visible;
-webkit-animation: fadeIn 1s;
animation: fadeIn 1s
}
/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
}
@keyframes fadeIn {
from {opacity: 0;}
to {opacity:1 ;}
}
body {
background: #fff;
color: #fff;
font-family: sans-serif;
margin: 0;
text-align: center;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.twitter-share {
background: #fff;
color: #00acee;
cursor: pointer;
display: inline-block;
-webkit-border-radius: 6px;
border-radius: 6px;
}
.twitter-share:hover {
position: relative;
top: -1px;
}
.facebook-share {
background: #fff;
color: #3b5998;
cursor: pointer;
display: inline-block;
-webkit-border-radius: 6px;
border-radius: 6px;
}
.facebook-share:hover {
position: relative;
top: -1px;
}
.linkedin-share {
background: #fff;
color: #0e76a8;
cursor: pointer;
display: inline-block;
-webkit-border-radius: 6px;
border-radius: 6px;
}
.linkedin-share:hover {
position: relative;
top: -1px;
}
</style>
{% endblock %}
{% block title %}Hello IndexController!{% endblock %}
{% block nav %}
<header class="header-nav menu_style_home_one navbar-scrolltofixed stricky main-menu">
{% endblock %}
{% block logo %}
{{ include('include/logo.html.twig') }}
{% endblock %}
{% block body %}
{% set type = 1 %}
{% if type == 1 %}
{{ include('index/form1.html.twig') }}
{% endif %}
{% if type == 2 %}
{{ include('index/form2.html.twig') }}
{% endif %}
{% set type = 1 %}
{% if type == 1 %}
{{ include('index/properties1.html.twig') }}
{% endif %}
{% if type == 2 %}
{{ include('index/properties2.html.twig') }}
{% endif %}
{% set type = 1 %}
{% if type == 1 %}
{% if fra == 1 %}
{{ include('index/localite1.html.twig') }}
{% endif %}
{% endif %}
{% if type == 2 %}
{{ include('index/localite2.html.twig') }}
{% endif %}
<!-- Why Chose Us -->
<section id="why-chose" class="whychose_us bgc-f7 pb30">
<div class="container">
<div class="row">
<div class="col-lg-6 offset-lg-3">
<div class="main-title text-center">
<h2>Why Choose Us</h2>
<p>We provide full service at every step.</p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 col-lg-4 col-xl-4">
<div class="why_chose_us">
<div class="icon">
<span class="flaticon-high-five"></span>
</div>
<div class="details">
<h4>Trusted By Thousands</h4>
<p>Aliquam dictum elit vitae mauris facilisis at dictum urna dignissim donec vel lectus vel felis.</p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4 col-xl-4">
<div class="why_chose_us">
<div class="icon">
<span class="flaticon-home-1"></span>
</div>
<div class="details">
<h4>Wide Renge Of Properties</h4>
<p>Aliquam dictum elit vitae mauris facilisis at dictum urna dignissim donec vel lectus vel felis.</p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4 col-xl-4">
<div class="why_chose_us">
<div class="icon">
<span class="flaticon-profit"></span>
</div>
<div class="details">
<h4>Financing Made Easy</h4>
<p>Aliquam dictum elit vitae mauris facilisis at dictum urna dignissim donec vel lectus vel felis.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Our Testimonials -->
<section id="our-testimonials" class="our-testimonial">
<div class="container">
<div class="row">
<div class="col-lg-6 offset-lg-3">
<div class="main-title text-center">
<h2 class="color-white">Testimonials</h2>
<p class="color-white">Here could be a nice sub title</p>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 offset-lg-3">
<div class="testimonial_grid_slider">
{% for i in 0..8 %}
<div class="item">
<div class="testimonial_grid">
<div class="thumb">
<img src="images/testimonial/1.jpg" alt="1.jpg">
</div>
<div class="details">
<h4>Augusta Silva</h4>
<p>Sales Manager</p>
<p class="mt25">Aliquam dictum elit vitae mauris facilisis at dictum urna dignissim donec vel lectus vel felis.</p>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</section>
<!-- Our Blog -->
<section class="our-blog bgc-f7 pb30">
<div class="container">
<div class="row">
<div class="col-lg-6 offset-lg-3">
<div class="main-title text-center">
<h2>Articles & Tips</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
</div>
</div>
<div class="row">
{% for i in 0..2 %}
<div class="col-md-6 col-lg-4 col-xl-4">
<div class="for_blog feat_property">
<div class="thumb">
<img class="img-whp" src="images/blog/bh1.jpg" alt="bh1.jpg">
</div>
<div class="details">
<div class="tc_content">
<p class="text-thm">Business</p>
<h4>Skills That You Can Learn In The Real Estate Market</h4>
</div>
<div class="fp_footer">
<ul class="fp_meta float-left mb0">
<li class="list-inline-item"><a href="#"><img src="images/property/pposter1.png" alt="pposter1.png"></a></li>
<li class="list-inline-item"><a href="#">Ali Tufan</a></li>
</ul>
<a class="fp_pdate float-right" href="#">7 August 2019</a>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</section>
<!-- Our Partners -->
<section id="our-partners" class="our-partners">
<div class="container">
<div class="row">
<div class="col-lg-6 offset-lg-3">
<div class="main-title text-center">
<h2>Our Partners</h2>
<p>We only work with the best companies around the globe</p>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-4 col-lg">
<div class="our_partner">
<img class="img-fluid" src="images/partners/1.png" alt="1.png">
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg">
<div class="our_partner">
<img class="img-fluid" src="images/partners/2.png" alt="2.png">
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg">
<div class="our_partner">
<img class="img-fluid" src="images/partners/3.png" alt="3.png">
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg">
<div class="our_partner">
<img class="img-fluid" src="images/partners/4.png" alt="4.png">
</div>
</div>
<div class="col-sm-6 col-md-4 col-lg">
<div class="our_partner">
<img class="img-fluid" src="images/partners/5.png" alt="5.png">
</div>
</div>
</div>
</div>
</section>
<!-- Start Partners -->
<section class="start-partners bgc-thm pt50 pb50">
<div class="container">
<div class="row">
<div class="col-lg-8">
<div class="start_partner tac-smd">
<h2>Become a Real Estate Agent</h2>
<p>We only work with the best companies around the globe</p>
</div>
</div>
<div class="col-lg-4">
<div class="parner_reg_btn text-right tac-smd">
<a class="btn btn-thm2" href="#">Register Now</a>
</div>
</div>
</div>
</div>
</section>
{% block javascripts %}
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<!-- Script -->
{{ include('recherche/js.html.twig') }}
<script type='text/javascript' >
$(document).ready(function() {
const $valueSpan = $('.valueSpan');
const $value = $('#slider11');
$valueSpan.html($value.val());
$value.on('input change', () => {
$valueSpan.html($value.val());
});
});
$(document).ready(function() {
const $valueSpan = $('.valueSpan1');
const $value = $('#slider12');
$valueSpan.html($value.val());
$value.on('input change', () => {
$valueSpan.html($value.val());
});
});
$(document).ready(function() {
const $valueSpan = $('.valueSpan2');
const $value = $('#slider13');
$valueSpan.html($value.val());
$value.on('input change', () => {
$valueSpan.html($value.val());
});
});
</script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>
function onClickBtnLike(event) {
event.preventDefault();
const url = this.href;
const spanCount = this.querySelector('span.js-likes');
const icone = this.querySelector('i');
axios.get(url).then(function (response) {
spanCount.textContent = response.data.likes;
if (response.status === 200){
if (icone.classList.contains('fas')) {
icone.classList.replace('fas','far');
}
else {
icone.classList.replace('far', 'fas');
}
}
}).catch(function (error) {
});
}
document.querySelectorAll('a.js-like').forEach(function (link){
link.addEventListener('click', onClickBtnLike)
})
</script>
{% endblock %}
{% block jsindex %}
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKT"
crossorigin="anonymous"></script>
{% endblock %}
{% endblock %}