Add mobile ops surface nav and footer public API links.
Some checks failed
Deploy Explorer Live / deploy (push) Failing after 14s
Validate Explorer / frontend (push) Successful in 1m32s
Validate Explorer / smoke-e2e (push) Failing after 1m52s

Operations pages get collapsible surface navigation on small screens and a shared action-card accordion; the footer surfaces read-only JSON endpoints with e2e coverage.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
defiQUG
2026-05-22 21:39:08 -07:00
parent 847cfeb48b
commit 991d1bb07c
11 changed files with 276 additions and 100 deletions

View File

@@ -296,3 +296,65 @@ export const explorerFeaturePages = {
],
},
} as const satisfies Record<string, ExplorerFeaturePage>
export interface ExplorerOperationsSurface {
href: string
label: string
description: string
}
export const explorerOperationsSurfaces: ExplorerOperationsSurface[] = [
{
href: '/operations',
label: 'Operations hub',
description: 'Consolidated monitoring, config, and route inventory.',
},
{
href: '/bridge',
label: 'Bridge',
description: 'Relay lanes, mission-control feed, and CCIP routes.',
},
{
href: '/routes',
label: 'Routes',
description: 'Live route matrix and execution paths.',
},
{
href: '/liquidity',
label: 'Liquidity',
description: 'PMM access points and planner capabilities.',
},
{
href: '/pools',
label: 'Pools',
description: 'Mission-control pool inventory snapshot.',
},
{
href: '/system',
label: 'System',
description: 'Networks, RPC methods, and topology inventory.',
},
]
export const explorerPublicApiLinks = [
{
href: '/api/v2/stats',
label: 'Blockscout stats',
description: 'Chain head, gas, and indexer summary.',
},
{
href: '/explorer-api/v1/track1/bridge/status',
label: 'Bridge status JSON',
description: 'Mission-control relay posture snapshot.',
},
{
href: '/token-aggregation/api/v1/routes/matrix?includeNonLive=true',
label: 'Route matrix',
description: 'Token-aggregation live and planned routes.',
},
{
href: '/api/config/networks',
label: 'Wallet networks',
description: 'Published chain metadata for wallet onboarding.',
},
] as const