Adds menu for extended navigation

This commit is contained in:
procrastimax 2023-06-21 19:00:59 +02:00
parent 0cba0d886c
commit cfb7d57a81
1 changed files with 15 additions and 0 deletions

15
app.py
View File

@ -27,6 +27,21 @@ def nav_controls() -> List[NavSetArg]:
app_ui = ui.page_navbar(
*nav_controls(),
# create gap ----
ui.nav_spacer(),
# right hand side ----
ui.nav_menu(
"Mehr Infos",
ui.nav_control(
ui.a(
"No G20 Studie",
href="https://g20.protestinstitut.eu/",
target="_blank",
),
),
align="right",
),
selected="intro",
fluid=False,
title=ui.div(ui.img(src="favicon.ico", width="75dpi", height="75dpi"),