in experiments/veo-app/pages/home.py [0:0]
def home_page_content(app_state: me.state): # pylint: disable=unused-argument
"""Home Page"""
with me.box(
style=me.Style(
display="flex",
flex_direction="column",
height="100%",
),
):
with me.box(
style=me.Style(
background=me.theme_var("background"),
height="100%",
overflow_y="scroll",
margin=me.Margin(bottom=20),
)
):
with me.box(
style=me.Style(
background=me.theme_var("background"),
padding=me.Padding(top=24, left=24, right=24, bottom=24),
display="flex",
flex_direction="column",
)
):
header("Welcome", "home")
me.text(
"Welcome to the Veo module, a component of Vertex AI GenMedia Creative Studio"
)
me.box(style=me.Style(height=16))
with me.box(
style=me.Style(
align_items="center",
display="flex",
flex_direction="row",
align_content="center",
justify_content="center",
gap=15,
),
):
media_tile("Veo 2", "movie", "/veo")
media_tile("Motion Portraits", "portrait", "/motion_portraits")
media_tile("Library", "perm_media", "/library")
media_tile("Settings", "settings", "/config")