harshnarayan12's picture
Update Pages/About.py
eee4d06 verified
import streamlit as st
st.set_page_config(
page_title="About US",
page_icon="πŸŽƒ",
layout="wide",
initial_sidebar_state="expanded",
)
page_bg_img_link = f"""
<style>
[data-testid="stAppViewContainer"]> .main{{
# background-image: url(https://www.orfonline.org/wp-content/uploads/2022/10/mental-health-wellness-during-covid-19.jpg);
# background-size:cover;
# background-position: left;
# background-repeat:no-repeat;
# background-attachment:local;
background-color: #FFDEE9;
background-image: linear-gradient(0deg, #FFDEE9 0%, #B5FFFC 100%);
}}
[data-testid="stHeader"]{{
background-color: rgba(0,0,0,0)
}}
[data-testid="stToolbar"]{{
right : 2 rem;
}}
[data-testid="stSidebar"] > div:first-child{{
background: linear-gradient(to right bottom,
rgba(255,225,225,0.7),
rgba(255,225,225,0.3));
}}
[data-testid="stMarkdownContainer"] {{
display: flex;
justify-content: center;
align-items: center;
}}
[data-testid="stMarkdownContainer"] > p > a > img {{
height : 30px;
}}
</style>
"""
st.markdown(page_bg_img_link, unsafe_allow_html=True)
with st.sidebar:
# st.markdown(
# '<div style=" font-family: Mali, cursive;text-align: center; font-size:30px; color:#ff725e; margin :10px">Mental Health</div>',
# unsafe_allow_html=True,
# )
st.image(
"Mental health-pana.png",
width=320,
)
def about_page():
title = st.markdown(
'<div style=" font-family: Mali, cursive;text-align: center; font-size:3.5rem; color: rgb(69, 90, 100); margin-bottom :20px">About Us</div>',
unsafe_allow_html=True,
)
st.markdown(
'<div style=" font-family: Mali, cursive; font-size:20px; color:black;">We are the students of M.Sc Data Science . We developed this web application by sharing each others knowledge and working together as a team.</div>',
unsafe_allow_html=True,
)
st.markdown("""---""")
with st.container():
col = st.columns([1, 1, 1])
# HARSH #
with col[0]:
st.image("Developer activity-pana.png")
st.markdown(
'<div style=" font-family: Mali, cursive;text-align: center; font-size:24px; color:black;">Harsh Narayan</div>',
unsafe_allow_html=True,
)
# st.markdown(
# '<div style=" font-family: Mali, cursive;text-align: center; font-size:16px; color:black;">Masters in Data Science</div>',
# unsafe_allow_html=True,
# )
st.markdown(
"[![My Skills](https://skillicons.dev/icons?i=linkedin)](https://www.linkedin.com/in/harsh-narayan-377907264/)"
)
# SHAMEEK #
with col[2]:
st.image("Standup meeting-pana.png")
st.markdown(
'<div style=" font-family: Mali, cursive;text-align: center; font-size:24px; color:black;">Shameek Bhowmick</div>',
unsafe_allow_html=True,
)
# st.markdown(
# '<div style=" font-family: Mali, cursive;text-align: center; font-size:16px; color:black;">Masters in Data Science</div>',
# unsafe_allow_html=True,
# )
st.markdown(
"[![My Skills](https://skillicons.dev/icons?i=linkedin)](https://www.linkedin.com/in/shameek-bhowmick-3481131a8/)"
)
# SAKSHI #
with col[1]:
st.image("Report-pana.png")
st.markdown(
'<div style=" font-family: Mali, cursive;text-align: center; font-size:24px; color:black;">Sakshi Panhalkar</div>',
unsafe_allow_html=True,
)
# st.markdown(
# '<div style=" font-family: Mali, cursive;text-align: center; font-size:16px; color:black;">Masters in Data Science</div>',
# unsafe_allow_html=True,
# )
st.markdown(
"[![My Skills](https://skillicons.dev/icons?i=linkedin)](https://www.linkedin.com/in/sakshi-panhalkar-7188061b4/)"
)
if __name__ == "__main__":
about_page()