thursday / home.py
Ankush05's picture
newcode
8494cf3
raw
history blame
519 Bytes
import streamlit as st
from streamlit_option_menu import option_menu
def dashboard():
st.title("Welcome to the Dashboard")
selected = option_menu(None, ["Create Reminder", "View Reminders", "Logout"], icons=["plus", "eye", "power-off"])
if selected == "Create Reminder":
st.subheader("Create Reminder")
elif selected == "View Reminders":
st.subheader("View Reminders")
elif selected == "Logout":
st.session_state["user"] = "Guest"
st.experimental_rerun()