1
0
Fork 0
freesewing/sites/shared/components/gdpr/details.mjs

30 lines
901 B
JavaScript
Raw Normal View History

2023-01-14 22:40:07 +01:00
import { useTranslation } from 'next-i18next'
export const ns = ['gdpr']
2023-01-14 22:40:07 +01:00
2023-08-13 18:00:43 +02:00
export const GdprAccountDetails = () => {
const { t } = useTranslation(ns)
2023-01-14 22:40:07 +01:00
return (
<div className="border-l-4 ml-1 pl-4 my-2 opacity-80">
2023-08-13 18:00:43 +02:00
<h6>{t('accountWhatQuestion')}</h6>
2023-01-14 22:40:07 +01:00
<p
dangerouslySetInnerHTML={{
__html:
2023-08-13 18:00:43 +02:00
t('accountWhatAnswer') +
2023-01-14 22:40:07 +01:00
'<br /><em><small>' +
2023-08-13 18:00:43 +02:00
t('accountWhatAnswerOptional') +
2023-01-14 22:40:07 +01:00
'</small></em>',
}}
/>
<h6>{t('whyQuestion')}</h6>
2023-08-13 18:00:43 +02:00
<p dangerouslySetInnerHTML={{ __html: t('accountWhyAnswer') }} />
2023-01-14 22:40:07 +01:00
<h6>{t('timingQuestion')}</h6>
2023-08-13 18:00:43 +02:00
<p dangerouslySetInnerHTML={{ __html: t('accountTimingAnswer') }} />
2023-01-14 22:40:07 +01:00
<h6>{t('shareQuestion')}</h6>
2023-08-13 18:00:43 +02:00
<p dangerouslySetInnerHTML={{ __html: t('accountShareAnswer') }} />
2023-01-14 22:40:07 +01:00
<p dangerouslySetInnerHTML={{ __html: t('openData') }} />
</div>
)
}