File size: 1,201 Bytes
bdbfec0
a72f593
ceac890
a94f73c
370c93f
bc4d696
c689569
fadc8f0
631d5f3
13d6591
c689569
 
 
 
 
a94f73c
 
f49dec5
 
bc4d696
524960c
 
 
631d5f3
 
66ad7a2
bc4d696
fadc8f0
f49dec5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import streamlit as st
from organisations_engagees import display_organisations_engagees
from localisation import display_map
from statistiques import main as display_statistics
from ActionsRSE import display_actions_rse

# Main function orchestrating the app UI
def main():
    st.sidebar.title("Open Data RSE Bordeaux Métropole")
    app_mode = st.sidebar.radio("Choisissez votre onglet", ["Organisations engagées", "Localisations", "Statistiques", "Actions RSE"])

    if app_mode == "Organisations engagées":
        display_organisations_engagees()
    elif app_mode == "Localisations":
        display_map()
    elif app_mode == "Statistiques":
        display_statistics()
    elif app_mode == "Actions RSE":
        display_actions_rse()

  # Après toutes les autres instructions dans votre barre latérale :
    st.sidebar.markdown("---")  # Ajoute une ligne de séparation visuelle
    st.sidebar.markdown("Powered by **bziiit IA RSE**")
    st.sidebar.markdown("---")  # Ajoute une ligne de séparation visuelle
    st.sidebar.markdown("2024 : Open source en Licence MIT")
    st.sidebar.markdown("---")  # Ajoute une ligne de séparation visuelle

if __name__ == "__main__":
    main()