Update resources/scripts/components/auth/LoginFormContainer.tsx

This commit is contained in:
denis 2024-11-03 02:28:41 -05:00
parent 455ab826a1
commit 56c61599c0

View file

@ -8,6 +8,7 @@ import tw from 'twin.macro';
import BeforeContent from '@/blueprint/components/Authentication/Container/BeforeContent';
import AfterContent from '@/blueprint/components/Authentication/Container/AfterContent';
type Props = React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement> & {
title?: string;
};
@ -38,23 +39,15 @@ export default forwardRef<HTMLFormElement, Props>(({ title, ...props }, ref) =>
<BeforeContent />
<Form {...props} ref={ref}>
<div css={tw`md:flex w-full bg-white shadow-lg rounded-lg p-6 md:pl-0 mx-1`}>
<div css={tw`flex-none select-none mb-6 md:mb-0 self-center`}>
<img src={'/assets/svgs/pterodactyl.svg'} css={tw`block w-48 md:w-64 mx-auto`} />
<div css={tw`flex-none select-none mb-6 md:mb-0 self-center p-6`}>
<img src={'/pelican.svg'} css={tw`block w-48 md:w-56 mx-auto`} />
</div>
<div css={tw`flex-1`}>{props.children}</div>
</div>
</Form>
<AfterContent />
<p css={tw`text-center text-neutral-500 text-xs mt-4`}>
&copy; 2015 - {new Date().getFullYear()}&nbsp;
<a
rel={'noopener nofollow noreferrer'}
href={'https://pterodactyl.io'}
target={'_blank'}
css={tw`no-underline text-neutral-500 hover:text-neutral-300`}
>
Pterodactyl Software
</a>
Pelican &copy; 2024 - {new Date().getFullYear()}&nbsp;
</p>
</Container>
));
));