Spaces:
Configuration error
Configuration error
| import streamlit as st | |
| from utils.allergens import * | |
| from PIL import Image | |
| # Inject custom CSS for background colors | |
| st.markdown( | |
| """ | |
| <style> | |
| /* Background color for the main content */ | |
| .main .block-container { | |
| background-color: #35bafc; | |
| } | |
| /* Background color for the sidebar */ | |
| .css-1d391kg, .css-18e3th9 { /* Streamlit sidebar selectors */ | |
| background-color: #35bafc; | |
| } | |
| /* Adjust text color if needed for readability */ | |
| .css-1d391kg .css-145kmo2 { | |
| color: #ffffff; /* Adjust text color for sidebar if needed */ | |
| } | |
| </style> | |
| """, | |
| unsafe_allow_html=True | |
| ) | |
| logo = Image.open("utils/epic_logo.jpeg") | |
| st.image(logo, width=250) | |
| # Title for the app | |
| st.title("Tantalos") | |
| st.write("Welcome to Tantalos. Please navigate using the menu on the left.") | |