import streamlit as st import base64 #st.set_page_config(page_title="Homepage") st.set_page_config(page_title="Homepage", page_icon="J187DFS.JPG", layout="wide") file_ = open("logo.png", "rb") contents = file_.read() data_url = base64.b64encode(contents).decode("utf-8") css=f"""
Company Logo

Welcome to MO3ALIMI!

""" st.markdown(css, unsafe_allow_html=True) def add_logo(): st.markdown( """ """, unsafe_allow_html=True, ) add_logo() #st.sidebar.title("MO3ALIMI sidebar") #st.sidebar.markdown("---") st.warning('Please select a subject to start learning', icon="⚠️") st.markdown("---")