mirror of
https://github.com/Death916/deathclock.git
synced 2026-04-10 03:04:40 -07:00
add publish date to news scroll
This commit is contained in:
parent
4ea3436128
commit
16b3ce3c43
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue