add favicon
This commit is contained in:
parent
68fa2b241f
commit
57006ccc0d
@ -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
|
||||
)
|
||||
|
||||
BIN
ezgg_website/assets/icons/favicon.png
Normal file
BIN
ezgg_website/assets/icons/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
Loading…
Reference in New Issue
Block a user