Olivier Navas
17bb11854e
- Addition of prerequisites files for scss modifications - Update of Fontawesome font - Update of NovecentoSans font for latin characters - Integration of Pacifico font in the theme instead of dynamically downloading from some google web site - Removal of some unuseful font files
31 lines
1.6 KiB
Twig
31 lines
1.6 KiB
Twig
<div class="modular-row portfolio">
|
|
{{ content|raw }}
|
|
{% if page.header.portfolio %}
|
|
<div class="notebooks">
|
|
{% for row in page.header.portfolio|batch(3) %}
|
|
<div class="notebook-row">
|
|
{% for portfolio in row %}
|
|
<div class="notebook">
|
|
<div class="desc">
|
|
<h4>{{ portfolio.title }}</h4>
|
|
{% if portfolio.url is defined %}
|
|
<p><a href="{{ portfolio.url }}">{{ portfolio.url }}</a><br>
|
|
{% endif %}
|
|
{{ portfolio.desc|raw }}</p>
|
|
</div>
|
|
{% 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 %}
|
|
<div class='keyboard'></div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
|