test1 / Home.py
dvaz's picture
Update Home.py
8960c1e
raw
history blame
1.39 kB
import requests
import streamlit as st
import streamlit.components.v1 as components
from streamlit_lottie import st_lottie
st.set_page_config('Home',":shark:","wide",menu_items={'About': "This is an *extremely* cool app!"})
x=requests.get('https://assets3.lottiefiles.com/packages/lf20_jtbfg2nb.json')
r=x.json()
with st.container():
st.subheader('Hi, I am Daniel :wave:')
st.title('A Data Analyst From Denmark')
st.write('This is a homepage to run and test different python scripts!')
with st.container():
st.write('---')
lc , rc =st.columns(2)
with lc:
st.header('What i do')
st.write('##')
st.write('''
- 1111111111111111111
- 2222222222222222222
- 3333333333333333333
''')
with rc:
st_lottie(r,height=300)
with st.container():
st.write('---')
st.title('Contact me')
components.html("""
<form action="https://formsubmit.co/vazirij@yahoo.com" method="POST">
<input type="hidden" name="_captcha" value="false">
<input type="text" name="name" required placeholder="Your name">
<input type="email" name="email" required placeholder="Your email">
<textarea name="message" placeholder="Your message here" required></textarea>
<button type="submit">Send</button>
</form>
""")