import React from 'react'; import { LanguageSwitcher } from '../../components/LanguageSwitcher'; import { FrostedSurface } from '../../components/tenant'; export interface TenantWelcomeLayoutProps { eyebrow?: string; title?: string; subtitle?: string; headerAction?: React.ReactNode; footer?: React.ReactNode; children: React.ReactNode; } export function TenantWelcomeLayout({ eyebrow, title, subtitle, headerAction, footer, children, }: TenantWelcomeLayoutProps) { React.useEffect(() => { document.body.classList.add('tenant-admin-theme', 'tenant-admin-welcome-theme'); return () => { document.body.classList.remove('tenant-admin-theme', 'tenant-admin-welcome-theme'); }; }, []); return (
{eyebrow ? (

{eyebrow}

) : null} {title ? (

{title}

) : null} {subtitle ? (

{subtitle}

) : null}
{headerAction}
{children}
{footer ? ( ) : null}
); } TenantWelcomeLayout.displayName = 'TenantWelcomeLayout';