@carforyou/header-footer
Advanced tools
Comparing version
@@ -213,5 +213,2 @@ import React, { Fragment, useContext, useEffect, useState } from "react"; | ||
}, | ||
privacySettings: { | ||
onClick: () => window["OneTrust"].ToggleInfoDisplay(), | ||
}, | ||
imprint: { | ||
@@ -218,0 +215,0 @@ href: url(listingsRootUrl, language, "/content/impressum"), |
@@ -8,9 +8,4 @@ import React, { useContext } from "react"; | ||
React.createElement("div", { className: "text-white font-bold footerColumn-entry" }, t(`footer.sections.${name}.title`)), | ||
Object.entries(links).map(([text, { tracking, ...linkProps }], index) => (React.createElement("a", { className: "footerColumn-entry block cursor-pointer", key: `link-${index}`, onClick: () => { | ||
if (tracking) | ||
dataLayerPush(tracking); | ||
if (linkProps.onClick) | ||
linkProps.onClick(); | ||
}, ...linkProps }, t(`footer.sections.${name}.links.${text}`)))))); | ||
Object.entries(links).map(([text, { tracking, ...linkProps }], index) => (React.createElement("a", { className: "footerColumn-entry block", key: `link-${index}`, onClick: tracking ? () => dataLayerPush(tracking) : null, ...linkProps }, t(`footer.sections.${name}.links.${text}`)))))); | ||
}; | ||
export default Section; |
@@ -10,3 +10,2 @@ export default { | ||
"privacyPolicy": "Datenschutz", | ||
"privacySettings": "Privatsphäre-Einstellungen", | ||
"team": "Team" | ||
@@ -13,0 +12,0 @@ }, |
@@ -10,3 +10,2 @@ export default { | ||
"privacyPolicy": "Privacy", | ||
"privacySettings": "Privacy settings", | ||
"team": "Team" | ||
@@ -13,0 +12,0 @@ }, |
@@ -10,3 +10,2 @@ export default { | ||
"privacyPolicy": "Protection des données", | ||
"privacySettings": "Paramètres de confidentialité", | ||
"team": "Team" | ||
@@ -13,0 +12,0 @@ }, |
@@ -10,3 +10,2 @@ export default { | ||
"privacyPolicy": "Tutela della privacy", | ||
"privacySettings": "Impostazioni della privacy", | ||
"team": "Team" | ||
@@ -13,0 +12,0 @@ }, |
@@ -8,6 +8,5 @@ import { FC } from "react"; | ||
tracking?: Event; | ||
href?: string; | ||
href: string; | ||
rel?: string; | ||
target?: string; | ||
onClick?: () => void; | ||
}; | ||
@@ -14,0 +13,0 @@ }; |
@@ -10,3 +10,2 @@ declare const _default: { | ||
privacyPolicy: string; | ||
privacySettings: string; | ||
team: string; | ||
@@ -13,0 +12,0 @@ }; |
@@ -10,3 +10,2 @@ declare const _default: { | ||
privacyPolicy: string; | ||
privacySettings: string; | ||
team: string; | ||
@@ -13,0 +12,0 @@ }; |
@@ -10,3 +10,2 @@ declare const _default: { | ||
privacyPolicy: string; | ||
privacySettings: string; | ||
team: string; | ||
@@ -13,0 +12,0 @@ }; |
@@ -10,3 +10,2 @@ declare const _default: { | ||
privacyPolicy: string; | ||
privacySettings: string; | ||
team: string; | ||
@@ -13,0 +12,0 @@ }; |
import 'react'; | ||
export { H as HeaderTheme } from './base-6c9d10cd.js'; | ||
export { H as HeaderTheme } from './base-92e07063.js'; | ||
import 'classnames'; | ||
import './appContext.js-85b0a348.js'; | ||
import './shared-795fb325.js'; | ||
export { e as Header } from './header-3486902a.js'; | ||
import './appContext.js-9a0f8301.js'; | ||
import './shared-68016617.js'; | ||
export { e as Header } from './header-e5b71138.js'; | ||
import '@carforyou/components'; | ||
export { F as Footer } from './footer-1fdb05b2.js'; | ||
export { F as Footer } from './footer-7301e623.js'; | ||
export { H as HeaderWithTitle } from './withTitle-4a774aa1.js'; | ||
import './section-d927b645.js'; | ||
import './section-9818863c.js'; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@carforyou/header-footer", | ||
"description": "CAR FOR YOU Header / Footer", | ||
"version": "7.6.0-CAR-9248-privacy-onetrust-e408bda75f932e6432da774d591041175405aa57.3", | ||
"version": "7.6.0-deploy-618388125b82e06e51b969fc6a80fa16ae3729f8.1", | ||
"license": "MIT", | ||
@@ -42,3 +42,3 @@ "files": [ | ||
"@types/jest": "27.0.3", | ||
"@types/node": "14.17.34", | ||
"@types/node": "14.18.0", | ||
"@types/react": "16.14.21", | ||
@@ -50,3 +50,3 @@ "@types/testing-library__react": "10.2.0", | ||
"eslint-plugin-react-hooks": "4.3.0", | ||
"jest": "27.4.3", | ||
"jest": "27.4.4", | ||
"postcss": "8.3.11", | ||
@@ -53,0 +53,0 @@ "postcss-easy-import": "3.0.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
659591
-0.54%6429
-0.57%