File size: 1,577 Bytes
a5abee6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import streamlit as st
# from streamlit_modal import Modal
# from streamlit_extras.buy_me_a_coffee import button
st.html(
    '''

    <style>

    .stMainBlockContainer{

                background-color:#32322F;

        }

    .stMain{

        background-color:#2C2B28;

    }

    .stAppHeader{

        background-color:#29253E;

    }

    h1{

    color:Gray;

    }

    hr {

        border-color: green;

    }

    p,li{

        color:;

    }

    h3,h2{

        color:#D97757;

    }

    </style>

    '''
)

Home=st.Page(
    page="Pages/Welcome.py",
    title="Home",
    icon="🏠"
)
baymax=st.Page(
    page="Pages/Baymax.py",
    title="Baymax A.I.",
    icon="πŸ€–"
)
Symptom_Checker=st.Page(
    page="Pages/Symptom Checker.py",
    title="Symptom checker",
    icon="⁉️"
)
History=st.Page(
    page="Pages/History.py",
    title="History",
    icon="πŸ•’"
)
About=st.Page(
    page="Pages/About.py",
    title="About",
    icon="🧠"
)
Socials=st.Page(
    page="Pages/Socials.py",
    title="Socials",
    icon="🌐"
)
# modal = Modal(key="my_modal", title="Care for a Sip!!β˜•")

# # Button to trigger the modal
# if st.sidebar.button("Buy me a coffee",icon="β˜•",):
#     modal.open()

# # Modal content
# if modal.is_open():
#     with modal.container():
#         st.image("https://iili.io/20Mw9lj.jpg",width=450)
st.sidebar.link_button("Buy me a coffee","https://buymeacoffee.com/sandesh13fr",icon="β˜•",)
pages=st.navigation([Home,baymax,Symptom_Checker,History,About,Socials])
pages.run()