@bytebrand/fe-ui-core 4.2.87 → 4.2.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/source/components/_common/Modal/modals/PreviewCookieModal/PreviewCookieModal.styl +6 -1
- package/source/components/_common/Modal/modals/PreviewCookieModal/PreviewCookieModal.tsx +15 -2
- package/source/components/containers/SearchPage/FiltersContainer/FiltersContainer.tsx +1 -1
package/package.json
CHANGED
|
@@ -11,21 +11,34 @@ interface IPreviewCookieModal {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
const PreviewCookieModal = ({ toggleModal, setModal }: IPreviewCookieModal) => {
|
|
14
|
+
const environment = window.location.origin;
|
|
14
15
|
const onAcceptAll = () => {
|
|
15
16
|
localStorage.setItem('cookieConfig', JSON.stringify({}));
|
|
16
17
|
updateCookieList();
|
|
17
18
|
toggleModal();
|
|
18
19
|
};
|
|
19
20
|
|
|
21
|
+
const onHandleRedirect = () => {
|
|
22
|
+
window.open(`${environment}/impressum/`, '_blank');
|
|
23
|
+
};
|
|
24
|
+
|
|
20
25
|
return (
|
|
21
26
|
<div className={styles.modalWrapper}>
|
|
22
27
|
<IconSVG name='autodeLogo' customDimensions />
|
|
23
28
|
<div className={styles.modalTitle}>Nach den Cookies geht die Fahrt weiter.</div>
|
|
24
|
-
<div className={styles.modalContent}>
|
|
29
|
+
<div className={styles.modalContent}>
|
|
30
|
+
Wenn Sie auf "Zustimmen" klicken, ermöglichen Sie uns über Cookies das Nutzerverhalten
|
|
31
|
+
für alle User zu optimieren und Ihnen individuelle Empfehlungen auch auf Drittseiten anzuzeigen.
|
|
32
|
+
Durch die Zustimmung erteilen Sie uns Ihre ausdrückliche Einwilligung.
|
|
33
|
+
Über "Anpassen" können Sie Ihre Einwilligungen individuell anpassen.
|
|
34
|
+
Dies ist auch später jederzeit im Bereich "Cookie-Richtlinie" möglich.
|
|
35
|
+
Die relevante Datenschutzerklärung finden Sie <a href={`${environment}/datenschutz/`} target='_blank' style={{ color: '#005ccb'}}>hier</a>.
|
|
36
|
+
</div>
|
|
25
37
|
<div className={styles.buttonsContainer}>
|
|
26
|
-
<Button onClick={() => setModal('MANAGE_COOKIE_MODAL')} className={classNames(styles.modalBtn, styles.outlinedBtn)} variant='outlined'>
|
|
38
|
+
<Button onClick={() => setModal('MANAGE_COOKIE_MODAL')} className={classNames(styles.modalBtn, styles.outlinedBtn)} variant='outlined'>Anpassen</Button>
|
|
27
39
|
<Button onClick={onAcceptAll} className={styles.modalBtn}>zustimmen</Button>
|
|
28
40
|
</div>
|
|
41
|
+
<Button onClick={onHandleRedirect} className={classNames(styles.modalBtn, styles.outlinedBtn, styles.outlinedBtnLeft)} variant='outlined'>Impressum</Button>
|
|
29
42
|
</div>
|
|
30
43
|
);
|
|
31
44
|
};
|
|
@@ -387,7 +387,7 @@ class FiltersContainer extends React.Component<IFiltersContainerProps, {}> {
|
|
|
387
387
|
error: isErrorAlternativeField,
|
|
388
388
|
onChange: onAlternativeRedirect
|
|
389
389
|
};
|
|
390
|
-
|
|
390
|
+
|
|
391
391
|
return (
|
|
392
392
|
<div className={styles.filters}>
|
|
393
393
|
{isAlternative ? (
|