Spaces:
Running
Running
File size: 1,334 Bytes
ed2eb44 a10c4ff 3604386 ed2eb44 06d4ee9 |
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 |
"""
Header components for the leaderboard application.
"""
import streamlit as st
from src.utils.config import app_config
def render_page_header():
"""
Render the page header with title and description
"""
st.markdown(
f"""
<div class="title-container">
<h1 class="title">{app_config['title']}</h1>
<p class="subtitle">{app_config['description']}</p>
</div>
""",
unsafe_allow_html=True
)
# Add the links line separately, outside the header box
# st.markdown(
# f"""
# <div class="links-bar">
# <span class="info-item">📑 Paper</span> |
# <a href="https://github.com/yunx-z/MLRC-Bench" target="_blank" class="link-item">💻 GitHub</a> |
# <a href="https://huggingface.co/spaces/launch/MLRC_Bench" target="_blank" class="link-item">🤗 HuggingFace</a> |
# <span class="info-item">Updated: March 2025</span>
# </div>
# """,
# unsafe_allow_html=True
# )
def render_section_header(title):
"""
Render a section header
Args:
title (str): The section title
"""
st.markdown(f"### {title}")
def render_footer():
"""
Render the page footer
"""
# Footer content removed per user request
pass |