iglooform 2.5.34 → 2.5.35

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.
@@ -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("div", {
92
+ children: companyIcon ? _jsx("img", {
93
+ src: companyIcon
94
+ }) : _jsx("div", {
92
95
  className: "igloo-logo"
93
96
  })
94
97
  }), topRightContent]
@@ -37,6 +37,7 @@ export interface FooterConfig {
37
37
  email?: string;
38
38
  workTime?: any;
39
39
  address?: string;
40
+ companyIcon?: string;
40
41
  }
41
42
  interface layoutType {
42
43
  hiddenIglooIcon?: boolean;
@@ -138,6 +138,13 @@
138
138
  background: url(./logo.svg) no-repeat;
139
139
  background-size: contain;
140
140
  }
141
+
142
+ & > img {
143
+ width: 64px;
144
+ height: 36px;
145
+ object-fit: contain;
146
+ margin-right: 40px;
147
+ }
141
148
  }
142
149
 
143
150
  .no-address-info {
@@ -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)("div", {
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]
@@ -37,6 +37,7 @@ export interface FooterConfig {
37
37
  email?: string;
38
38
  workTime?: any;
39
39
  address?: string;
40
+ companyIcon?: string;
40
41
  }
41
42
  interface layoutType {
42
43
  hiddenIglooIcon?: boolean;
@@ -138,6 +138,13 @@
138
138
  background: url(./logo.svg) no-repeat;
139
139
  background-size: contain;
140
140
  }
141
+
142
+ & > img {
143
+ width: 64px;
144
+ height: 36px;
145
+ object-fit: contain;
146
+ margin-right: 40px;
147
+ }
141
148
  }
142
149
 
143
150
  .no-address-info {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iglooform",
3
- "version": "2.5.34",
3
+ "version": "2.5.35",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "build-dev": "dumi build",