add: forum posts ui

This commit is contained in:
trisua 2025-08-03 23:24:57 -04:00
parent ef029c59b3
commit 2be87c397d
90 changed files with 1459 additions and 1299 deletions

View file

@ -4,7 +4,7 @@
(text "{% endblock %} {% block body %} {{ macros::nav() }}")
(main
("class" "flex flex-col gap-2")
("class" "flex flex_col gap_2")
(text "{% if post.replying_to -%}")
(a
("href" "/post/{{ post.replying_to }}")
@ -56,14 +56,14 @@
(text "{{ text \"communities:action.configure\" }}"))))
(text "{%- endif %}")
(div
("class" "card-nest w-full")
("class" "card_nest w_full")
(div
("class" "card small flex items-center gap-2")
("class" "card small flex items_center gap_2")
(text "{{ icon \"heart\" }}")
(span
(text "{{ text \"communities:label.likes\" }}")))
(div
("class" "card flex flex-wrap gap-4 flex-collapse")
("class" "card flex flex_wrap gap_4 flex_collapse")
(text "{% for tu in list %} {% set reaction = tu[0] %} {% set user = tu[1] %}")
(div
("style" "display: contents")