diff --git a/deathclock/deathclock.py b/deathclock/deathclock.py index dc7a4ad..e1da26d 100755 --- a/deathclock/deathclock.py +++ b/deathclock/deathclock.py @@ -424,8 +424,10 @@ def index() -> rx.Component: rx.theme_panel(default_open=False), rx.flex( rx.vstack( - State._radio_client.radio_card(), - clock_button, + rx.hstack( + State._radio_client.radio_card(), + clock_button, + ), main_flex, news_card, align="center", diff --git a/utils/radio.py b/utils/radio.py index 8ef537a..839a489 100644 --- a/utils/radio.py +++ b/utils/radio.py @@ -9,7 +9,17 @@ class Radio(rx.Base): return rx.button("Radio", on_click=self.open_radio_button) def radio_card(self): - return rx.card(title="Radio") + radio_card = rx.card( + rx.vstack( + rx.heading("Radio"), + rx.text("Current Station"), + # rx.text("Volume"), + # rx.button("Play"), + # rx.button("Pause"), + # rx.button("Stop"), + ), + ) + return radio_card class Radio_Control: