import streamlit as st # Set the page configuration st.set_page_config( page_title="IT-support assistant", layout="wide", ) # Apply CSS for custom background and layout st.markdown( f""" """, unsafe_allow_html=True ) # Sidebar buttons st.sidebar.markdown('
The internet is currently not working.
', unsafe_allow_html=True) # Function 3: Intranet status if st.sidebar.button('Intranet status'): st.sidebar.markdown('The intranet is currently working.
', unsafe_allow_html=True) # Function 4: Contact Human Support if st.sidebar.button('Contact Human Support'): st.sidebar.markdown('If you do not wish to use the bot feature and want to contact second level support directly, please either call them at 44 353 4434 or write them at secondlevelsupport@email.com
', unsafe_allow_html=True) # Function 5: Video Tutorials if st.sidebar.button('Video Tutorials'): st.session_state.page = "videos" # Function 6: Review IT-Support service if st.sidebar.button('Review IT-Support service'): st.session_state.page = "review" # Display the headline if 'page' not in st.session_state: st.markdown('Here you can find video tutorials to help you with common tasks.
', unsafe_allow_html=True) # Add video tutorial content here if st.button("Back to Home"): st.session_state.page = None elif 'page' in st.session_state and st.session_state.page == "review": st.markdown('Please provide your feedback below:
', unsafe_allow_html=True) # Star rating st.markdown( """ """, unsafe_allow_html=True ) # Feedback form feedback = st.text_area("Your comments") if st.button("Submit"): st.success("Thank you for your feedback, we will use it to improve our service.") if st.button("Back to Home"): st.session_state.page = None else: # Initialize chat session state if 'chat_history' not in st.session_state: st.session_state.chat_history = [] # Chat panel container st.markdown('