diy-template-components 0.0.64 → 0.0.67

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/build/index.js CHANGED
@@ -156,7 +156,8 @@ const useSectionStyles$a = createUseStyles(theme => ({
156
156
  fontWeight: '500',
157
157
  fontSize: '16px',
158
158
  lineHeight: '24px',
159
- color: '#3C4852'
159
+ color: '#3C4852',
160
+ marginLeft: "8px"
160
161
  },
161
162
  mobileContent: {
162
163
  display: 'flex',
@@ -244,7 +245,8 @@ const useSectionStyles$a = createUseStyles(theme => ({
244
245
  '-webkit-box-orient': 'vertical',
245
246
  overflow: 'hidden',
246
247
  textOverflow: 'ellipsis',
247
- overflowWrap: 'anywhere'
248
+ overflowWrap: 'anywhere',
249
+ marginLeft: "0px"
248
250
  }
249
251
  }));
250
252
 
@@ -1140,9 +1142,11 @@ function DesktopHeader({
1140
1142
  className: classes.imageAnchor
1141
1143
  }, /*#__PURE__*/React__default["default"].createElement("img", {
1142
1144
  src: header?.websiteLogo
1143
- })) : null, isTutorWebsite && header?.appName ? /*#__PURE__*/React__default["default"].createElement("p", {
1145
+ })) : null, isTutorWebsite && header?.appName ? /*#__PURE__*/React__default["default"].createElement("a", {
1146
+ href: logoUrl
1147
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
1144
1148
  className: classes.appNameClass
1145
- }, " ", header?.appName) : null), /*#__PURE__*/React__default["default"].createElement(OptionList, {
1149
+ }, " ", header?.appName)) : null), /*#__PURE__*/React__default["default"].createElement(OptionList, {
1146
1150
  optionsData: optionDataFn(),
1147
1151
  navDataCount: navData?.length,
1148
1152
  headerData: header,
@@ -1259,22 +1263,7 @@ function MobileHeader({
1259
1263
  rel: null
1260
1264
  });
1261
1265
  } else {
1262
- if (header?.appLink) {
1263
- downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
1264
- data: {
1265
- link: header?.appLink,
1266
- isLink: 1,
1267
- value: 'Download App',
1268
- isExternal: 1
1269
- },
1270
- type: 'primary',
1271
- size: 'small',
1272
- target: 'blank',
1273
- rel: null
1274
- });
1275
- } else {
1276
- downloadLink = null;
1277
- }
1266
+ downloadLink = null;
1278
1267
  }
1279
1268
  } else {
1280
1269
  if (header?.appLink) {