Files
ninemine/templates/home/home.html.twig

16 lines
548 B
Twig
Raw Normal View History

2025-07-06 16:29:23 +02:00
{% extends 'base.html.twig' %}
2025-07-07 17:30:12 +02:00
{%block body%}
<h2>Projets</h2>
<div class='d-flex' style='justify-content: center'>
{% for project in projects %}
<div class='card'>
2025-07-25 17:35:00 +02:00
<a href='{{ path('app_project_view',{id:project.id})}}' class='d-flex' style='flex-direction: column; text-align: center; margin: 20px 80px 20px 80px;'>
<img src='{{asset(project.logo)}}' style='width:100px; margin-bottom:20px;'>
2025-07-07 17:30:12 +02:00
<h5>{{project.title}}</h5>
</a>
2025-07-06 16:29:23 +02:00
</div>
{% endfor %}
2025-07-07 17:30:12 +02:00
</div>
2025-07-06 16:29:23 +02:00
2025-07-07 17:30:12 +02:00
{%endblock%}