import streamlit as st def load_css(): with open("pages/style.css") as f: st.markdown(''.format(f.read()), unsafe_allow_html=True) st.markdown('', unsafe_allow_html=True) def st_button(icon, url, label, iconsize): if icon == 'email': button_code = f'''

{label}

''' elif icon == 'twitter': button_code = f'''

{label}

''' elif icon == 'linkedin': button_code = f'''

{label}

''' elif icon == 'mail': button_code = f'''

{label}

''' elif icon == 'medium': button_code = f'''

{label}

''' elif icon == 'github': button_code = f'''

{label}

''' elif icon == 'cup': button_code = f'''

{label}

''' elif icon == '': button_code = f'''

{label}

''' return st.markdown(button_code, unsafe_allow_html=True)