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