Spaces:
Runtime error
Runtime error
File size: 1,005 Bytes
5c7be38 |
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 |
import streamlit as st
from PIL import Image
from utils.streamlit_utils import *
button_style = """<style>
.stApp {
background-color: black;
}
.stButton > button {
color: white;
background: black;
border-color: black;
width: 200px;
}
.stButton > button:hover {
color: red;
border-color: black;
}
.stButton > button:focus {
border-color: black;
background: black;
}
.stButton > button:focus:not(:active) {
background: black;
border-color: black;
}
</style>
"""
st.markdown(f"<h1 style='text-align: center; color: white; font-family: arial;'>Tech Poets Society</h1>", unsafe_allow_html=True)
st.markdown(button_style, unsafe_allow_html=True)
comedy_of_errors = Image.open('images/comedy.jpg')
st.image(comedy_of_errors)
c1,c2,c3,c4,c5, c6 = st.columns(6)
if c3.button("The Comedy of Errors"):
nav_page("comedy_of_errors")
image = Image.open('images/father.jpg')
st.image(image)
d1, d2, d3, d4, d5, d6 = st.columns(6)
if d3.button("Father's Day"):
nav_page("fathers_day") |