[TASK] add header

This commit is contained in:
Marie Birner
2023-04-06 09:30:43 +02:00
parent 37e54c13d5
commit d04dde15da
5 changed files with 137 additions and 130 deletions

View File

@ -1,3 +1,5 @@
{% import "includes/macros" as macros %}
<!DOCTYPE html>
<html lang="de">
<head>
@ -5,10 +7,13 @@
<link rel="stylesheet" href="/public/main.css">
</head>
<body class="bg-gray-100">
{%if loggedin_user %}
{{ macros::header(loggedin_user=loggedin_user) }}
{%endif%}
<div class="flex min-h-screen items-center justify-center px-4 py-12 sm:px-6 lg:px-8">
{% block content %}
{% endblock content %}
</div>
{% block content %}{% endblock content %}
</div>
</body>
</html>