Spaces:
Running
Running
Update public/index.html
Browse files- public/index.html +43 -35
public/index.html
CHANGED
|
@@ -35,60 +35,61 @@
|
|
| 35 |
|
| 36 |
a { text-decoration: none; transition: 0.2s; }
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
/* --- NAVBAR --- */
|
| 39 |
-
.navbar {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
.nav-logo { color: white; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 22px; display: flex; align-items: center; gap: 12px; }
|
| 41 |
.nav-logo img { height: 40px; }
|
| 42 |
.nav-text { display: flex; flex-direction: column; line-height: 1.1; }
|
| 43 |
.nav-text span:first-child { font-size: 14px; color: var(--text-yellow); }
|
|
|
|
|
|
|
|
|
|
| 44 |
.btn-submit { background: var(--grad-blue); color: white !important; padding: 10px 24px; border-radius: 30px; font-weight: 600; font-size: 14px; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); }
|
|
|
|
| 45 |
|
| 46 |
/* --- HERO --- */
|
| 47 |
.hero {
|
| 48 |
-
max-width: 1000px;
|
| 49 |
-
margin: 60px auto 100px;
|
| 50 |
-
padding: 0 40px;
|
| 51 |
-
position: relative;
|
| 52 |
-
text-align: center;
|
| 53 |
-
}
|
| 54 |
-
.hero-content {
|
| 55 |
-
z-index: 2;
|
| 56 |
display: flex;
|
| 57 |
-
flex-direction: column;
|
| 58 |
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
}
|
|
|
|
| 60 |
.conf-badge { background: white; color: black; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 8px; margin-bottom: 30px; font-weight: 700; font-size: 14px; }
|
| 61 |
.conf-badge i { color: #cc0000; font-size: 18px; }
|
| 62 |
.hero h1 { font-family: 'Rubik', sans-serif; font-size: 64px; font-weight: 800; margin: 0; line-height: 1.1; }
|
| 63 |
.hero h2 { font-family: 'Rubik', sans-serif; font-size: 32px; color: var(--text-yellow); margin: 15px 0 30px; font-weight: 700; }
|
| 64 |
-
.hero p { color: #cbd5e1; font-size: 18px; line-height: 1.6; max-width:
|
| 65 |
-
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap;
|
| 66 |
.action-btn { display: flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 30px; color: white; font-weight: 600; font-size: 15px; transition: transform 0.2s; }
|
| 67 |
.action-btn:hover { transform: translateY(-3px); color: white; }
|
| 68 |
-
.bg-red { background: var(--grad-red); } .bg-purple { background: var(--grad-purple); }
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
.wave-
|
| 72 |
-
position: absolute; top: -50px; left: -50%; width: 200%; height: 100%;
|
| 73 |
-
background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 70%);
|
| 74 |
-
z-index: 0; pointer-events: none;
|
| 75 |
-
}
|
| 76 |
-
|
| 77 |
-
.audio-wave {
|
| 78 |
-
height: 150px;
|
| 79 |
-
display: flex;
|
| 80 |
-
align-items: center;
|
| 81 |
-
justify-content: center;
|
| 82 |
-
gap: 6px;
|
| 83 |
-
margin-top: 60px; /* Space above wave */
|
| 84 |
-
mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
|
| 85 |
-
}
|
| 86 |
.bar { width: 6px; background: #ffffff; border-radius: 99px; animation: bounce 1.2s ease-in-out infinite; }
|
| 87 |
.bar:nth-child(odd) { animation-duration: 1.5s; } .bar:nth-child(2n) { animation-duration: 1.1s; }
|
| 88 |
@keyframes bounce { 0%, 100% { height: 20px; } 50% { height: 120px; } }
|
| 89 |
|
| 90 |
-
/* ---
|
| 91 |
-
|
| 92 |
|
| 93 |
/* --- MAIN BOARD --- */
|
| 94 |
.main-card { background: white; border-radius: 24px; padding: 40px; color: #0f172a; min-height: 600px; position: relative; z-index: 10; margin-bottom: 60px; }
|
|
@@ -102,6 +103,7 @@
|
|
| 102 |
|
| 103 |
.controls { background: #f8fafc; padding: 20px; border-radius: 12px; display: flex; gap: 20px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
|
| 104 |
select { padding: 10px; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 14px; min-width: 250px; cursor:pointer; }
|
|
|
|
| 105 |
.rank-info { font-size: 13px; color: #64748b; margin-top: 5px; font-style: italic; }
|
| 106 |
.score-desc { font-size: 14px; color: #475569; background: #fff7ed; border-left: 4px solid #f97316; padding: 10px 15px; margin-bottom: 20px; border-radius: 4px; }
|
| 107 |
|
|
@@ -132,17 +134,20 @@
|
|
| 132 |
</head>
|
| 133 |
<body>
|
| 134 |
|
| 135 |
-
<nav class="navbar layout-
|
| 136 |
<a href="https://africa.dlnlp.ai/simba" class="nav-logo">
|
| 137 |
<img src="https://africa.dlnlp.ai/simba/images/simba_main_logo.png" alt="Logo">
|
| 138 |
<div class="nav-text"><span>Voice of a</span> Continent</div>
|
| 139 |
</a>
|
| 140 |
<div class="nav-links">
|
|
|
|
|
|
|
|
|
|
| 141 |
<a href="https://africa.dlnlp.ai/simba/" target="_blank" class="btn-submit">Submit New Results</a>
|
| 142 |
</div>
|
| 143 |
</nav>
|
| 144 |
|
| 145 |
-
<div class="hero">
|
| 146 |
<div class="wave-bg"></div>
|
| 147 |
<div class="hero-content">
|
| 148 |
<div class="conf-badge"><i class="fa-solid fa-location-dot"></i> EMNLP 2025 路 Suzhou, China</div>
|
|
@@ -152,16 +157,19 @@
|
|
| 152 |
<div class="hero-actions">
|
| 153 |
<a href="https://aclanthology.org/2025.emnlp-main.559" target="_blank" class="action-btn bg-red"><i class="fa-regular fa-file-pdf"></i> Read Paper</a>
|
| 154 |
<a href="https://africa.dlnlp.ai/simba" target="_blank" class="action-btn bg-purple"><i class="fa-solid fa-code-branch"></i> Official Website</a>
|
|
|
|
|
|
|
| 155 |
</div>
|
| 156 |
</div>
|
| 157 |
<div class="hero-visual">
|
| 158 |
<div class="audio-wave">
|
| 159 |
<div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div>
|
| 160 |
</div>
|
|
|
|
| 161 |
</div>
|
| 162 |
</div>
|
| 163 |
|
| 164 |
-
<div class="content-container">
|
| 165 |
<div class="main-card" id="board">
|
| 166 |
<div id="loader" style="text-align:center; padding:60px; color:#64748b;">
|
| 167 |
<i class="fa-solid fa-circle-notch fa-spin fa-3x"></i><br><br>Loading Leaderboard Data...
|
|
|
|
| 35 |
|
| 36 |
a { text-decoration: none; transition: 0.2s; }
|
| 37 |
|
| 38 |
+
/* --- GLOBAL LAYOUT ALIGNMENT --- */
|
| 39 |
+
/* This ensures Navbar, Hero, and Card are exactly the same width */
|
| 40 |
+
.layout-grid {
|
| 41 |
+
width: 80%;
|
| 42 |
+
max-width: 1600px;
|
| 43 |
+
margin: 0 auto;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
/* --- NAVBAR --- */
|
| 47 |
+
.navbar {
|
| 48 |
+
padding: 20px 0;
|
| 49 |
+
display: flex;
|
| 50 |
+
justify-content: space-between;
|
| 51 |
+
align-items: center;
|
| 52 |
+
position: relative;
|
| 53 |
+
z-index: 100;
|
| 54 |
+
}
|
| 55 |
.nav-logo { color: white; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 22px; display: flex; align-items: center; gap: 12px; }
|
| 56 |
.nav-logo img { height: 40px; }
|
| 57 |
.nav-text { display: flex; flex-direction: column; line-height: 1.1; }
|
| 58 |
.nav-text span:first-child { font-size: 14px; color: var(--text-yellow); }
|
| 59 |
+
.nav-links { display: flex; gap: 25px; align-items: center; }
|
| 60 |
+
.nav-link { color: #e2e8f0; font-size: 15px; font-weight: 500; }
|
| 61 |
+
.nav-link:hover { color: var(--text-yellow); }
|
| 62 |
.btn-submit { background: var(--grad-blue); color: white !important; padding: 10px 24px; border-radius: 30px; font-weight: 600; font-size: 14px; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); }
|
| 63 |
+
.btn-login { background: var(--text-yellow); color: var(--bg-deep) !important; padding: 10px 24px; border-radius: 30px; font-weight: 700; font-size: 14px; box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4); }
|
| 64 |
|
| 65 |
/* --- HERO --- */
|
| 66 |
.hero {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
display: flex;
|
|
|
|
| 68 |
align-items: center;
|
| 69 |
+
margin-top: 60px;
|
| 70 |
+
margin-bottom: 100px;
|
| 71 |
+
position: relative;
|
| 72 |
+
padding: 0; /* Remove padding to respect layout-grid width */
|
| 73 |
}
|
| 74 |
+
.hero-content { flex: 1; z-index: 2; }
|
| 75 |
.conf-badge { background: white; color: black; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 8px; margin-bottom: 30px; font-weight: 700; font-size: 14px; }
|
| 76 |
.conf-badge i { color: #cc0000; font-size: 18px; }
|
| 77 |
.hero h1 { font-family: 'Rubik', sans-serif; font-size: 64px; font-weight: 800; margin: 0; line-height: 1.1; }
|
| 78 |
.hero h2 { font-family: 'Rubik', sans-serif; font-size: 32px; color: var(--text-yellow); margin: 15px 0 30px; font-weight: 700; }
|
| 79 |
+
.hero p { color: #cbd5e1; font-size: 18px; line-height: 1.6; max-width: 650px; margin-bottom: 50px; }
|
| 80 |
+
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
|
| 81 |
.action-btn { display: flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 30px; color: white; font-weight: 600; font-size: 15px; transition: transform 0.2s; }
|
| 82 |
.action-btn:hover { transform: translateY(-3px); color: white; }
|
| 83 |
+
.bg-red { background: var(--grad-red); } .bg-purple { background: var(--grad-purple); } .bg-orange { background: var(--grad-orange); } .bg-blue { background: var(--grad-blue); } .bg-green { background: var(--grad-green); }
|
| 84 |
+
.hero-visual { flex: 1; display: flex; justify-content: flex-end; position: relative; height: 400px; align-items: center; }
|
| 85 |
+
.hero-visual img { max-width: 100%; height: auto; z-index: 2; position: relative; }
|
| 86 |
+
.audio-wave { position: absolute; bottom: 50px; left: 0; right: 0; height: 150px; display: flex; align-items: center; justify-content: center; gap: 6px; z-index: 0; opacity: 0.3; mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
.bar { width: 6px; background: #ffffff; border-radius: 99px; animation: bounce 1.2s ease-in-out infinite; }
|
| 88 |
.bar:nth-child(odd) { animation-duration: 1.5s; } .bar:nth-child(2n) { animation-duration: 1.1s; }
|
| 89 |
@keyframes bounce { 0%, 100% { height: 20px; } 50% { height: 120px; } }
|
| 90 |
|
| 91 |
+
/* --- CONTENT --- */
|
| 92 |
+
/* Uses layout-grid class */
|
| 93 |
|
| 94 |
/* --- MAIN BOARD --- */
|
| 95 |
.main-card { background: white; border-radius: 24px; padding: 40px; color: #0f172a; min-height: 600px; position: relative; z-index: 10; margin-bottom: 60px; }
|
|
|
|
| 103 |
|
| 104 |
.controls { background: #f8fafc; padding: 20px; border-radius: 12px; display: flex; gap: 20px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
|
| 105 |
select { padding: 10px; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 14px; min-width: 250px; cursor:pointer; }
|
| 106 |
+
|
| 107 |
.rank-info { font-size: 13px; color: #64748b; margin-top: 5px; font-style: italic; }
|
| 108 |
.score-desc { font-size: 14px; color: #475569; background: #fff7ed; border-left: 4px solid #f97316; padding: 10px 15px; margin-bottom: 20px; border-radius: 4px; }
|
| 109 |
|
|
|
|
| 134 |
</head>
|
| 135 |
<body>
|
| 136 |
|
| 137 |
+
<nav class="navbar layout-grid">
|
| 138 |
<a href="https://africa.dlnlp.ai/simba" class="nav-logo">
|
| 139 |
<img src="https://africa.dlnlp.ai/simba/images/simba_main_logo.png" alt="Logo">
|
| 140 |
<div class="nav-text"><span>Voice of a</span> Continent</div>
|
| 141 |
</a>
|
| 142 |
<div class="nav-links">
|
| 143 |
+
<a href="https://aclanthology.org/2025.emnlp-main.559" target="_blank" class="nav-link">Paper</a>
|
| 144 |
+
<a href="https://huggingface.co/datasets/UBC-NLP/simba/#datasets" target="_blank" class="nav-link">Dataset</a>
|
| 145 |
+
<a href="https://africa.dlnlp.ai/simba/#models" target="_blank" class="nav-link">Models</a>
|
| 146 |
<a href="https://africa.dlnlp.ai/simba/" target="_blank" class="btn-submit">Submit New Results</a>
|
| 147 |
</div>
|
| 148 |
</nav>
|
| 149 |
|
| 150 |
+
<div class="hero layout-grid">
|
| 151 |
<div class="wave-bg"></div>
|
| 152 |
<div class="hero-content">
|
| 153 |
<div class="conf-badge"><i class="fa-solid fa-location-dot"></i> EMNLP 2025 路 Suzhou, China</div>
|
|
|
|
| 157 |
<div class="hero-actions">
|
| 158 |
<a href="https://aclanthology.org/2025.emnlp-main.559" target="_blank" class="action-btn bg-red"><i class="fa-regular fa-file-pdf"></i> Read Paper</a>
|
| 159 |
<a href="https://africa.dlnlp.ai/simba" target="_blank" class="action-btn bg-purple"><i class="fa-solid fa-code-branch"></i> Official Website</a>
|
| 160 |
+
<a href="https://africa.dlnlp.ai/simba/#dataset" target="_blank" class="action-btn bg-orange"><i class="fa-solid fa-database"></i> Dataset</a>
|
| 161 |
+
<a href="https://africa.dlnlp.ai/simba/#models" target="_blank" class="action-btn bg-blue"><i class="fa-solid fa-bolt"></i> Simba Models</a>
|
| 162 |
</div>
|
| 163 |
</div>
|
| 164 |
<div class="hero-visual">
|
| 165 |
<div class="audio-wave">
|
| 166 |
<div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div>
|
| 167 |
</div>
|
| 168 |
+
<img src="https://africa.dlnlp.ai/simba/images/simbabench_header.png" alt="Map">
|
| 169 |
</div>
|
| 170 |
</div>
|
| 171 |
|
| 172 |
+
<div class="content-container layout-grid">
|
| 173 |
<div class="main-card" id="board">
|
| 174 |
<div id="loader" style="text-align:center; padding:60px; color:#64748b;">
|
| 175 |
<i class="fa-solid fa-circle-notch fa-spin fa-3x"></i><br><br>Loading Leaderboard Data...
|