portfolio / pages /2_πŸ“š_Experience.py
drroad's picture
Upload 17 files
8d7f042 verified
raw
history blame contribute delete
823 Bytes
import streamlit as st
import streamlit.components.v1 as components
from constant import *
st.set_page_config(page_title="Experience", page_icon="πŸ“š", layout="wide")
st.header("πŸ“š Experience",divider='rainbow')
st.write("")
def experience_unit(title, position, date, location, content,button_name,button_link):
col1, col2, col3 = st.columns([3, 1, 1])
with col1:
st.subheader(title)
with col3:
st.write("")
st.markdown("###### " + date)
col1, col2, col3 = st.columns([3, 1, 1])
with col1:
st.markdown("###### " + position)
with col3:
st.markdown("###### " + location)
st.write(content)
st.link_button(button_name, button_link)
st.divider()
for exp in Experience:
experience_unit(exp[0],exp[1],exp[2],exp[3],exp[4],exp[5],exp[6])