{% if shortcuts is not empty %}
<section class="hook_shortcuts">
{% for key, shortcut in shortcuts %}
<div class="hook_shortcuts_shortcut">
<span class="key">0{{ key+1 }}</span>
<a href="{{ shortcut.link }}">
<h2 {% if shortcut.color is not null %}style="color:{{ shortcut.color }};"{% endif %}>{{ shortcut.name }}</h2>
{% if shortcut.color is not null %}
{% set color=shortcut.color %}
{% endif %}
{% include "templates/includes/svg/arrow.include.html.twig" %}
</a>
</div>
{% endfor %}
</section>
{% else %}
<div class="alert alert-warning">Aucun résultat n'a pu être récupéré</div>
{% endif %}