feat: Rewrite routes, pages and components to be more HATEOAS

This commit is contained in:
2024-08-23 18:45:43 +02:00
parent 6f1fd934d9
commit fe695f9dfb
13 changed files with 201 additions and 57 deletions

View File

@ -0,0 +1,19 @@
<!doctype html>
<html lang="fr" class="h-full">
<head>
<title>{% block title %}{{ title }}{% endblock %}</title>
<script src="/assets/js/htmx@2.0.1.min.js"></script>
<script src="/assets/js/alpinejs@3.14.1.min.js" defer></script>
<link href="/assets/css/style.css" rel="stylesheet">
<link href="/assets/css/flowbite@2.5.1.min.css" rel="stylesheet" />
<script src="/assets/js/flowbite@2.5.1.min.js"></script>
{% block headx %}{% endblock %}
</head>
<body class="h-full">
<div class="min-h-full">
{% block body %}{% endblock %}
</div>
</body>
</html>