diff --git a/src/app.py b/src/app.py index 6585e0a..9e150a9 100644 --- a/src/app.py +++ b/src/app.py @@ -177,7 +177,9 @@ navbar = dbc.Navbar( dbc.NavItem( dbc.NavLink( page["name"].replace(" ", " "), - href=page["relative_path"], + href=page["relative_path"] + "/presentation" + if page["name"] == "À propos" + else page["relative_path"], active="exact", ) ) diff --git a/src/pages/_apropos_shell.py b/src/pages/_apropos_shell.py index 6db5635..b2fa6d0 100644 --- a/src/pages/_apropos_shell.py +++ b/src/pages/_apropos_shell.py @@ -3,16 +3,16 @@ from dash import Input, Output, State, callback, html SECTIONS = [ {"key": "presentation", "label": "Présentation", "href": "/a-propos/presentation"}, + {"key": "explorer", "label": "Explorer le projet", "href": "/a-propos/explorer"}, + {"key": "sources", "label": "Sources de données", "href": "/a-propos/sources"}, + {"key": "qualite", "label": "Qualité des données", "href": "/a-propos/qualite"}, { "key": "donnees-brutes", "label": "Données brutes", "href": "/a-propos/donnees-brutes", }, - {"key": "contact", "label": "Contact", "href": "/a-propos/contact"}, {"key": "contribuer", "label": "Contribuer", "href": "/a-propos/contribuer"}, - {"key": "explorer", "label": "Explorer le projet", "href": "/a-propos/explorer"}, - {"key": "qualite", "label": "Qualité des données", "href": "/a-propos/qualite"}, - {"key": "sources", "label": "Sources de données", "href": "/a-propos/sources"}, + {"key": "contact", "label": "Contact", "href": "/a-propos/contact"}, { "key": "mentions-legales", "label": "Mentions légales", diff --git a/src/pages/marche.py b/src/pages/marche.py index 49b42be..928e3db 100644 --- a/src/pages/marche.py +++ b/src/pages/marche.py @@ -135,6 +135,7 @@ def update_marche_info(marche, titulaires): "considerationsEnvironnementales", ] and col in marche + and marche[col] and "," in marche[col] ): col_values = marche[col].split(", ")