import type { ReactNode } from 'react'; import { IS_PLATFORM } from '../../../constants/config'; type AuthScreenLayoutProps = { title: string; description: string; children: ReactNode; footerText: string; logo?: ReactNode; }; export default function AuthScreenLayout({ title, description, children, footerText, logo, }: AuthScreenLayoutProps) { return (
{/* Ambient, on-brand backdrop that gives the screen depth without competing with the card content. Fixed so it stays put while the form scrolls on short viewports. */}
{logo ?? (
CloudCLI
)}

{title}

{description}

{children}

{footerText}

{!IS_PLATFORM && ( )}
); }