From cfb7d57a81d10043e96382399ed6edcfbfe1c80c Mon Sep 17 00:00:00 2001 From: procrastimax Date: Wed, 21 Jun 2023 19:00:59 +0200 Subject: [PATCH] Adds menu for extended navigation --- app.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app.py b/app.py index e4b4d6e..d421535 100644 --- a/app.py +++ b/app.py @@ -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"),