[TASK] add footer and make app mobile compatible

This commit is contained in:
Marie Birner 2023-04-06 11:00:44 +02:00
parent 9c42f99f11
commit 5f82b8a786
2 changed files with 16 additions and 0 deletions

View File

@ -3,6 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="de">
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="manifest" href="public/manifest.json" /> <link rel="manifest" href="public/manifest.json" />
<link rel="stylesheet" href="/public/main.css" /> <link rel="stylesheet" href="/public/main.css" />
</head> </head>
@ -14,6 +15,11 @@
<div class="flex min-h-screen items-center justify-center px-4 py-12 sm:px-6 lg:px-8"> <div class="flex min-h-screen items-center justify-center px-4 py-12 sm:px-6 lg:px-8">
{% block content %}{% endblock content %} {% block content %}{% endblock content %}
</div> </div>
{%if loggedin_user %}
{% include "includes/footer" %}
{%endif%}
<script src="/public/main.js"></script> <script src="/public/main.js"></script>
</body> </body>
</html> </html>

View File

@ -0,0 +1,10 @@
<footer class="bg-primary-950 text-white w-full flex justify-center p-3">
<div class="max-w-screen-lg w-full flex justify-between">
<div>
Marie Birner <span class="text-[#ff0000]">&hearts;</span> Philipp Hofer
</div>
<div>
&copy; {{ now() | date(format="%Y") }}
</div>
</div>
</footer>