Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
from streamlit_option_menu import option_menu
|
| 3 |
+
|
| 4 |
+
selected = option_menu(
|
| 5 |
+
menu_title=None,
|
| 6 |
+
options = ['About me','Projects','Contacts'],
|
| 7 |
+
default_index=0,
|
| 8 |
+
orientation="horizontal"
|
| 9 |
+
)
|
| 10 |
+
|
| 11 |
+
if selected == 'About me':
|
| 12 |
+
st.write(selected)
|
| 13 |
+
elif selected == 'Projects':
|
| 14 |
+
st.write(selected)
|
| 15 |
+
else:
|
| 16 |
+
st.write(selected)
|