{% extends "base.html" %}

{% block title %}Geekbrain.io - Projets{% endblock %}

{% block content %}
<h1>Mes Projets</h1>

{% if repos %}
<div class="grid">
    {% for repo in repos %}
    <div class="card">
        <h4>{{ repo.name }}</h4>
        <p>{{ repo.description or "Pas de description" }}</p>
    </div>
    {% endfor %}
</div>
{% else %}
<p style="text-align: center; padding: 40px; font-size: 1.2em;">
    Projets temporairement indisponibles.
</p>
{% endif %}
{% endblock %}
