@mjhls/mjh-framework 1.0.30 → 1.0.31
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/README.md +170 -170
- package/dist/index.es.js +17 -15
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +17 -15
- package/dist/index.js.map +1 -1
- package/package.json +77 -77
package/dist/index.js
CHANGED
|
@@ -2251,6 +2251,8 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
2251
2251
|
};
|
|
2252
2252
|
|
|
2253
2253
|
var Column1 = function Column1(props) {
|
|
2254
|
+
var title = props.title;
|
|
2255
|
+
|
|
2254
2256
|
return React__default.createElement(
|
|
2255
2257
|
'section',
|
|
2256
2258
|
null,
|
|
@@ -2259,11 +2261,11 @@ var Column1 = function Column1(props) {
|
|
|
2259
2261
|
{ className: 'justify-content-md-center' },
|
|
2260
2262
|
React__default.createElement(
|
|
2261
2263
|
Col,
|
|
2262
|
-
{ className: 'middleCol', style: { marginTop: !
|
|
2263
|
-
|
|
2264
|
+
{ className: 'middleCol', style: { marginTop: !title && '10px' } },
|
|
2265
|
+
title && React__default.createElement(
|
|
2264
2266
|
'h1',
|
|
2265
2267
|
null,
|
|
2266
|
-
|
|
2268
|
+
title
|
|
2267
2269
|
),
|
|
2268
2270
|
props.children
|
|
2269
2271
|
)
|
|
@@ -2272,7 +2274,8 @@ var Column1 = function Column1(props) {
|
|
|
2272
2274
|
};
|
|
2273
2275
|
|
|
2274
2276
|
var Column2 = function Column2(props) {
|
|
2275
|
-
var rightItems = props.rightItems
|
|
2277
|
+
var rightItems = props.rightItems,
|
|
2278
|
+
title = props.title;
|
|
2276
2279
|
|
|
2277
2280
|
|
|
2278
2281
|
return React__default.createElement(
|
|
@@ -2283,11 +2286,11 @@ var Column2 = function Column2(props) {
|
|
|
2283
2286
|
{ className: 'justify-content-md-center' },
|
|
2284
2287
|
React__default.createElement(
|
|
2285
2288
|
Col,
|
|
2286
|
-
{ md: true, className: 'middleCol', style: { marginTop: !
|
|
2287
|
-
|
|
2289
|
+
{ md: true, className: 'middleCol', style: { marginTop: !title && '10px' } },
|
|
2290
|
+
title && React__default.createElement(
|
|
2288
2291
|
'h1',
|
|
2289
2292
|
null,
|
|
2290
|
-
|
|
2293
|
+
title
|
|
2291
2294
|
),
|
|
2292
2295
|
props.children
|
|
2293
2296
|
),
|
|
@@ -2378,8 +2381,8 @@ var LeftNav = function LeftNav(props) {
|
|
|
2378
2381
|
|
|
2379
2382
|
var Column3 = function Column3(props) {
|
|
2380
2383
|
var leftItems = props.leftItems,
|
|
2381
|
-
rightItems = props.rightItems
|
|
2382
|
-
|
|
2384
|
+
rightItems = props.rightItems,
|
|
2385
|
+
title = props.title;
|
|
2383
2386
|
|
|
2384
2387
|
return React__default.createElement(
|
|
2385
2388
|
'section',
|
|
@@ -2394,11 +2397,11 @@ var Column3 = function Column3(props) {
|
|
|
2394
2397
|
),
|
|
2395
2398
|
React__default.createElement(
|
|
2396
2399
|
Col,
|
|
2397
|
-
{ md: true, className: 'middleCol', style: { maxWidth: '640px', marginTop: !
|
|
2398
|
-
|
|
2400
|
+
{ md: true, className: 'middleCol', style: { maxWidth: '640px', marginTop: !title && '10px' } },
|
|
2401
|
+
title && React__default.createElement(
|
|
2399
2402
|
'h1',
|
|
2400
2403
|
null,
|
|
2401
|
-
|
|
2404
|
+
title
|
|
2402
2405
|
),
|
|
2403
2406
|
props.children
|
|
2404
2407
|
),
|
|
@@ -4746,8 +4749,7 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
4746
4749
|
keywords = props.keywords,
|
|
4747
4750
|
description = props.description,
|
|
4748
4751
|
website = props.website,
|
|
4749
|
-
horizontalAD = props.config.horizontalAD
|
|
4750
|
-
onSearch = props.onSearch;
|
|
4752
|
+
horizontalAD = props.config.horizontalAD;
|
|
4751
4753
|
|
|
4752
4754
|
|
|
4753
4755
|
var navigation = function navigation() {
|
|
@@ -4793,7 +4795,7 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
4793
4795
|
return React__default.createElement(
|
|
4794
4796
|
'section',
|
|
4795
4797
|
null,
|
|
4796
|
-
React__default.createElement(Header, { title: title, keyword: keywords, description: description }),
|
|
4798
|
+
React__default.createElement(Header, { title: title + ' | ' + website.title, keyword: keywords, description: description }),
|
|
4797
4799
|
navigation(),
|
|
4798
4800
|
horizontalAD && horizontalAD.networkID && horizontalAD.adUnit && React__default.createElement(
|
|
4799
4801
|
Container,
|