Skip to content

The open alternative to Salesforce, designed for AI.

686 B
Raw Blame
import { OnboardingPulsingLogo } from '@/onboarding/components/OnboardingPulsingLogo';
import { styled } from '@linaria/react';
import { type ReactNode } from 'react';
import { themeCssVariables } from 'twenty-ui/theme';

const StyledContainer = styled.div`
  align-items: center;
  background: ${themeCssVariables.background.secondary};
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  width: 100%;
`;

type OnboardingVerifyLayoutProps = {
  children: ReactNode;
};

export const OnboardingVerifyLayout = ({
  children,
}: OnboardingVerifyLayoutProps) => (
  <StyledContainer>
    <OnboardingPulsingLogo />
    {children}
  </StyledContainer>
);