opus-toolkit-components 1.1.1 → 1.1.2
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.
|
@@ -12917,6 +12917,7 @@ function Loader(_ref) {
|
|
|
12917
12917
|
}
|
|
12918
12918
|
;// external "opus-toolkit-styles/assets/logos/footer-logos.svg"
|
|
12919
12919
|
const footer_logos_svg_namespaceObject = require("opus-toolkit-styles/assets/logos/footer-logos.svg");
|
|
12920
|
+
var footer_logos_svg_default = /*#__PURE__*/__webpack_require__.n(footer_logos_svg_namespaceObject);
|
|
12920
12921
|
;// ./src/components/Cookie/Cookie.js
|
|
12921
12922
|
|
|
12922
12923
|
|
|
@@ -12952,6 +12953,7 @@ const CookieBanner = _ref => {
|
|
|
12952
12953
|
}
|
|
12953
12954
|
}, [imageLoaded, render]);
|
|
12954
12955
|
if (!render) return null;
|
|
12956
|
+
console.log("DefaultLogo:", (footer_logos_svg_default()));
|
|
12955
12957
|
return /*#__PURE__*/external_react_default().createElement(Card, {
|
|
12956
12958
|
intent: "brandSecondary",
|
|
12957
12959
|
className: "\n md:flex items-center justify-between p-4 space-x-4\n transition-all duration-300 ease-in-out\n ".concat(show ? "opacity-100 translate-y-0" : "opacity-0 translate-y-3", "\n ")
|
|
@@ -12959,14 +12961,11 @@ const CookieBanner = _ref => {
|
|
|
12959
12961
|
className: "md:flex items-center"
|
|
12960
12962
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
12961
12963
|
className: "flex-shrink-0 mr-4"
|
|
12962
|
-
},
|
|
12963
|
-
src: logo,
|
|
12964
|
+
}, /*#__PURE__*/external_react_default().createElement("img", {
|
|
12965
|
+
src: logo || (footer_logos_svg_default()),
|
|
12964
12966
|
alt: "C247 Logo",
|
|
12965
12967
|
className: "w-full object-contain",
|
|
12966
|
-
onLoad: () => setImageLoaded(true)
|
|
12967
|
-
loading: "eager"
|
|
12968
|
-
}) : /*#__PURE__*/external_react_default().createElement(footer_logos_svg_namespaceObject.ReactComponent, {
|
|
12969
|
-
className: "w-full h-full"
|
|
12968
|
+
onLoad: () => setImageLoaded(true)
|
|
12970
12969
|
})), /*#__PURE__*/external_react_default().createElement("p", {
|
|
12971
12970
|
className: "mr-4"
|
|
12972
12971
|
}, policyTxt)), /*#__PURE__*/external_react_default().createElement("div", {
|
|
@@ -13004,4 +13003,4 @@ const CookieBanner = _ref => {
|
|
|
13004
13003
|
/******/ })()
|
|
13005
13004
|
;
|
|
13006
13005
|
});
|
|
13007
|
-
//# sourceMappingURL=main.
|
|
13006
|
+
//# sourceMappingURL=main.effc1bb275e09a1b9b20.js.map
|