Rework default ui for upload

This commit is contained in:
Alek Petuskey 2024-10-09 16:00:46 -07:00
parent 414278458f
commit bab0aaae5a
3 changed files with 0 additions and 44 deletions

View File

View File

@ -1,39 +0,0 @@
"""Welcome to Reflex! This file outlines the steps to create a basic app."""
import reflex as rx
from rxconfig import config
class State(rx.State):
"""The app state."""
...
def index() -> rx.Component:
# Welcome Page (Index)
return rx.container(
rx.color_mode.button(position="top-right"),
rx.vstack(
rx.heading("Welcome to Reflex!", size="9"),
rx.text(
"Get started by editing ",
rx.code(f"{config.app_name}/{config.app_name}.py"),
size="5",
),
rx.link(
rx.button("Check out our docs!"),
href="https://reflex.dev/docs/getting-started/introduction/",
is_external=True,
),
spacing="5",
justify="center",
min_height="85vh",
),
rx.logo(),
)
app = rx.App()
app.add_page(index)

View File

@ -1,5 +0,0 @@
import reflex as rx
config = rx.Config(
app_name="pynecone",
)