<!DOCTYPE html>
<html lang="fr">
<head>
<title>Etude de cas - Equinoxes - Agence de communication à Reims & Soissons</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<script src="https://use.fontawesome.com/57fd2a2e70.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
{% block stylesheets %}
<link href="{{ asset('assets/css/normalize.css') }}" rel="stylesheet"/>
<link href="{{ asset('assets/css/style.css') }}" rel="stylesheet"/>
<link href="{{ asset('assets/css/lightbox.min.css') }}" rel="stylesheet"/>
{% endblock %}
{% block javascripts %}
<script src="{{ asset('assets/js/isotope.pkdg.min.js') }}"></script>
{% endblock %}
</head>
<body
id="digital">
{# SIDEBAR #}
<header>
<div class="entry-logo">
{# <a href="https://devreferences.equinoxes.fr/"><img src="/assets/img/logo.png"></a> #}
<a href="{{ path('home') }}"><img src="/assets/img/logo.png"></a>
</div>
{# <div class="entry-filters">
<button class="open">Filtrer par
<i class="fa fa-chevron-right"></i>
</a>
</div> #}
{# FILTRES #}
{# <div class="filter">
<div class="button-group filter-button-group">
<button data-filter="" class="filtre active">TOUT</button>
{% for categorie in categories %}
<button data-filter=".{{ categorie.alias }}" class="filtre">{{ categorie.nom }}</button>
{% endfor %}
</div> #}
<!-- /button-group -->
</div>
<div class="entry-copyright">
<small>© 2021 - Equinoxes</small>
</div>
</header>
<main>
<section id="wrap-main">
<div class="grid web">
<div class="grid-sizer">
{% for realisation in realisations %}
{% set studycaseCategories = "" %}
{% set studycaseCategoriesNom = "" %}
{% for categorie in realisation.categories %}
{% if loop.last %}
{% set studycaseCategories = studycaseCategories ~ categorie.alias %}
{% set studycaseCategoriesNom = studycaseCategoriesNom ~ categorie.nom %}
{% else %}
{% set studycaseCategories = studycaseCategories ~ categorie.alias ~ " " %}
{% set studycaseCategoriesNom = studycaseCategoriesNom ~ categorie.nom ~ ", "%}
{% endif %}
{% endfor %}
<a href= "{{ asset('/assets/img/'~realisation.pdf) }}" class="grid-item {{ studycaseCategories }}" target="_blank" title="Site internet de {{ realisation.titre }}">
<div class="item-container">
<div class="overlay">
<h2>{{ studycaseCategoriesNom }}</h2>
<h4>{{ realisation.titre }}</h4>
</div>
<div class="thumbnail">
<div>
{# <img src="{{ realisation.thumbnail }}" alt="{{ realisation.titre }}"> #}
<img src="{{ asset('/assets/img/'~realisation.thumbnail) }}" alt="{{ realisation.titre }}">
</div>
</div>
</div>
</a>
{% endfor %}
</div>
</div>
</section>
</main>
</body>
{% block script %}
<script type="text/javascript">
$('.open').click(function () {
$('body').addClass('filtre-open');
$('.filter').css('visibility', 'visible');
$('.filter').css('opacity', '1');
});
$('.filter').click(function () {
$('body').removeClass('filtre-open');
$(this).css('visibility', 'hidden');
$(this).css('opacity', '0');
});
$('.filter .filtre').click(function () {
$('.filter .filtre').removeClass('active');
$(this).addClass('active');
});
</script>
<script type="text/javascript" src="/assets/js/script.js" async></script>
{% endblock %}
</html>