Spaces:
Paused
Paused
Replace title and logo with centered transparent logo
Browse files- Remove 'Par-ity Project' title text completely
- Remove separate logo in top right corner
- Add single centered transparent.png logo at the top
- Use 3-column layout [1, 2, 1] for perfect centering
- Logo uses full column width for optimal sizing
- Fallback to title text if logo fails to load
- app/streamlit_app.py +7 -7
- app/transparent.png +0 -0
app/streamlit_app.py
CHANGED
|
@@ -635,20 +635,20 @@ def main():
|
|
| 635 |
</style>
|
| 636 |
""", unsafe_allow_html=True)
|
| 637 |
|
| 638 |
-
#
|
| 639 |
-
col1, col2, col3 = st.columns([1,
|
| 640 |
|
| 641 |
with col1:
|
| 642 |
st.write("") # Empty space
|
| 643 |
|
| 644 |
with col2:
|
| 645 |
-
st.markdown('<div class="main-header"><h1>⛳ Par-ity Project</h1></div>', unsafe_allow_html=True)
|
| 646 |
-
|
| 647 |
-
with col3:
|
| 648 |
try:
|
| 649 |
-
st.image("app/
|
| 650 |
except:
|
| 651 |
-
st.markdown("
|
|
|
|
|
|
|
|
|
|
| 652 |
|
| 653 |
# Initialize session state for step-based flow
|
| 654 |
if 'current_step' not in st.session_state:
|
|
|
|
| 635 |
</style>
|
| 636 |
""", unsafe_allow_html=True)
|
| 637 |
|
| 638 |
+
# Centered logo at the top
|
| 639 |
+
col1, col2, col3 = st.columns([1, 2, 1])
|
| 640 |
|
| 641 |
with col1:
|
| 642 |
st.write("") # Empty space
|
| 643 |
|
| 644 |
with col2:
|
|
|
|
|
|
|
|
|
|
| 645 |
try:
|
| 646 |
+
st.image("app/transparent.png", use_column_width=True)
|
| 647 |
except:
|
| 648 |
+
st.markdown('<div class="main-header"><h1>⛳ Par-ity Project</h1></div>', unsafe_allow_html=True)
|
| 649 |
+
|
| 650 |
+
with col3:
|
| 651 |
+
st.write("") # Empty space
|
| 652 |
|
| 653 |
# Initialize session state for step-based flow
|
| 654 |
if 'current_step' not in st.session_state:
|
app/transparent.png
ADDED
|