{title}{srTitle && {srTitle}}
{sub &&{sub}
}{brand.data?.org_name ? `${brand.data.org_name} ยท ` : ''}{brand.data?.version ? `Version ${brand.data.version}` : ''}
import { lazy, Suspense, type ReactNode } from 'react'; import { Alert, AlertContent, AlertDescription, AlertIcon } from '@/components/ui/motion/alert'; import { useBrand } from '../../api/hooks'; import { explainError } from '../../api/errors'; import { MockBanner } from '../../components/common'; import { BrandMark } from './login/BrandMark'; // the 3D hero (three.js) loads after the form is on screen, in its own chunk const ReleaseScene = lazy(() => import('./login/ReleaseScene').then((m) => ({ default: m.ReleaseScene }))); /** beUI fields on a page without Tailwind's reset: no native border on the inner input (the field draws it). */ export const FIELD = { root: 'beui-field', input: 'border-0' }; /** * The frame of every account page (sign in, create an account, forgot, reset). On large screens a black brand * panel with the ember glow on the left (the Astra story and a live 3D scene) and the form on the right, in the app's * own type and accent; on small screens only the form. `title` is the visible heading; `srTitle` adds words for screen * readers only (e.g. "Sign in" + " to Astra"). */ export function AuthShell({ children, label, title, srTitle, sub }: { children: ReactNode; label: string; title: string; srTitle?: string; sub?: ReactNode; }) { const brand = useBrand(); const name = brand.data?.product_name ?? 'Astra'; return (
Every Oracle update, tested before it goes live.
Three agents read the patch, test your business processes in a real browser and bring you the evidence. You approve and sign off.
{sub}
}{brand.data?.org_name ? `${brand.data.org_name} ยท ` : ''}{brand.data?.version ? `Version ${brand.data.version}` : ''}
{children}
{action}