{% extends 'base.html.twig' %}
{% block title %}Hello IndexController!{% endblock %}
{% block nav %}
<header class="header-nav menu_style_home_one style2 navbar-scrolltofixed stricky main-menu">
{% endblock %}
{% block stylesheets %}
<style>
.gallery_item{
margin-bottom: 30px;
position: relative;
}
.gallery_item .gallery_overlay{
background-color: rgba(255, 90, 95, .8);
border-radius: 5px;
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
width: 100%;
-webkit-transform: scale(0);
-moz-transform: scale(0);
-o-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
-webkit-transition: all 0.3s ease 0s;
-moz-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
.gallery_item:hover .gallery_overlay{
-webkit-transform: scale(1.0);
-moz-transform: scale(1.0);
-o-transform: scale(1.0);
-ms-transform: scale(1.0);
transform: scale(1.0);
}
.gallery_item .gallery_overlay .icon{
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 35%;
text-align: center;
}
.gallery_item .gallery_overlay .icon span{
color: #ffffff;
font-size: 50px;
}
.inner_page_breadcrumb {
background-image: url({{ asset('https://{{image.domaine}}/uploads/' ~ image) | imagine_filter('gallerieindex') }});
background-repeat: no-repeat;
height: 410px;
position: relative;
}
</style>
{% endblock %}
{% block logo %}
{{ include('include/logopage.html.twig') }}
{% endblock %}
{% block body %}
<!-- Inner Page Breadcrumb -->
<section class="inner_page_breadcrumb">
<div class="container">
<div class="row">
<div class="col-xl-6">
<div class="breadcrumb_content">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Gallery</li>
</ol>
<h1 class="breadcrumb_title"> {{ titre }} </h1>
</div>
</div>
</div>
</div>
</section>
<!-- About Text Content -->
<section class="about-section pb30">
<div class="container">
<div class="row">
{% for image in images %}
<div class="col-sm-6 col-md-6 col-lg-4">
<div class="gallery_item">
<img class="img-fluid img-circle-rounded w100" src="https://{{image.domaine}}/uploads/{{ image.image }}" alt="fp1.jpg">
<div class="gallery_overlay"><a class="icon popup-img" href="https://{{image.domaine}}/uploads/{{ image.image }}"><span class="flaticon-zoom-in"></span></a></div>
</div>
</div>
{% endfor %}
</div>
</div>
</section>
{% endblock %}