improved blank template

This commit is contained in:
Adarsh Gourab Mahalik 2024-12-27 05:10:54 +00:00
parent ea6d9e603a
commit 6f961617af

View File

@ -16,13 +16,13 @@ def index() -> rx.Component:
return rx.container( return rx.container(
rx.color_mode.button(position="top-right"), rx.color_mode.button(position="top-right"),
rx.vstack( rx.vstack(
rx.heading("Welcome to Reflex 🦕", size="9"), rx.heading("Welcome to Reflex ✨", size="9"),
rx.text("Need help? 🤔 Check out the documentation."),
rx.text( rx.text(
"You can edit this page by modifying the code in the file below. Happy coding 🎉", "You can edit this page by modifying the code in the file below.",
), ),
rx.text("Need help? 🤔 Check out the documentation."),
rx.code(f"{config.app_name}/{config.app_name}.py"), rx.code(f"{config.app_name}/{config.app_name}.py"),
rx.flex( rx.text("Happy coding! 🎉"),
rx.card( rx.card(
rx.link( rx.link(
rx.flex( rx.flex(
@ -35,14 +35,12 @@ def index() -> rx.Component:
), ),
href="https://reflex.dev/docs/getting-started/introduction/", href="https://reflex.dev/docs/getting-started/introduction/",
target="_blank", target="_blank",
underline="none" underline="none",
), ),
as_child=True, as_child=True,
)
), ),
spacing="5", spacing="5",
justify="center", justify="center",
align="center",
min_height="85vh", min_height="85vh",
), ),
rx.logo(), rx.logo(),