0e17fe5581
relocate code code refactor wip refactor wip
54 lines
1.3 KiB
TypeScript
54 lines
1.3 KiB
TypeScript
import React from 'react';
|
|
import Box from '@mui/material/Box';
|
|
import MuiLink from '@mui/material/Link';
|
|
import { Link } from 'react-router-dom';
|
|
import Typography from '@mui/material/Typography';
|
|
import { Socials } from './Socials';
|
|
import { useIsMobile } from '../hooks/useIsMobile';
|
|
import { NymVpnIcon } from '../icons/NymVpn';
|
|
|
|
export const Footer: FCWithChildren = () => {
|
|
const isMobile = useIsMobile();
|
|
|
|
return (
|
|
<Box
|
|
sx={{
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
justifyContent: 'center',
|
|
width: '100%',
|
|
height: 'auto',
|
|
mt: 3,
|
|
pt: 3,
|
|
pb: 3,
|
|
}}
|
|
>
|
|
<Box
|
|
sx={{
|
|
display: 'flex',
|
|
flexDirection: 'row',
|
|
width: 'auto',
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
mb: 2,
|
|
}}
|
|
>
|
|
<MuiLink component={Link} to="http://nymvpn.com" target="_blank" underline="none" marginRight={1}>
|
|
<NymVpnIcon />
|
|
</MuiLink>
|
|
<Socials isFooter />
|
|
</Box>
|
|
|
|
<Typography
|
|
sx={{
|
|
fontSize: 12,
|
|
textAlign: isMobile ? 'center' : 'end',
|
|
color: 'nym.muted.onDarkBg',
|
|
}}
|
|
>
|
|
© {new Date().getFullYear()} Nym Technologies SA, all rights reserved
|
|
</Typography>
|
|
</Box>
|
|
);
|
|
};
|