add publish date to news scroll

This commit is contained in:
death916 2025-12-11 02:29:16 -08:00
parent 4ea3436128
commit 16b3ce3c43

View file

@ -408,6 +408,8 @@ def index() -> rx.Component:
State.news,
rx.text(
State.news[State.current_news_index]["title"],
rx.spacer(),
State.news[State.current_news_index]["publish_date"],
font_size="lg",
color="gray.500",
no_of_lines=1,