Skip to content

Commit 6435570

Browse files
sebbycorpclaude
authored andcommitted
Add evaluators CTA section and improve docs layout
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3e281f8 commit 6435570

2 files changed

Lines changed: 74 additions & 1 deletion

File tree

layouts/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,22 @@ <h3>MCP Server</h3>
139139
</div>
140140
</section>
141141

142+
<!-- Custom Evaluators CTA -->
143+
<section class="evaluators-cta">
144+
<div class="container">
145+
<div class="evaluators-cta-inner">
146+
<div class="evaluators-cta-text">
147+
<h2>Build Your Own Evaluators</h2>
148+
<p>Write custom scoring logic in Python, JavaScript, or any language. Share it with the community through our evaluator registry.</p>
149+
</div>
150+
<div class="evaluators-cta-actions">
151+
<a href="{{ "evaluators/" | relURL }}" class="btn btn-primary">Browse Evaluators</a>
152+
<a href="https://github.com/agentevals-dev/evaluators#contributing-an-evaluator" target="_blank" class="btn btn-secondary">Submit Your Own</a>
153+
</div>
154+
</div>
155+
</div>
156+
</section>
157+
142158
<!-- Get Started -->
143159
<section id="get-started" class="code-section">
144160
<div class="container">

static/css/style.css

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,61 @@ section {
562562
color: var(--text-muted);
563563
}
564564

565+
/* Evaluators CTA (homepage) */
566+
.evaluators-cta {
567+
padding: 6rem 0;
568+
}
569+
570+
.evaluators-cta-inner {
571+
display: flex;
572+
align-items: center;
573+
justify-content: space-between;
574+
gap: 2rem;
575+
padding: 3rem;
576+
background: var(--bg-card);
577+
border: 1px solid var(--border);
578+
border-radius: 16px;
579+
margin: 0 auto;
580+
max-width: 960px;
581+
}
582+
583+
.evaluators-cta-inner:hover {
584+
border-color: rgba(128, 35, 195, 0.2);
585+
}
586+
587+
.evaluators-cta-text h2 {
588+
font-size: 1.5rem;
589+
font-weight: 700;
590+
margin-bottom: 0.5rem;
591+
letter-spacing: -0.01em;
592+
}
593+
594+
.evaluators-cta-text p {
595+
color: var(--text-secondary);
596+
font-size: 0.95rem;
597+
line-height: 1.6;
598+
max-width: 500px;
599+
}
600+
601+
.evaluators-cta-actions {
602+
display: flex;
603+
gap: 0.75rem;
604+
flex-shrink: 0;
605+
}
606+
607+
@media (max-width: 768px) {
608+
.evaluators-cta-inner {
609+
flex-direction: column;
610+
text-align: center;
611+
}
612+
.evaluators-cta-text p {
613+
max-width: 100%;
614+
}
615+
.evaluators-cta-actions {
616+
justify-content: center;
617+
}
618+
}
619+
565620
/* Interfaces Section */
566621
.interfaces {
567622
background: var(--bg-secondary);
@@ -714,6 +769,8 @@ section {
714769
display: flex;
715770
min-height: 100vh;
716771
padding-top: 65px;
772+
max-width: 1400px;
773+
margin: 0 auto;
717774
}
718775

719776
.docs-sidebar {
@@ -774,7 +831,7 @@ section {
774831
}
775832

776833
.docs-content {
777-
max-width: 800px;
834+
max-width: 960px;
778835
padding: 3rem 4rem;
779836
}
780837

0 commit comments

Comments
 (0)