itachi1234 commited on
Commit
d16bc1c
1 Parent(s): 00d6b48

Upload home.py

Browse files
Files changed (1) hide show
  1. home.py +30 -0
home.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from streamlit_option_menu import option_menu
3
+
4
+
5
+ def homepage():
6
+ st.title("Home")
7
+ # st.header("Home Page")
8
+ st.subheader("Welcome to the Home Page")
9
+
10
+ def dashboard():
11
+ # st.title("Dashboard")
12
+ # st.header("Dashboard")
13
+
14
+ with st.sidebar:
15
+ selected = option_menu("Menu", ["Home", "Dashboard","Chat","Logout"], icons=['house', 'activity'], menu_icon="cast", default_index=0)
16
+ if selected == "Home":
17
+ homepage()
18
+
19
+ elif selected == "Dashboard":
20
+ dashboard()
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+