The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { styled } from '@linaria/react';
import { Outlet } from 'react-router-dom';
import { themeCssVariables } from 'twenty-ui/theme';
import { AppErrorBoundary } from '@/error-handler/components/AppErrorBoundary';
import { AppFullScreenErrorFallback } from '@/error-handler/components/AppFullScreenErrorFallback';
const StyledLayout = styled.div`
background: ${themeCssVariables.background.secondary};
display: flex;
flex-direction: column;
height: calc(100dvh / var(--t-zoom, 1));
position: relative;
scrollbar-width: 4px;
width: 100%;
`;
export const BlankLayout = () => {
return (
<StyledLayout>
<AppErrorBoundary FallbackComponent={AppFullScreenErrorFallback}>
<Outlet />
</AppErrorBoundary>
</StyledLayout>
);
};