Files
envbao-admin/src/Home.tsx
T
mattandClaude Sonnet 5.5 d488bb42cc UI: signed-out menu and landing, form checkbox layout, Secrets header
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>
2026-11-09 14:47:31 +00:00

9 lines
327 B
TypeScript

import { Navigate } from 'react-router'
import { useSession } from './api/useSession'
/** The landing route: straight to the work when signed in, otherwise to the only page that can be used. */
export function Home() {
const { client } = useSession()
return <Navigate to={client ? '/identities' : '/connect'} replace />
}