Skip to content

Commit 7bc2347

Browse files
irparentclaude
andcommitted
fix: move Glama badge inline with shields row, same height
Glama score.svg is 110x20px — designed for inline use alongside shields.io badges. Single cohesive row with Glama leading by position, not by size separation. Follows Express/Vite/Next.js badge convention. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3d9b5ad commit 7bc2347

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

website/src/components/hero.tsx

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,8 @@ import { RotatingWords } from "./rotating-words";
66

77
const COMPAT = ["Claude Desktop", "Cursor", "Claude Code", "Windsurf", "LangChain", "CrewAI", "MCP SDK", "AutoGen"];
88

9-
const GLAMA = {
10-
src: "https://glama.ai/mcp/servers/iris-eval/mcp-server/badges/score.svg",
11-
alt: "Glama AAA Score",
12-
href: "https://glama.ai/mcp/servers/iris-eval/mcp-server",
13-
};
14-
159
const BADGES = [
10+
{ src: "https://glama.ai/mcp/servers/iris-eval/mcp-server/badges/score.svg", alt: "Glama AAA Score", href: "https://glama.ai/mcp/servers/iris-eval/mcp-server" },
1611
{ src: "https://img.shields.io/npm/v/@iris-eval/mcp-server?style=flat-square&color=0d9488&label=npm", alt: "npm version", href: "https://www.npmjs.com/package/@iris-eval/mcp-server" },
1712
{ src: "https://img.shields.io/npm/dt/@iris-eval/mcp-server?style=flat-square&color=0d9488&label=downloads", alt: "npm downloads", href: "https://www.npmjs.com/package/@iris-eval/mcp-server" },
1813
{ src: "https://img.shields.io/github/stars/iris-eval/mcp-server?style=flat-square&color=0d9488", alt: "GitHub stars", href: "https://github.com/iris-eval/mcp-server" },
@@ -36,22 +31,14 @@ export function Hero(): React.ReactElement {
3631
className="mx-auto max-w-4xl text-center"
3732
>
3833
{/* Open Source badge pill */}
39-
<div className="mb-4 inline-flex items-center gap-2.5 rounded-full border border-border-default bg-bg-raised/80 px-4 py-1.5 backdrop-blur-sm">
34+
<div className="mb-6 inline-flex items-center gap-2.5 rounded-full border border-border-default bg-bg-raised/80 px-4 py-1.5 backdrop-blur-sm">
4035
<span className="pulse-dot inline-block h-2 w-2 rounded-full bg-eval-pass" />
4136
<span className="font-mono text-[13px] text-text-secondary">
4237
Open Source
4338
</span>
4439
</div>
4540

46-
{/* Glama AAA trust badge — own row */}
47-
<div className="mb-4 flex justify-center">
48-
<a href={GLAMA.href} target="_blank" rel="noopener noreferrer">
49-
{/* eslint-disable-next-line @next/next/no-img-element */}
50-
<img src={GLAMA.src} alt={GLAMA.alt} height={24} className="h-6" />
51-
</a>
52-
</div>
53-
54-
{/* Shields.io badges row */}
41+
{/* Badges row — Glama AAA leads, then shields.io */}
5542
<div className="mb-8 flex flex-wrap items-center justify-center gap-2">
5643
{BADGES.map((b) => (
5744
<a key={b.alt} href={b.href} target="_blank" rel="noopener noreferrer">

0 commit comments

Comments
 (0)