{([
{ label: 'Explorer', to: '/explorer', svgPath: <>
> },
{ label: 'Docs', to: '/docs', svgPath: <>
> },
{ label: 'Wallet', to: '/login', svgPath: <>
>, needsLogin: true },
{ label: 'API', to: '/api', svgPath: <>
> },
{ label: 'Faucet', to: '/faucet', svgPath: <>
> },
{ label: 'Developers', to: '/developers', svgPath: <>
> },
{ label: 'Grants', to: '/grants', svgPath: <>
>, needsLogin: true },
{ label: 'Wiki', to: '/wiki', svgPath: <>
> },
{ label: 'Forum', to: '/forum', svgPath: <>
> },
{ label: 'Telemetry', to: '/telemetry', svgPath: <>
> },
] as Array<{ label: string; to: string; svgPath: React.ReactNode; needsLogin?: boolean }>).map(s => (
{s.label}
{s.needsLogin &&
Login}
))}