File size: 711 Bytes
1b200e2
0cb707e
057e688
9f4ef8f
334ac43
 
057e688
 
 
9835c7c
2ddb945
2d0df46
 
 
057e688
 
ea86a3d
057e688
 
 
 
8070b98
057e688
b549aab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import streamlit as st

   # --- SHARED ON ALL PAGES ---
st.logo(image="images/menu_book_60dp_75FBFD.png")
st.sidebar.title("SBS V2.0 Mapper")
st.sidebar.text("Project by JA-RAD")

# --- PAGE SETUP ---
type_text_page = st.Page(
    page="pages/type_text.py",
    title="DEMO (work in progress)",
    icon=":material/keyboard:",
    default=False,)

about_page = st.Page(
    page="pages/about.py",
    title="About",
    icon=":material/info:",
    default=False)

# --- NAVIGATION SETUP ---
pg = st.navigation(pages=[type_text_page, about_page]) # WITHOUT SECTIONS
#pg = st.navigation({"Chapter_Index": [start_page], "Demo": [type_text_page, upload_file_page], "About": [about_page]}) # WITH SECTIONS
pg.run()