-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.py
57 lines (49 loc) · 1.79 KB
/
home.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import streamlit as st
import textwrap
from streamlit_extras.let_it_rain import rain
from streamlit_extras.badges import badge
from markdownlit import mdlit
def app():
st.markdown("""
<style>
@import url('https://fonts.googleapis.com/css2?family=Creepster&display=swap');
body {
font-family: 'Creepster', cursive;
}
</style>
""", unsafe_allow_html=True)
st.markdown("""
# 🎃 Welcome to the Halloween Hub!
This is a special application dedicated to Halloween lovers! Especially my beautiful wife!
""")
st.markdown("""
<div style="width:100%;height:0;padding-bottom:68%;position:relative;">
<iframe src="https://giphy.com/embed/xT9IgvEOwRzUcZDRiU" width="100%" height="100%" style="position:absolute" frameBorder="0" class="giphy-embed" allowFullScreen></iframe>
</div>
<p><a href="https://giphy.com/gifs/pennywise-it-movie-scary-clown-xT9IgvEOwRzUcZDRiU">via GIPHY</a></p>
""", unsafe_allow_html=True)
st.markdown("## You'll float too 🎈")
st.markdown("""
### Here's what you can do:
- Get Halloween movie suggestions based on your preferences.
- Generate a spooky Halloween-themed story.
- Find the best Halloween DIY/Recipes and Halloween History.
""")
# Raining Emojis
rain(
emoji="🎃👻💀🕷️🕸️🦇🧛♂️🧟♀️",
font_size=12,
falling_speed=5,
animation_length="infinite",
)
# Buy Me A Coffee Badge
badge(type="buymeacoffee", name="qepting")
# Collapsible content
mdlit(
textwrap.dedent(
"""
??? Bonus
@(💀)(A very spooooky surprise!)(https://www.youtube.com/watch?v=2mKN6PDZTmc)
"""
)
)