feat(nicegui): add favicon

This commit is contained in:
Stephan Lüscher 2024-05-24 09:18:38 +00:00
parent ed3f58ed93
commit 5b81eb5566
No known key found for this signature in database
GPG key ID: 445779060FF3D3CF
2 changed files with 7 additions and 1 deletions

View file

@ -5,6 +5,7 @@ import pages.registry
import theme
from nicegui import ui
from utils.helper import get_project_root
@ui.page("/")
@ -25,4 +26,9 @@ def registry_page() -> None:
pages.registry.content()
ui.run(title="uBlue Forge", port=3000)
project_root = get_project_root()
ui.run(
title="uBlue-OS Forge",
port=3000,
favicon=f"{project_root}/pages/assets/favicon.png",
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB