-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.py
More file actions
35 lines (29 loc) · 1.24 KB
/
footer.py
File metadata and controls
35 lines (29 loc) · 1.24 KB
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
"""
Betting Oracle Footer Component
Copy this file to your Streamlit app repository and import it to add consistent branding.
"""
FOOTER_HTML = """
<div style="text-align: center; padding: 20px 0; border-top: 1px solid #e0e0e0; margin-top: 40px;">
<p style="margin: 0 0 10px 0; font-size: 14px; color: #666; font-family: sans-serif;">
Powered by <a href="https://www.betting-oracle.com" target="_blank" style="color: #3b82f6; text-decoration: none; font-weight: bold;">Betting Oracle</a>
</p>
<p style="margin: 0 0 15px 0; font-size: 12px; color: #888; font-family: sans-serif;">
Sports Prediction Analytics
</p>
<a href="https://www.betting-oracle.com" target="_blank">
<img src="https://raw.githubusercontent.com/gmalbert/betting-oracle/main/data_files/logo.png"
alt="Betting Oracle Logo"
style="height: 60px; width: auto; border: none;">
</a>
</div>
"""
def add_betting_oracle_footer():
"""
Add the Betting Oracle footer to your Streamlit app.
Usage:
from footer import add_betting_oracle_footer
# At the end of your app
add_betting_oracle_footer()
"""
import streamlit as st
st.markdown(FOOTER_HTML, unsafe_allow_html=True)