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,33 +16,31 @@ 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(
rx.avatar(src="https://reflex.dev/reflex_banner.png"), rx.avatar(src="https://reflex.dev/reflex_banner.png"),
rx.box( rx.box(
rx.heading("Quick Start 🚀"), rx.heading("Quick Start 🚀"),
rx.text("Get started with Reflex before your coffee ☕"), rx.text("Get started with Reflex before your coffee ☕"),
),
spacing="3",
), ),
href="https://reflex.dev/docs/getting-started/introduction/", spacing="3",
target="_blank",
underline="none"
), ),
as_child=True, href="https://reflex.dev/docs/getting-started/introduction/",
) target="_blank",
underline="none",
),
as_child=True,
), ),
spacing="5", spacing="5",
justify="center", justify="center",
align="center",
min_height="85vh", min_height="85vh",
), ),
rx.logo(), rx.logo(),