import streamlit as st # Create a solution using an iframe approach for truly sticky behavior st.set_page_config(layout="wide") # --- SHARED ON ALL PAGES --- #st.logo(image="images/menu_book_60dp_75FBFD.png") st.sidebar.title("SBS V2.0 mapper") st.sidebar.subheader("(work in progress)") st.sidebar.text("Demo by JA-RAD") # --- PAGE SETUP --- type_text_page = st.Page( page="pages/type_text.py", title="SBS V2.0 mapper", icon=":material/keyboard:", default=True,) # --- NAVIGATION SETUP --- pg = st.navigation(pages=[type_text_page]) # WITHOUT SECTIONS #pg = st.navigation({"Chapter_Index": [start_page], "Demo": [type_text_page, upload_file_page], "About": [about_page]}) # WITH SECTIONS pg.run()