Merge branch 'feature/add-favicon' into 'main'
add favicon See merge request ezgg/ezgg-website!3
This commit is contained in:
commit
c65ab312ad
@ -105,6 +105,7 @@ themes = [
|
|||||||
|
|
||||||
|
|
||||||
async def on_session_start(s: rio.Session) -> None:
|
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.")
|
await s.set_title("EZ GG e.V.")
|
||||||
|
|
||||||
# Create the Rio app
|
# Create the Rio app
|
||||||
@ -154,6 +155,7 @@ app = rio.App(
|
|||||||
)
|
)
|
||||||
],
|
],
|
||||||
theme=themes[6],
|
theme=themes[6],
|
||||||
|
icon=from_root("ezgg_website/assets/icons/favicon.png"),
|
||||||
assets_dir=Path(__file__).parent / "assets",
|
assets_dir=Path(__file__).parent / "assets",
|
||||||
on_session_start=on_session_start
|
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