Adds menu for extended navigation

This commit is contained in:
procrastimax 2023-06-21 19:00:59 +02:00
parent 0cba0d886c
commit cfb7d57a81

15
app.py
View file

@ -27,6 +27,21 @@ def nav_controls() -> List[NavSetArg]:
app_ui = ui.page_navbar( app_ui = ui.page_navbar(
*nav_controls(), *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", selected="intro",
fluid=False, fluid=False,
title=ui.div(ui.img(src="favicon.ico", width="75dpi", height="75dpi"), title=ui.div(ui.img(src="favicon.ico", width="75dpi", height="75dpi"),