Skip to content

feat: /bridge hub page - #1544

Merged
Flotapponnier merged 2 commits into
devfrom
feat/bridge-hub
Jul 27, 2026
Merged

feat: /bridge hub page#1544
Flotapponnier merged 2 commits into
devfrom
feat/bridge-hub

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Summary

  • Adds /bridge hub landing page combining the two live bridge benches
  • src/lib/bridge-hub-stats.ts: fetches both bridge-fee and bridge-quote-latency blobs, joins by provider slug into a unified BridgeHubData shape
  • src/app/bridge/page.tsx: server component with 4 summary cards, cost ranking table (sorted by fee p50 asc), quote speed ranking table (sorted by latency p50 asc), architecture explainer (intent / aggregator / protocol), corridor list, methodology footer
  • src/lib/sitemap-builder.ts: adds /bridge at priority 0.9

No Prometheus queries at render time, no new blob format, no materializer changes needed. Two existing bench blobs are already written by the worker.

Test plan

  • Check /bridge renders on staging with summary cards showing live data
  • Confirm cost table sorted by fee p50 asc (cheapest first)
  • Confirm quote speed table sorted by latency p50 asc
  • Verify graceful empty state renders if both blobs missing
  • Sitemap includes /bridge entry

@Flotapponnier
Flotapponnier merged commit 7d870d5 into dev Jul 27, 2026
@Flotapponnier
Flotapponnier deleted the feat/bridge-hub branch July 27, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant