{% extends 'base.html.twig' %}
{% block title %}Arvernus - Galery{% endblock %}
{% block body %}
<!-- Lightbox2 CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.3/css/lightbox.min.css" rel="stylesheet">
<style>
.gallery-img {
width: 100%; /* Ensure the image fits within its container */
height: 200px; /* Set a fixed height for all images */
object-fit: cover; /* Ensures the image covers the box without stretching */
}
</style>
<section class="page-title" style="background-image: url(images/background/breadcumb-bg.jpg);">
<div class="auto-container">
<div class="title-outer text-center">
<h1 class="title">Galerie</h1>
<ul class="page-breadcrumb">
<li><a href="{{ path('app_default') }}"><i class="fa-solid fa-home"></i>Galerie</a></li>
</ul>
</div>
</div>
</section>
<section class="blog-section gap-two">
<div class="auto-container">
<div class="sec-title text-center">
<h2 class="letters-slide-up text-split">Galerie</h2>
</div>
<div class="row">
{% for i in 1..32 %}
<div class="col-lg-4 col-md-6">
<!-- Blog Single Box -->
<article class="blog-single-box">
<div class="post-item">
<figure class="blog-thumb overlay-anim">
<!-- Add a link wrapping the image for the lightbox -->
<a href="{{ asset('images/galerie/' ~ i ~ '.jpg') }}" data-lightbox="gallery" data-title="Image {{ i }}">
<img class="gallery-img" src="{{ asset('images/galerie/' ~ i ~ '.jpg') }}" alt="Image {{ i }}">
</a>
</figure>
</div>
</article>
</div>
{% endfor %}
</div>
</div>
</section>
{% endblock %}