iglooform 2.5.34 → 2.5.36
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/es/layout/footer.js
CHANGED
|
@@ -17,7 +17,8 @@ var LayoutFooter = function LayoutFooter(_ref) {
|
|
|
17
17
|
tel = _ref.tel,
|
|
18
18
|
email = _ref.email,
|
|
19
19
|
workTime = _ref.workTime,
|
|
20
|
-
address = _ref.address
|
|
20
|
+
address = _ref.address,
|
|
21
|
+
companyIcon = _ref.companyIcon;
|
|
21
22
|
var useBreakpoint = _Grid.useBreakpoint;
|
|
22
23
|
|
|
23
24
|
var _useBreakpoint = useBreakpoint(),
|
|
@@ -88,7 +89,9 @@ var LayoutFooter = function LayoutFooter(_ref) {
|
|
|
88
89
|
className: "footer-top",
|
|
89
90
|
children: [!hiddenIglooIcon && _jsx("div", {
|
|
90
91
|
className: "top-left",
|
|
91
|
-
children: _jsx("
|
|
92
|
+
children: companyIcon ? _jsx("img", {
|
|
93
|
+
src: companyIcon
|
|
94
|
+
}) : _jsx("div", {
|
|
92
95
|
className: "igloo-logo"
|
|
93
96
|
})
|
|
94
97
|
}), topRightContent]
|
|
@@ -134,9 +137,11 @@ var LayoutFooter = function LayoutFooter(_ref) {
|
|
|
134
137
|
className: "igloo-layout-footer",
|
|
135
138
|
children: _jsxs("div", {
|
|
136
139
|
className: "footer-content",
|
|
137
|
-
children: [extraInfo && extraInfo(), !hiddenIglooIcon && _jsx("
|
|
140
|
+
children: [extraInfo && extraInfo(), !hiddenIglooIcon && (companyIcon ? _jsx("img", {
|
|
141
|
+
src: companyIcon
|
|
142
|
+
}) : _jsx("div", {
|
|
138
143
|
className: "igloo-logo"
|
|
139
|
-
}), _jsxs("div", {
|
|
144
|
+
})), _jsxs("div", {
|
|
140
145
|
className: classnames('compony-info', {
|
|
141
146
|
'compony-info-without-icon': hiddenIglooIcon
|
|
142
147
|
}),
|
package/es/layout/index.d.ts
CHANGED
|
@@ -138,6 +138,12 @@
|
|
|
138
138
|
background: url(./logo.svg) no-repeat;
|
|
139
139
|
background-size: contain;
|
|
140
140
|
}
|
|
141
|
+
|
|
142
|
+
& > img {
|
|
143
|
+
width: 64px;
|
|
144
|
+
object-fit: contain;
|
|
145
|
+
margin-right: 40px;
|
|
146
|
+
}
|
|
141
147
|
}
|
|
142
148
|
|
|
143
149
|
.no-address-info {
|
|
@@ -322,6 +328,12 @@
|
|
|
322
328
|
width: 100%;
|
|
323
329
|
margin: 0 auto;
|
|
324
330
|
|
|
331
|
+
& > img {
|
|
332
|
+
width: 44px;
|
|
333
|
+
margin-bottom: 8px;
|
|
334
|
+
object-fit: contain;
|
|
335
|
+
}
|
|
336
|
+
|
|
325
337
|
.igloo-logo {
|
|
326
338
|
width: 44px;
|
|
327
339
|
height: 24px;
|
package/lib/layout/footer.js
CHANGED
|
@@ -35,7 +35,8 @@ var LayoutFooter = function LayoutFooter(_ref) {
|
|
|
35
35
|
tel = _ref.tel,
|
|
36
36
|
email = _ref.email,
|
|
37
37
|
workTime = _ref.workTime,
|
|
38
|
-
address = _ref.address
|
|
38
|
+
address = _ref.address,
|
|
39
|
+
companyIcon = _ref.companyIcon;
|
|
39
40
|
var useBreakpoint = _grid.default.useBreakpoint;
|
|
40
41
|
|
|
41
42
|
var _useBreakpoint = useBreakpoint(),
|
|
@@ -106,7 +107,9 @@ var LayoutFooter = function LayoutFooter(_ref) {
|
|
|
106
107
|
className: "footer-top",
|
|
107
108
|
children: [!hiddenIglooIcon && (0, _jsxRuntime.jsx)("div", {
|
|
108
109
|
className: "top-left",
|
|
109
|
-
children: (0, _jsxRuntime.jsx)("
|
|
110
|
+
children: companyIcon ? (0, _jsxRuntime.jsx)("img", {
|
|
111
|
+
src: companyIcon
|
|
112
|
+
}) : (0, _jsxRuntime.jsx)("div", {
|
|
110
113
|
className: "igloo-logo"
|
|
111
114
|
})
|
|
112
115
|
}), topRightContent]
|
|
@@ -152,9 +155,11 @@ var LayoutFooter = function LayoutFooter(_ref) {
|
|
|
152
155
|
className: "igloo-layout-footer",
|
|
153
156
|
children: (0, _jsxRuntime.jsxs)("div", {
|
|
154
157
|
className: "footer-content",
|
|
155
|
-
children: [extraInfo && extraInfo(), !hiddenIglooIcon && (0, _jsxRuntime.jsx)("
|
|
158
|
+
children: [extraInfo && extraInfo(), !hiddenIglooIcon && (companyIcon ? (0, _jsxRuntime.jsx)("img", {
|
|
159
|
+
src: companyIcon
|
|
160
|
+
}) : (0, _jsxRuntime.jsx)("div", {
|
|
156
161
|
className: "igloo-logo"
|
|
157
|
-
}), (0, _jsxRuntime.jsxs)("div", {
|
|
162
|
+
})), (0, _jsxRuntime.jsxs)("div", {
|
|
158
163
|
className: (0, _classnames.default)('compony-info', {
|
|
159
164
|
'compony-info-without-icon': hiddenIglooIcon
|
|
160
165
|
}),
|
package/lib/layout/index.d.ts
CHANGED
|
@@ -138,6 +138,12 @@
|
|
|
138
138
|
background: url(./logo.svg) no-repeat;
|
|
139
139
|
background-size: contain;
|
|
140
140
|
}
|
|
141
|
+
|
|
142
|
+
& > img {
|
|
143
|
+
width: 64px;
|
|
144
|
+
object-fit: contain;
|
|
145
|
+
margin-right: 40px;
|
|
146
|
+
}
|
|
141
147
|
}
|
|
142
148
|
|
|
143
149
|
.no-address-info {
|
|
@@ -322,6 +328,12 @@
|
|
|
322
328
|
width: 100%;
|
|
323
329
|
margin: 0 auto;
|
|
324
330
|
|
|
331
|
+
& > img {
|
|
332
|
+
width: 44px;
|
|
333
|
+
margin-bottom: 8px;
|
|
334
|
+
object-fit: contain;
|
|
335
|
+
}
|
|
336
|
+
|
|
325
337
|
.igloo-logo {
|
|
326
338
|
width: 44px;
|
|
327
339
|
height: 24px;
|