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}
) : null} {title ? ({subtitle}
) : null}