add: base chat ui

This commit is contained in:
trisua 2025-08-26 21:27:11 -04:00
parent 747a05d649
commit f53eb3d367
10 changed files with 176 additions and 1031 deletions

View file

@ -40,3 +40,12 @@
(text "{%- endif %}")
(text "{%- endif %}")
(text "{%- endmacro %}")
(text "{% macro message(message) -%}")
(div
("class" "flex w_full gap_ch message {%- if user.id == message.owner %} justify_right mine {%- endif %}")
(div
("class" "inner no_p_margin")
(text "{{ message.content|markdown|safe }}"))
(text "{{ components::avatar(id=uid) }}"))
(text "{%- endmacro %}")