Add mobile ops surface nav and footer public API links.
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user