2015-01-28 00:55:56 +01:00
|
|
|
<div class="modular-row portfolio">
|
2020-12-13 01:32:27 +01:00
|
|
|
{{ content|raw }}
|
2015-01-28 00:55:56 +01:00
|
|
|
{% if page.header.portfolio %}
|
2015-01-29 12:31:15 +01:00
|
|
|
<div class="notebooks">
|
2022-05-14 19:43:00 +02:00
|
|
|
{% for row in page.header.portfolio|batch(3) %}
|
2015-01-29 12:31:15 +01:00
|
|
|
<div class="notebook-row">
|
|
|
|
{% for portfolio in row %}
|
|
|
|
<div class="notebook">
|
|
|
|
<div class="desc">
|
|
|
|
<h4>{{ portfolio.title }}</h4>
|
2022-05-14 19:43:00 +02:00
|
|
|
{% if portfolio.url is defined %}
|
|
|
|
<p><a href="{{ portfolio.url }}">{{ portfolio.url }}</a><br>
|
|
|
|
{% endif %}
|
|
|
|
{{ portfolio.desc|raw }}</p>
|
2015-01-29 12:31:15 +01:00
|
|
|
</div>
|
2022-05-14 19:43:00 +02:00
|
|
|
{% if portfolio.details_url is defined %}
|
|
|
|
<a href="{{ portfolio.details_url }}" class="portfolio-link"">
|
|
|
|
<div class='screen'><div class="screen-content" style="background-image: url({{ page.media[portfolio.image].url }})" ></div><div class="screen-content-hover"><i class="fa-solid fa-arrow-up-right-from-square"></i> Détails</div></div>
|
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
<div class='screen'><div class="screen-content" style="background-image: url({{ page.media[portfolio.image].url }})" ></div></div>
|
|
|
|
{% endif %}
|
2015-01-29 12:31:15 +01:00
|
|
|
<div class='keyboard'></div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2015-01-28 09:34:29 +01:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2015-01-28 00:55:56 +01:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
2015-01-28 17:42:54 +01:00
|
|
|
</div>
|
2015-01-28 00:55:56 +01:00
|
|
|
|