-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
49 lines (42 loc) · 1.19 KB
/
main.py
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import streamlit as st
from sections.user import usersPage
from sections.topic import topicPage
from sections.network import networkPage
from sections.home import mainPage
from streamlit_option_menu import option_menu
st.markdown(
"""
<style>
/* Estilizar a barra lateral */
[data-testid="stSidebar"] {
background-color: #131722 !important;
}
/* Estilizar os textos e ícones da barra lateral */
[data-testid="stSidebar"] * {
color: white !important;
}
/* Estilizar o fundo principal */
[data-testid="stAppViewContainer"] {
background-color: #0E1117 !important;
}
</style>
""",
unsafe_allow_html=True,
)
with st.sidebar:
option = option_menu(
menu_title = "",
options = ["Apresentação","Analisar Usuário","Analisar Tema", "Analisar Rede"],
icons = ["house","gear","activity","envelope"],
menu_icon = "cast",
default_index = 0,
# orientation = "horizontal",
)
if option == "Apresentação":
mainPage()
elif option == "Analisar Usuário":
usersPage()
# elif option == "Analisar Tema":
# topicPage()
# elif option == "Analisar Rede":
# networkPage()