from __future__ import annotations from pathlib import Path import rio from . import pages from . import components as comps theme = rio.Theme.from_colors( primary_color=rio.Color.from_hex("01dffdff"), secondary_color=rio.Color.from_hex("0083ffff"), light=False, ) async def on_session_start(s: rio.Session) -> None: await s.set_title("EZ GG e.V.") # Create the Rio app app = rio.App( name='ezgg-website', pages=[ rio.Page( name="Home", page_url='', build=pages.Home, ), ], theme=theme, assets_dir=Path(__file__).parent / "assets", on_session_start=on_session_start )