deploy
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import Box from '@mui/material/Box'
|
||||
import Typography from '@mui/material/Typography'
|
||||
import { STORE_EMAIL, STORE_PUBLIC_SITE_URL } from '@/shared/config'
|
||||
import template from '../content/privacy-policy.template.txt?raw'
|
||||
|
||||
export function PrivacyPolicyPage() {
|
||||
const body = template.replaceAll('{{SITE_URL}}', STORE_PUBLIC_SITE_URL).replaceAll('{{STORE_EMAIL}}', STORE_EMAIL)
|
||||
|
||||
return (
|
||||
<Box>
|
||||
<Typography variant="h4" gutterBottom>
|
||||
Политика конфиденциальности
|
||||
</Typography>
|
||||
<Typography color="text.secondary" sx={{ mb: 2 }}>
|
||||
Политика в отношении обработки персональных данных.
|
||||
</Typography>
|
||||
<Typography component="div" variant="body2" sx={{ whiteSpace: 'pre-wrap' }}>
|
||||
{body}
|
||||
</Typography>
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user