Rework default ui for upload
This commit is contained in:
parent
414278458f
commit
bab0aaae5a
@ -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)
|
@ -1,5 +0,0 @@
|
||||
import reflex as rx
|
||||
|
||||
config = rx.Config(
|
||||
app_name="pynecone",
|
||||
)
|
Loading…
Reference in New Issue
Block a user