Files
reflex-ipad/reflex_ipad/pages/dashboard.py
2024-01-04 09:02:44 +01:00

22 lines
503 B
Python

"""The dashboard page."""
from reflex_ipad.templates import template
import reflex as rx
@template(route="/dashboard", title="Dashboard")
def dashboard() -> rx.Component:
"""The dashboard page.
Returns:
The UI for the dashboard page.
"""
return rx.vstack(
rx.heading("Dashboard", font_size="3em"),
rx.text("Welcome to Reflex!"),
rx.text(
"You can edit this page in ",
rx.code("{your_app}/pages/dashboard.py"),
),
)