add: working chat ui

This commit is contained in:
trisua 2025-08-27 20:22:12 -04:00
parent f53eb3d367
commit b360c5e737
14 changed files with 319 additions and 53 deletions

View file

@ -1,4 +1,15 @@
(text "{%- import \"components.lisp\" as components -%}")
(text "{% for message in messages -%}")
(text "{{ components::message(message) }}")
(text "{{ components::message(message=message) }}")
(text "{%- endfor %}")
(div
("class" "hidden")
("id" "msgs_data_{{ id }}")
("data-first-message-time" "{{ first_message_time }}"))
(text "{% if messages|length == 0 -%}")
(div
("class" "hidden")
("id" "msgs_quit_{{ id }}"))
(text "{%- endif %}")