This commit is contained in:
@kirill.komarov
2026-05-12 21:53:11 +05:00
parent 57fa4adf08
commit 519c647f65
10 changed files with 153 additions and 43 deletions
@@ -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>
)
}