elmadany commited on
Commit
7cf72e7
verified
1 Parent(s): 8f862a3

Update public/index.html

Browse files
Files changed (1) hide show
  1. public/index.html +35 -32
public/index.html CHANGED
@@ -35,61 +35,58 @@
35
 
36
  a { text-decoration: none; transition: 0.2s; }
37
 
 
 
 
38
  /* --- NAVBAR --- */
39
- .navbar { padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 100; }
 
 
 
 
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
  .nav-links { display: flex; gap: 25px; align-items: center; }
 
 
45
  .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); }
46
 
47
  /* --- HERO --- */
48
  .hero {
49
- max-width: 1000px;
50
- margin: 60px auto 100px;
51
- padding: 0 40px;
52
- position: relative;
53
- text-align: center;
54
- }
55
- .hero-content {
56
- z-index: 2;
57
- display: flex;
58
- flex-direction: column;
59
- align-items: center;
60
  }
 
61
  .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; }
62
  .conf-badge i { color: #cc0000; font-size: 18px; }
63
  .hero h1 { font-family: 'Rubik', sans-serif; font-size: 64px; font-weight: 800; margin: 0; line-height: 1.1; }
64
  .hero h2 { font-family: 'Rubik', sans-serif; font-size: 32px; color: var(--text-yellow); margin: 15px 0 30px; font-weight: 700; }
65
- .hero p { color: #cbd5e1; font-size: 18px; line-height: 1.6; max-width: 700px; margin-bottom: 50px; }
66
- .hero-actions { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
67
  .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; }
68
  .action-btn:hover { transform: translateY(-3px); color: white; }
69
- .bg-red { background: var(--grad-red); } .bg-purple { background: var(--grad-purple); }
70
-
71
- /* Wave Animation */
72
- .wave-bg {
73
- position: absolute; top: -50px; left: -50%; width: 200%; height: 100%;
74
- background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 70%);
75
- z-index: 0; pointer-events: none;
76
- }
77
 
78
- .hero-visual { display: flex; justify-content: center; width: 100%; margin-top: 40px; }
 
 
 
 
79
  .audio-wave {
80
- height: 150px;
81
- display: flex;
82
- align-items: center;
83
- justify-content: center;
84
- gap: 6px;
85
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
86
  }
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
- /* --- WIDTH CONTROLLER --- */
92
- .content-container { width: 80%; max-width: 1600px; margin: 0 auto; }
 
 
 
 
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,6 +100,7 @@
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
  .rank-info { font-size: 13px; color: #64748b; margin-top: 5px; font-style: italic; }
107
  .score-desc { font-size: 14px; color: #475569; background: #fff7ed; border-left: 4px solid #f97316; padding: 10px 15px; margin-bottom: 20px; border-radius: 4px; }
108
 
@@ -139,11 +137,14 @@
139
  <div class="nav-text"><span>Voice of a</span> Continent</div>
140
  </a>
141
  <div class="nav-links">
 
 
 
142
  <a href="https://africa.dlnlp.ai/simba/" target="_blank" class="btn-submit">Submit New Results</a>
143
  </div>
144
  </nav>
145
 
146
- <div class="hero">
147
  <div class="wave-bg"></div>
148
  <div class="hero-content">
149
  <div class="conf-badge"><i class="fa-solid fa-location-dot"></i> EMNLP 2025 路 Suzhou, China</div>
@@ -153,6 +154,8 @@
153
  <div class="hero-actions">
154
  <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>
155
  <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>
 
 
156
  </div>
157
  </div>
158
  <div class="hero-visual">
@@ -234,7 +237,7 @@
234
  </div>
235
  </div>
236
 
237
- <div class="citation-section" id="citation">
238
  <h3>Citation</h3>
239
  <button class="copy-btn" onclick="copyCitation()"><i class="fa-regular fa-copy"></i> Copy</button>
240
  <p style="color:#94a3b8; margin-bottom:20px;">If you use the Simba benchmark, please cite our paper:</p>
 
35
 
36
  a { text-decoration: none; transition: 0.2s; }
37
 
38
+ /* --- WIDTH CONTROLLER (80%) --- */
39
+ .layout-width { width: 80%; max-width: 1600px; margin: 0 auto; }
40
+
41
  /* --- NAVBAR --- */
42
+ .navbar {
43
+ padding: 20px 0; /* Vertical padding only, width handled by layout-width */
44
+ display: flex; justify-content: space-between; align-items: center;
45
+ position: relative; z-index: 100;
46
+ }
47
  .nav-logo { color: white; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 22px; display: flex; align-items: center; gap: 12px; }
48
  .nav-logo img { height: 40px; }
49
  .nav-text { display: flex; flex-direction: column; line-height: 1.1; }
50
  .nav-text span:first-child { font-size: 14px; color: var(--text-yellow); }
51
  .nav-links { display: flex; gap: 25px; align-items: center; }
52
+ .nav-link { color: #e2e8f0; font-size: 15px; font-weight: 500; }
53
+ .nav-link:hover { color: var(--text-yellow); }
54
  .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); }
55
 
56
  /* --- HERO --- */
57
  .hero {
58
+ display: flex; align-items: center; margin-top: 60px; margin-bottom: 100px;
59
+ position: relative; padding: 0;
 
 
 
 
 
 
 
 
 
60
  }
61
+ .hero-content { flex: 1; z-index: 2; }
62
  .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; }
63
  .conf-badge i { color: #cc0000; font-size: 18px; }
64
  .hero h1 { font-family: 'Rubik', sans-serif; font-size: 64px; font-weight: 800; margin: 0; line-height: 1.1; }
65
  .hero h2 { font-family: 'Rubik', sans-serif; font-size: 32px; color: var(--text-yellow); margin: 15px 0 30px; font-weight: 700; }
66
+ .hero p { color: #cbd5e1; font-size: 18px; line-height: 1.6; max-width: 650px; margin-bottom: 50px; }
67
+ .hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
68
  .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; }
69
  .action-btn:hover { transform: translateY(-3px); color: white; }
 
 
 
 
 
 
 
 
70
 
71
+ .bg-red { background: var(--grad-red); } .bg-purple { background: var(--grad-purple); }
72
+ .bg-orange { background: var(--grad-orange); } .bg-blue { background: var(--grad-blue); } .bg-green { background: var(--grad-green); }
73
+
74
+ /* Audio Wave Visual */
75
+ .hero-visual { flex: 1; display: flex; justify-content: flex-end; position: relative; height: 300px; align-items: center; }
76
  .audio-wave {
77
+ height: 150px; display: flex; align-items: center; justify-content: center; gap: 6px;
 
 
 
 
78
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
79
  }
80
  .bar { width: 6px; background: #ffffff; border-radius: 99px; animation: bounce 1.2s ease-in-out infinite; }
81
  .bar:nth-child(odd) { animation-duration: 1.5s; } .bar:nth-child(2n) { animation-duration: 1.1s; }
82
  @keyframes bounce { 0%, 100% { height: 20px; } 50% { height: 120px; } }
83
 
84
+ /* Wave Background */
85
+ .wave-bg {
86
+ position: absolute; top: -50px; left: -50%; width: 200%; height: 100%;
87
+ background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 70%);
88
+ z-index: 0; pointer-events: none;
89
+ }
90
 
91
  /* --- MAIN BOARD --- */
92
  .main-card { background: white; border-radius: 24px; padding: 40px; color: #0f172a; min-height: 600px; position: relative; z-index: 10; margin-bottom: 60px; }
 
100
 
101
  .controls { background: #f8fafc; padding: 20px; border-radius: 12px; display: flex; gap: 20px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
102
  select { padding: 10px; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 14px; min-width: 250px; cursor:pointer; }
103
+
104
  .rank-info { font-size: 13px; color: #64748b; margin-top: 5px; font-style: italic; }
105
  .score-desc { font-size: 14px; color: #475569; background: #fff7ed; border-left: 4px solid #f97316; padding: 10px 15px; margin-bottom: 20px; border-radius: 4px; }
106
 
 
137
  <div class="nav-text"><span>Voice of a</span> Continent</div>
138
  </a>
139
  <div class="nav-links">
140
+ <a href="https://aclanthology.org/2025.emnlp-main.559" target="_blank" class="nav-link">Paper</a>
141
+ <a href="https://huggingface.co/datasets/UBC-NLP/simba/#datasets" target="_blank" class="nav-link">Dataset</a>
142
+ <a href="https://africa.dlnlp.ai/simba/#models" target="_blank" class="nav-link">Models</a>
143
  <a href="https://africa.dlnlp.ai/simba/" target="_blank" class="btn-submit">Submit New Results</a>
144
  </div>
145
  </nav>
146
 
147
+ <div class="hero layout-width">
148
  <div class="wave-bg"></div>
149
  <div class="hero-content">
150
  <div class="conf-badge"><i class="fa-solid fa-location-dot"></i> EMNLP 2025 路 Suzhou, China</div>
 
154
  <div class="hero-actions">
155
  <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>
156
  <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>
157
+ <a href="https://africa.dlnlp.ai/simba/#dataset" target="_blank" class="action-btn bg-orange"><i class="fa-solid fa-database"></i> Dataset</a>
158
+ <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>
159
  </div>
160
  </div>
161
  <div class="hero-visual">
 
237
  </div>
238
  </div>
239
 
240
+ <div class="citation-section layout-width" id="citation">
241
  <h3>Citation</h3>
242
  <button class="copy-btn" onclick="copyCitation()"><i class="fa-regular fa-copy"></i> Copy</button>
243
  <p style="color:#94a3b8; margin-bottom:20px;">If you use the Simba benchmark, please cite our paper:</p>