import streamlit as st from streamlit_option_menu import option_menu import os def Reminder(): embed = """ """ st.markdown(embed, unsafe_allow_html=True) def Reports(): st.title("Reports") def ChatBot(): botspace = """""" st.markdown(botspace, unsafe_allow_html=True) def Friday(): st.title("Friday") def Code4(): st.title("Code4") def Code5(): st.title("Code5") def Code6(): st.title("Code6") def dashboard(): st.title("Welcome to the Dashboard") with st.sidebar: selected = option_menu( None, ["Reminder", "ChatBot", "Friday", "Code4", "Code5", "Code6", "Logout"], icons=["plus", "eye", "sun", "book", "book", "book", "power-off"], ) if selected == "Reminder": Reminder() elif selected == "ChatBot": ChatBot() elif selected == "Friday": Friday() elif selected == "Code4": Code4() elif selected == "Code5": Code5() elif selected == "Code6": Code6() elif selected == "Logout": st.session_state["user"] = "Guest" st.experimental_rerun()