Merge branch 'feature/add-favicon' into 'main'

add favicon

See merge request ezgg/ezgg-website!3
This commit is contained in:
David Rodenkirchen 2024-05-28 04:27:54 +00:00
commit c65ab312ad
2 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,7 @@ themes = [
async def on_session_start(s: rio.Session) -> None:
print(from_root("ezgg_website/assets/icons/favicon.png"))
await s.set_title("EZ GG e.V.")
# Create the Rio app
@ -154,6 +155,7 @@ app = rio.App(
)
],
theme=themes[6],
icon=from_root("ezgg_website/assets/icons/favicon.png"),
assets_dir=Path(__file__).parent / "assets",
on_session_start=on_session_start
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB