ordering-ui-external 1.7.0 → 1.7.1
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/_modules/themes/five/src/components/Footer/styles.js +1 -1
- package/_modules/themes/five/src/components/HomeHero/layouts/OriginalHomeHero/index.js +1 -1
- package/package.json +1 -1
- package/src/themes/five/src/components/Footer/styles.js +1 -5
- package/src/themes/five/src/components/HomeHero/layouts/OriginalHomeHero/index.js +1 -1
|
@@ -10,7 +10,7 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
|
|
|
10
10
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
11
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
12
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
13
|
-
var Container = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n
|
|
13
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n"])));
|
|
14
14
|
exports.Container = Container;
|
|
15
15
|
var FooterWrapper = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-start;\n justify-content: center;\n width: 100%;\n flex-wrap: wrap;\n flex-direction: column;\n border-bottom: 1px solid #d9d9d9;\n\n @media (min-width: 768px) {\n flex-direction: row;\n justify-content: flex-start;\n }\n"])));
|
|
16
16
|
exports.FooterWrapper = FooterWrapper;
|
|
@@ -129,7 +129,7 @@ var OriginalHomeHero = function OriginalHomeHero(props) {
|
|
|
129
129
|
};
|
|
130
130
|
}, []);
|
|
131
131
|
return /*#__PURE__*/_react.default.createElement(_styles.HeroContainer, {
|
|
132
|
-
mb: !auth && '30vh',
|
|
132
|
+
mb: !auth && isShowLoginAccount && '30vh',
|
|
133
133
|
bgimage: bgImg || (windowSize.width < 576 ? (_theme$images = theme.images) === null || _theme$images === void 0 ? void 0 : (_theme$images$general = _theme$images.general) === null || _theme$images$general === void 0 ? void 0 : _theme$images$general.homeHeroMobile : (_theme$images2 = theme.images) === null || _theme$images2 === void 0 ? void 0 : (_theme$images2$genera = _theme$images2.general) === null || _theme$images2$genera === void 0 ? void 0 : _theme$images2$genera.homeHero),
|
|
134
134
|
isFullScreen: isFullScreen
|
|
135
135
|
}, /*#__PURE__*/_react.default.createElement(_styles.ContentWrapper, null, windowSize.width < 576 && /*#__PURE__*/_react.default.createElement(_styles.LogoWrapper, null, /*#__PURE__*/_react.default.createElement("img", {
|
package/package.json
CHANGED
|
@@ -93,7 +93,7 @@ export const OriginalHomeHero = (props) => {
|
|
|
93
93
|
|
|
94
94
|
return (
|
|
95
95
|
<HeroContainer
|
|
96
|
-
mb={!auth && '30vh'}
|
|
96
|
+
mb={!auth && isShowLoginAccount && '30vh'}
|
|
97
97
|
bgimage={bgImg || (windowSize.width < 576
|
|
98
98
|
? theme.images?.general?.homeHeroMobile
|
|
99
99
|
: theme.images?.general?.homeHero)}
|