mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
35 lines
678 B
TypeScript
35 lines
678 B
TypeScript
// @ts-nocheck
|
|
import styled from 'styled-components';
|
|
import { Icon, FormattedMessage as T } from '@/components';
|
|
|
|
interface AuthContainerProps {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
export function AuthContainer({ children }: AuthContainerProps) {
|
|
return (
|
|
<AuthPage>
|
|
<AuthInsider>
|
|
<AuthLogo>
|
|
<Icon icon="bigcapital" height={37} width={214} />
|
|
</AuthLogo>
|
|
|
|
{children}
|
|
</AuthInsider>
|
|
</AuthPage>
|
|
);
|
|
}
|
|
|
|
const AuthPage = styled.div``;
|
|
const AuthInsider = styled.div`
|
|
width: 384px;
|
|
margin: 0 auto;
|
|
margin-bottom: 40px;
|
|
padding-top: 80px;
|
|
`;
|
|
|
|
const AuthLogo = styled.div`
|
|
text-align: center;
|
|
margin-bottom: 40px;
|
|
`;
|