Files
open-gsio/packages/client/src/pages/privacy-policy/+Page.tsx
2025-06-24 17:32:59 -04:00

30 lines
773 B
TypeScript

import { Box, VStack } from '@chakra-ui/react';
import React, { Fragment } from 'react';
import { useIsMobile } from '../../components/contexts/MobileContext';
import PrivacyPolicy from '../../components/legal/LegalDoc';
import privacy_policy from './privacy_policy';
export default function Page() {
const isMobile = useIsMobile();
return (
<Fragment>
<VStack
width={'100%'}
align={'center'}
height={!isMobile ? '100%' : '100%'}
overflowX={'auto'}
>
<Box
overflowY={isMobile ? 'scroll' : undefined}
maxH={!isMobile ? '70vh' : '89vh'}
mt={isMobile ? 24 : undefined}
>
<PrivacyPolicy text={privacy_policy} />
</Box>
</VStack>
</Fragment>
);
}