2023-11-17 14:22:28 +01:00
|
|
|
"""The dashboard page."""
|
|
|
|
from blurme.templates import template
|
|
|
|
|
|
|
|
import reflex as rx
|
|
|
|
|
|
|
|
|
2023-11-22 15:54:26 +01:00
|
|
|
@template(route="/dashboard", title="Kontakt", image = "/contact-icon.png")
|
2023-11-17 14:22:28 +01:00
|
|
|
def dashboard() -> rx.Component:
|
|
|
|
"""The dashboard page.
|
|
|
|
|
|
|
|
Returns:
|
|
|
|
The UI for the dashboard page.
|
|
|
|
"""
|
2023-11-17 20:25:22 +01:00
|
|
|
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"),
|
|
|
|
),
|
|
|
|
)
|