Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/app/apple-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export default function AppleIcon() {
justifyContent: "center",
}}
>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src={logoDataUrl}
alt="OpenChainBench"
Expand Down
1 change: 0 additions & 1 deletion src/app/benchmarks/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ export default async function BenchmarkPage({
{benchmark.seoIntro
.split(/\n\n+/)
.map((para, i) => (
// eslint-disable-next-line react/no-array-index-key
<p key={i}>{para.trim()}</p>
))}
</div>
Expand Down
1 change: 0 additions & 1 deletion src/app/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export default function Icon() {
justifyContent: "center",
}}
>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={logoDataUrl} alt="OpenChainBench" width={52} height={52} style={{ objectFit: "contain" }} />
</div>
),
Expand Down
4 changes: 2 additions & 2 deletions src/app/mcp/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export default async function McpPage() {
Surface
</span>
<h2 className="display text-xl sm:text-2xl text-ink leading-none">
What's exposed
What&apos;s exposed
</h2>
</header>

Expand Down Expand Up @@ -247,7 +247,7 @@ export default async function McpPage() {
The server is read-only. There are no admin actions, no mutating
tools, no upstream secrets reachable through the wire. PromQL
queries are scoped to the metric namespaces we publish, so the
public endpoint can't be used to walk the underlying Prometheus.
public endpoint can&apos;t be used to walk the underlying Prometheus.
Rate limits, body caps, batch rejection and SSE disable are
enforced at the route. Source is on{" "}
<a
Expand Down
201 changes: 0 additions & 201 deletions src/components/benchmark-table.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/share-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ export function ShareSection({ slug, title, benchmark, chain }: Props) {
setPairB(s);
}

const activeTemplate = TEMPLATES.find((t) => t.id === activeId);

// Build the URL with the right params per template.
const cardSrc = (templateId: string) => {
const tpl = TEMPLATES.find((t) => t.id === templateId);
Expand Down
2 changes: 1 addition & 1 deletion src/components/time-series-chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ function Chart({
// line draws a break but the dot keeps rendering at 0 / NaN.
return { ...l, color, pts, linePath, fillPath, lastX, lastY, last, isGap };
});
}, [slicedLines, padL, padR, padT, padB, innerW, innerH, lo, yRange]);
}, [slicedLines, padL, padT, innerW, innerH, lo, yRange]);

const hoverX = hover ? padL + innerW * (hover.idx / Math.max(1, numPoints - 1)) : null;
const hoverFraction = hover ? hover.idx / Math.max(1, numPoints - 1) : 0;
Expand Down
8 changes: 0 additions & 8 deletions src/data/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,3 @@ export const SITE = {
description:
"Open, reproducible benchmarks for crypto infrastructure: aggregators, bridges, RPCs, price feeds.",
} as const;

export const CURRENT_ISSUE = "001";

export const ISSUE_DATE_LONG = new Date().toLocaleDateString("en-US", {
year: "numeric",
month: "long",
day: "numeric",
});
37 changes: 0 additions & 37 deletions src/lib/methodology-tooltip.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/lib/utils.ts

This file was deleted.

Loading