add projects view and template

This commit is contained in:
2024-11-10 04:47:40 +01:00
parent 5eb0246863
commit a3de4dcb43
21 changed files with 350 additions and 65 deletions

View File

@@ -1,6 +1,10 @@
{% import "website/macros/project_item.html" as project_item %}
{% extends "website/base.html" %} {% block content %}
<span class="m-8"></span>
<div class="flex flex-col w-full gap-4 m-4">
<h1 class="text-5xl font-bold text-center">My projects</h1>
{% for project in projects %}
{{ project_item::project_item(project=project) }}
{% endfor %}
</div>
{% endblock content %}