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
13 changes: 13 additions & 0 deletions packages/app/src/app/compare/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Metadata } from 'next';
import Link from 'next/link';

import { HW_REGISTRY, SITE_NAME, SITE_URL } from '@semianalysisai/inferencex-constants';

Expand Down Expand Up @@ -98,6 +99,18 @@ export default async function CompareIndexPage() {
{formatModelList(modelsWithPairs)}. Each page includes interactive charts for latency,
throughput, and cost metrics, plus an interpolated comparison table.
</p>
<div className="mt-6">
<Link
data-testid="compare-index-per-dollar-link"
href="/compare-per-dollar"
className="inline-flex items-center gap-2 rounded-md bg-brand px-5 py-3 text-base lg:text-lg font-semibold text-primary-foreground shadow-sm transition-colors hover:bg-brand/90"
>
Compare GPU performance per dollar
<span aria-hidden="true" className="text-lg lg:text-xl">
</span>
</Link>
</div>
</Card>
</section>

Expand Down
7 changes: 7 additions & 0 deletions packages/app/src/components/footer/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@ export const Footer = ({ starCount }: { starCount?: number | null }) => (
>
GPU Reliability
</Link>
<Link
data-testid="footer-link-compare-per-dollar"
href="/compare-per-dollar"
className="text-sm text-muted-foreground hover:text-foreground transition-colors"
>
Performance per Dollar
</Link>
</div>
</div>

Expand Down
6 changes: 0 additions & 6 deletions packages/app/src/components/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ const NAV_LINKS = [
testId: 'nav-link-compare',
event: 'header_compare_clicked',
},
{
href: '/compare-per-dollar',
label: 'Per Dollar',
testId: 'nav-link-compare-per-dollar',
event: 'header_compare_per_dollar_clicked',
},
{
href: '/quotes',
label: 'Supporters',
Expand Down
Loading