add: achievements progress bar

This commit is contained in:
trisua 2025-06-27 13:36:10 -04:00
parent 5dd9fa01cb
commit 8d70f65863
4 changed files with 18 additions and 5 deletions

View file

@ -12,9 +12,12 @@
(icon (text "coffee"))
(span (text "Welcome to {{ config.name }}!")))
(div
("class" "card no_p_margin")
("class" "card no_p_margin flex flex-col gap-2")
(p (text "To help you move in, you'll be rewarded with small achievements for completing simple tasks on {{ config.name }}!"))
(p (text "You'll find out what each achievement is when you get it, so look around!"))))
(p (text "You'll find out what each achievement is when you get it, so look around!"))
(hr)
(span (b (text "Your progress: ")) (text "{{ percentage|round(method=\"floor\", precision=2) }}%"))
(div ("class" "poll_bar") ("style" "width: {{ percentage }}%"))))
(div
("class" "card-nest")