File size: 1,414 Bytes
d8f56b1
53dcb25
57dfc0c
9176e69
9f0fc30
 
 
057e688
a322261
 
b5287de
 
 
a322261
b5287de
50133ea
 
 
27961da
 
50133ea
 
b5287de
 
 
 
 
 
50133ea
b5287de
50133ea
 
a322261
b5287de
8187d27
b5287de
057e688
 
9835c7c
eae44be
2d0df46
be4f344
2d0df46
057e688
957d115
057e688
fe5cb7d
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
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.subheader("(work in progress)")
st.sidebar.text("Demo by JA-RAD")

import streamlit as st

st.markdown(
    """
    <style>
        div[data-testid="stAppViewContainer"] > div:first-child > div.stMarkdown {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 9999;
            background-color: rgba(255, 255, 255, 0.95); /* Optional background */
            padding: 10px 1rem; /* Optional padding */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow */
        }
    </style>
    """,
    unsafe_allow_html=True,
)

st.title("SBS Mapper") # Keep your title here

# Your Streamlit app content below this line
st.markdown("## Welcome to the SBS Mapper App!")
st.write("Let's see if targeting the stMarkdown container works...")
for i in range(50):
    st.write(f"More content: {i}")

# --- 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()