|
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]) |
|
|
|
|
|
|
|
|