add stat cards to index page, new pattern, misc

This commit is contained in:
2025-10-09 19:32:51 +02:00
parent d3a71827e1
commit 3b83bc89a0
8 changed files with 104 additions and 17 deletions

8
web/statcard.html Normal file
View File

@@ -0,0 +1,8 @@
{% macro statcard(number, description) %}
<div
class="min-w-64 flex-1 p-4 bg-neutral-100 border border-neutral-300 shadow rounded"
>
<h1 class="font-bold text-2xl">{{ number }}</h1>
<p class="text-neutral-500 whitespace-nowrap">{{ description }}</p>
</div>
{% endmacro %}