mirror of
https://github.com/ublue-os/forge.git
synced 2025-04-18 20:43:43 +03:00
feat(nicegui): add favicon
This commit is contained in:
parent
ed3f58ed93
commit
5b81eb5566
|
@ -5,6 +5,7 @@ import pages.registry
|
||||||
import theme
|
import theme
|
||||||
|
|
||||||
from nicegui import ui
|
from nicegui import ui
|
||||||
|
from utils.helper import get_project_root
|
||||||
|
|
||||||
|
|
||||||
@ui.page("/")
|
@ui.page("/")
|
||||||
|
@ -25,4 +26,9 @@ def registry_page() -> None:
|
||||||
pages.registry.content()
|
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",
|
||||||
|
)
|
||||||
|
|
BIN
anvil/nicegui/pages/assets/favicon.png
Normal file
BIN
anvil/nicegui/pages/assets/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in a new issue