The menu shows only Connect while signed out and the section links once signed in; / goes to Connect or Identities accordingly. Yes/no settings in the engine forms put the box beside its text. The Secrets page now has New secrets engine on its own line, then a labelled engine picker with Settings and Delete beside it, then the breadcrumbs, and dynamic engines use the full width. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
21 lines
714 B
TypeScript
21 lines
714 B
TypeScript
import type { RouteObject } from 'react-router'
|
|
import { ConnectPage } from './features/connect/ConnectPage'
|
|
import { GraphPage } from './features/graph/GraphPage'
|
|
import { IdentitiesPage } from './features/identities/IdentitiesPage'
|
|
import { SecretsPage } from './features/secrets/SecretsPage'
|
|
import { Home } from './Home'
|
|
import { Layout } from './Layout'
|
|
|
|
export const routes: RouteObject[] = [
|
|
{
|
|
element: <Layout />,
|
|
children: [
|
|
{ index: true, element: <Home /> },
|
|
{ path: 'connect', element: <ConnectPage /> },
|
|
{ path: 'identities', element: <IdentitiesPage /> },
|
|
{ path: 'secrets', element: <SecretsPage /> },
|
|
{ path: 'graph', element: <GraphPage /> },
|
|
],
|
|
},
|
|
]
|