{% extends 'backfront.html.twig' %}
{% block title %}SIP ACADEMY {% endblock %}
{% block body %}
<style>
.gallery-area .row {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
@media (max-width: 767px) {
.gallery-area .single-gallery-img {
display: flex;
justify-content: center;
}
.gallery-area .single-gallery-img img {
width: 100%; /* Ensure it adapts to mobile screen size */
max-width: 365px; /* Maintain the maximum width */
height: auto;
}
}
</style>
<!--Gallery Area Start-->
<div class="gallery-area pt-100 pb-70">
<div class="container">
<div class="row">
<!--Single Gallery Image Start-->
{% for gallerie in galleries|sort|reverse %}
<div class="col-md-4 col-sm-6 d-flex justify-content-center">
<div class="single-gallery-img mb-30">
<a href="{{asset('uploads/gallery/'~ gallerie.image1 )}}" data-fancybox="images">
<img src="{{asset('uploads/gallery/'~ gallerie.image1 )}}" alt="" class="img-fluid" style="height: 300px; width: 365px;">
</a>
</div>
</div>
{% endfor %}
<!--Single Gallery Image End-->
<!--Single Gallery Image Start-->
</div>
</div>
</div>
<!--Gallery Area End-->
{% endblock %}