2020-04-17 19:07:32 +01:00
|
|
|
import React from 'react';
|
|
|
|
import ContentContainer from '@/components/elements/ContentContainer';
|
|
|
|
import { CSSTransition } from 'react-transition-group';
|
2020-07-03 22:50:37 +01:00
|
|
|
import tw from 'twin.macro';
|
2020-04-17 19:07:32 +01:00
|
|
|
|
2020-07-03 22:50:37 +01:00
|
|
|
export default ({ children }): React.FC => (
|
|
|
|
<CSSTransition timeout={250} classNames={'fade'} appear in>
|
2020-04-17 19:07:32 +01:00
|
|
|
<>
|
2020-07-03 22:50:37 +01:00
|
|
|
<ContentContainer css={tw`my-10`}>
|
2020-04-17 19:07:32 +01:00
|
|
|
{children}
|
|
|
|
</ContentContainer>
|
2020-07-03 22:50:37 +01:00
|
|
|
<ContentContainer css={tw`mb-4`}>
|
|
|
|
<p css={tw`text-center text-neutral-500 text-xs`}>
|
2020-04-17 19:07:32 +01:00
|
|
|
© 2015 - 2020
|
|
|
|
<a
|
2020-07-03 22:50:37 +01:00
|
|
|
rel={'noopener nofollow noreferrer'}
|
2020-04-17 19:07:32 +01:00
|
|
|
href={'https://pterodactyl.io'}
|
|
|
|
target={'_blank'}
|
2020-07-03 22:50:37 +01:00
|
|
|
css={tw`no-underline text-neutral-500 hover:text-neutral-300`}
|
2020-04-17 19:07:32 +01:00
|
|
|
>
|
|
|
|
Pterodactyl Software
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</ContentContainer>
|
|
|
|
</>
|
|
|
|
</CSSTransition>
|
|
|
|
);
|