|
import streamlit as st |
|
|
|
|
|
st.logo(image="images/menu_book_60dp_75FBFD.png") |
|
st.sidebar.title("SBS V2.0 Mapper") |
|
st.sidebar.text("Project by JA-RAD") |
|
|
|
|
|
start_page = st.Page( |
|
page="pages/chapter_index.py", |
|
title="Chapters for selection", |
|
icon=":material/home:", |
|
default=True,) |
|
|
|
type_text_page = st.Page( |
|
page="pages/type_text_v10.py", |
|
title="DEMO for text entry", |
|
icon=":material/keyboard:", |
|
default=False,) |
|
|
|
chapter_and_type_text_page = st.Page( |
|
page="pages/demo_type_text.py", |
|
title="DEMO for text entry", |
|
icon=":material/keyboard:", |
|
default=False,) |
|
|
|
upload_file_page = st.Page( |
|
page="pages/upload_file.py", |
|
title="DEMO for file upload (work in progress)", |
|
icon=":material/file_upload:", |
|
default=False,) |
|
|
|
about_page = st.Page( |
|
page="pages/about.py", |
|
title="About", |
|
icon=":material/info:", |
|
default=False) |
|
|
|
|
|
pg = st.navigation(pages=[type_text_page, upload_file_page, about_page]) |
|
|
|
pg.run() |