Skip to content

Commit 3667959

Browse files
authored
Enhancement/update instructions (#14)
* Added link to paper in nav bar * updated instructions for submitting to just go to project page and follow readme * Made text on hero section lighter, rephrased cta button 'get started' text
1 parent 30b038b commit 3667959

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

src/pages/HomePage.css

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
}
3434

3535
.hero-subtitle-short {
36-
font-size: 1.2rem;
36+
font-size: 1.4rem;
37+
font-weight: 500;
3738
line-height: 1.5;
3839
margin-bottom: 1.5rem;
3940
color: rgba(255, 255, 255, 0.9);
4041
padding-right: 4rem;
4142
margin-left: 2rem;
42-
font-weight: 400;
4343
}
4444

4545
.highlight {
@@ -69,16 +69,16 @@
6969
}
7070

7171
.cta-heading {
72-
font-size: 1.25rem;
72+
font-size: 1.4rem;
7373
font-weight: 500;
7474
color: rgba(255, 255, 255, 0.9);
7575
margin: 0 0 0.5rem 0;
7676
letter-spacing: -0.01em;
7777
}
7878

7979
.cta-description {
80-
font-size: 1.25rem;
81-
color: rgba(255, 255, 255, 0.7);
80+
font-size: 1.35rem;
81+
color: rgba(234, 234, 234, 0.964);
8282
margin: 0 0 1rem 0;
8383
line-height: 1.4;
8484
font-weight: 400;
@@ -89,7 +89,7 @@
8989
color: white;
9090
font-weight: 500;
9191
padding: 0.5rem 1.25rem;
92-
font-size: 0.8rem;
92+
font-size: 1.1rem;
9393
border: none;
9494
border-radius: 6px;
9595
transition: all 0.2s ease;
@@ -124,6 +124,7 @@
124124
background: #2563eb;
125125
color: white;
126126
font-weight: 600;
127+
font-size: 1.3rem;
127128
border: none;
128129
}
129130

@@ -318,6 +319,7 @@
318319
border-radius: 12px;
319320
color: #6b7280;
320321
font-weight: 600;
322+
font-size: 1rem;
321323
cursor: pointer;
322324
transition: all 0.3s ease;
323325
min-width: 200px;

src/pages/HomePage.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const HomePage: React.FC = () => {
3030
<div className="hero-left">
3131
<h1 className="hero-title">
3232
RouterArena: An Open Platform for
33-
<span className="highlight"> Comprehensive Comparison</span> of LLM Routers
33+
<span className="highlight"> Comprehensive Comparison</span> of <br /> LLM Routers
3434
</h1>
3535

3636
<p className="hero-subtitle-short">
@@ -64,8 +64,13 @@ const HomePage: React.FC = () => {
6464

6565
<div className="cta-card">
6666
<h3 className="cta-heading">Want to see your router on the leaderboard?</h3>
67-
<p className="cta-description">Head to our GitHub to submit or evaluate your router on RouterArena.</p>
68-
<a href="#contact" className="btn btn-primary">
67+
<p className="cta-description">Head to our GitHub to submit your router.</p>
68+
<a href={contactInfo.github}
69+
target="_blank"
70+
rel="noopener noreferrer"
71+
className="btn btn-primary"
72+
73+
>
6974
Get Started →
7075
</a>
7176
</div>
@@ -311,7 +316,7 @@ const HomePage: React.FC = () => {
311316
<div className="action-buttons">
312317
<a
313318
href={contactInfo.paper}
314-
className="btn btn-primary"
319+
className="btn btn-outline"
315320
target="_blank"
316321
rel="noopener noreferrer"
317322
>

0 commit comments

Comments
 (0)