-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProject2.py
64 lines (53 loc) · 1.81 KB
/
Project2.py
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
import streamlit as st
def about_me():
st.header("About Me")
st.image("profile.jpg", width=150)
st.write("""
Hello! I'm **Mourish Antony.C**, a **Student**. I have a passion for **Coding**.
I love to work on projects that involve **Fullstrack Development**.
Feel free to connect with me!
""")
def projects():
st.header("Projects")
project_data = [
{"title": "Guessing Game","description": "User Guessing And Machine Guesiing", "link": "https://github.com/mourishantony/Project/blob/master/Project1.py"},
]
for project in project_data:
with st.expander(project["title"], expanded=False):
st.write(project["description"])
st.markdown(f"[View Project]({project['link']})")
def skills():
st.header("Skills")
skills_data = {
"Python": 90,
"Data Analysis": 80,
"Machine Learning": 70,
"Web Development": 75,
"Streamlit": 85
}
for skill, percentage in skills_data.items():
st.write(f"{skill}: {percentage}%")
st.progress(percentage / 100)
def contact():
st.header("Contact Me")
st.write("""
You can reach me via:
- Email: [email protected]
- LinkedIn: https://www.linkedin.com/in/mourish-a-6b51b0301/
- GitHub: https://github.com/mourishantony
""")
def main():
st.set_page_config(page_title="My Portfolio", layout="wide", initial_sidebar_state="expanded")
st.title("Welcome to My Portfolio")
menu = ["About Me", "Projects", "Skills", "Contact"]
choice = st.sidebar.selectbox("Select a section", menu)
if choice == "About Me":
about_me()
elif choice == "Projects":
projects()
elif choice == "Skills":
skills()
elif choice == "Contact":
contact()
if __name__ == '__main__':
main()