@bigbinary/neeto-site-blocks 1.9.4 → 1.9.5
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/dist/index.cjs.js +21 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +21 -17
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -40225,7 +40225,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40225
40225
|
socialIcons = properties.socialIcons,
|
|
40226
40226
|
isPositionCentre = properties.isPositionCentre,
|
|
40227
40227
|
src = properties.backgroundImage.src;
|
|
40228
|
-
var baseClasses = "
|
|
40228
|
+
var baseClasses = "flex flex-col gap-y-8";
|
|
40229
40229
|
if (isPositionCentre) {
|
|
40230
40230
|
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
40231
40231
|
className: className,
|
|
@@ -40297,34 +40297,43 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40297
40297
|
}, design.backgroundImage),
|
|
40298
40298
|
design: design.body,
|
|
40299
40299
|
nestedClassName: baseClasses
|
|
40300
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40301
|
+
className: "flex flex-col justify-between gap-x-6 sm:flex-row"
|
|
40302
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40303
|
+
className: "mb-8 flex flex-shrink-0 justify-start sm:mb-0"
|
|
40300
40304
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40301
40305
|
image: image,
|
|
40302
40306
|
design: design.logo,
|
|
40303
40307
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40304
40308
|
id: "footer-classic-logo",
|
|
40305
|
-
src: logo.src
|
|
40306
|
-
|
|
40307
|
-
|
|
40308
|
-
className: "col-span-12 grid grid-cols-4 gap-x-10 gap-y-4 sm:col-span-10 sm:col-start-4 sm:flex sm:justify-end",
|
|
40309
|
+
src: logo.src
|
|
40310
|
+
})), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
|
|
40311
|
+
className: "flex flex-grow flex-wrap gap-x-7 gap-y-4 sm:justify-end",
|
|
40309
40312
|
isVisible: neetoCist.isNotEmpty(links)
|
|
40310
40313
|
}, links.map(function (link, index) {
|
|
40311
40314
|
return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
40312
40315
|
index: index,
|
|
40313
|
-
className: "col-span-1 hover:text-gray-700",
|
|
40314
40316
|
id: "footer-classic-links-".concat(index, "-link"),
|
|
40315
40317
|
key: getUniqueKey(link.label, index)
|
|
40316
40318
|
}, link, {
|
|
40317
40319
|
style: design.links
|
|
40318
40320
|
}, otherProps));
|
|
40319
|
-
})), /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
40321
|
+
}))), /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
40320
40322
|
as: "hr",
|
|
40321
40323
|
className: "col-span-12",
|
|
40322
40324
|
design: {
|
|
40323
40325
|
borderColor: "#C2C8CC"
|
|
40324
40326
|
}
|
|
40325
|
-
}), /*#__PURE__*/React__default["default"].createElement(
|
|
40326
|
-
className: "col-span-12
|
|
40327
|
-
|
|
40327
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40328
|
+
className: "col-span-12 grid grid-cols-1 items-center gap-4 sm:grid-cols-2 "
|
|
40329
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40330
|
+
className: "order-2 sm:order-1"
|
|
40331
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
40332
|
+
className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-1 sm:justify-start sm:text-left",
|
|
40333
|
+
id: "footer-classic-copyright-text",
|
|
40334
|
+
style: design.copyrightText
|
|
40335
|
+
}, otherProps), copyrightText)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40336
|
+
className: "order-1 flex justify-center space-x-4 sm:order-2 sm:justify-end"
|
|
40328
40337
|
}, socialIcons.map(function (_icon2, index) {
|
|
40329
40338
|
return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
40330
40339
|
id: "footer-classic-social-icons-".concat(index, "-link"),
|
|
@@ -40332,18 +40341,13 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40332
40341
|
icon: function icon() {
|
|
40333
40342
|
return renderIcon(_objectSpread$a({
|
|
40334
40343
|
name: _icon2.name,
|
|
40335
|
-
type: _icon2.type
|
|
40336
|
-
className: "hover:text-gray-600"
|
|
40344
|
+
type: _icon2.type
|
|
40337
40345
|
}, design.socialIcon));
|
|
40338
40346
|
}
|
|
40339
40347
|
}, _objectSpread$a(_objectSpread$a({
|
|
40340
40348
|
index: index
|
|
40341
40349
|
}, _icon2), otherProps)));
|
|
40342
|
-
}))
|
|
40343
|
-
className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-1 sm:justify-start",
|
|
40344
|
-
id: "footer-classic-copyright-text",
|
|
40345
|
-
style: design.copyrightText
|
|
40346
|
-
}, otherProps), copyrightText));
|
|
40350
|
+
}))));
|
|
40347
40351
|
};
|
|
40348
40352
|
|
|
40349
40353
|
var _excluded$c = ["configurations", "className", "id", "image"];
|