2020-04-17 18:07:32 +00:00
|
|
|
import React from 'react';
|
|
|
|
import ContentContainer from '@/components/elements/ContentContainer';
|
|
|
|
import { CSSTransition } from 'react-transition-group';
|
|
|
|
|
|
|
|
interface Props {
|
|
|
|
children: React.ReactNode;
|
2020-04-17 18:17:01 +00:00
|
|
|
className?: string;
|
2020-04-17 18:07:32 +00:00
|
|
|
}
|
|
|
|
|
2020-04-17 18:17:01 +00:00
|
|
|
export default ({ className, children }: Props) => (
|
2020-04-17 18:07:32 +00:00
|
|
|
<CSSTransition timeout={250} classNames={'fade'} appear={true} in={true}>
|
|
|
|
<>
|
2020-04-17 18:17:01 +00:00
|
|
|
<ContentContainer className={`my-10 ${className}`}>
|
2020-04-17 18:07:32 +00:00
|
|
|
{children}
|
|
|
|
</ContentContainer>
|
|
|
|
<ContentContainer className={'mb-4'}>
|
|
|
|
<p className={'text-right text-neutral-500 text-xs'}>
|
|
|
|
© 2015 - 2020
|
|
|
|
<a
|
|
|
|
rel={'noopener nofollow'}
|
|
|
|
href={'https://pterodactyl.io'}
|
|
|
|
target={'_blank'}
|
|
|
|
className={'no-underline text-neutral-500 hover:text-neutral-300'}
|
|
|
|
>
|
|
|
|
Pterodactyl Software
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</ContentContainer>
|
|
|
|
</>
|
|
|
|
</CSSTransition>
|
|
|
|
);
|