@mjhls/mjh-framework 1.0.231 → 1.0.233
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 +1 -1
- package/dist/cjs/IssueContentDeck.js +14 -2
- package/dist/cjs/IssueDeck.js +14 -2
- package/dist/cjs/{Normal-5cf206ec.js → Normal-821546cd.js} +6 -2
- package/dist/cjs/PublicationDeck.js +14 -2
- package/dist/cjs/TemplateNormal.js +1 -1
- package/dist/cjs/index.js +25 -17
- package/dist/esm/IssueContentDeck.js +14 -2
- package/dist/esm/IssueDeck.js +14 -2
- package/dist/esm/{Normal-9fb1e124.js → Normal-20ff5bf5.js} +6 -2
- package/dist/esm/PublicationDeck.js +14 -2
- package/dist/esm/TemplateNormal.js +1 -1
- package/dist/esm/index.js +26 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
42
42
|
return React__default.createElement(
|
|
43
43
|
Row,
|
|
44
44
|
null,
|
|
45
|
-
data && data.map(function (row, index) {
|
|
45
|
+
data && data.length ? data.map(function (row, index) {
|
|
46
46
|
return row.url && row.url.current && React__default.createElement(
|
|
47
47
|
Col,
|
|
48
48
|
{ md: 12, lg: 6, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
@@ -74,7 +74,19 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
74
74
|
)
|
|
75
75
|
)
|
|
76
76
|
);
|
|
77
|
-
})
|
|
77
|
+
}) : React__default.createElement(
|
|
78
|
+
'div',
|
|
79
|
+
null,
|
|
80
|
+
React__default.createElement(
|
|
81
|
+
'h5',
|
|
82
|
+
null,
|
|
83
|
+
React__default.createElement(
|
|
84
|
+
'em',
|
|
85
|
+
{ className: 'pl-3' },
|
|
86
|
+
'New content coming soon, please check back later.'
|
|
87
|
+
)
|
|
88
|
+
)
|
|
89
|
+
)
|
|
78
90
|
);
|
|
79
91
|
};
|
|
80
92
|
|
package/dist/cjs/IssueDeck.js
CHANGED
|
@@ -44,7 +44,7 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
44
44
|
return React__default.createElement(
|
|
45
45
|
Row,
|
|
46
46
|
null,
|
|
47
|
-
data && data.map(function (row, index) {
|
|
47
|
+
data && data.length ? data.map(function (row, index) {
|
|
48
48
|
return publication && row.identifier && row.identifier.current && React__default.createElement(
|
|
49
49
|
Col,
|
|
50
50
|
{ md: 12, lg: 12, key: index },
|
|
@@ -137,7 +137,19 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
137
137
|
)
|
|
138
138
|
)
|
|
139
139
|
);
|
|
140
|
-
})
|
|
140
|
+
}) : React__default.createElement(
|
|
141
|
+
'div',
|
|
142
|
+
null,
|
|
143
|
+
React__default.createElement(
|
|
144
|
+
'h5',
|
|
145
|
+
null,
|
|
146
|
+
React__default.createElement(
|
|
147
|
+
'em',
|
|
148
|
+
{ className: 'pl-3' },
|
|
149
|
+
'New content coming soon, please check back later.'
|
|
150
|
+
)
|
|
151
|
+
)
|
|
152
|
+
)
|
|
141
153
|
);
|
|
142
154
|
};
|
|
143
155
|
|
|
@@ -2023,8 +2023,12 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
2023
2023
|
}, []);
|
|
2024
2024
|
|
|
2025
2025
|
React.useEffect(function () {
|
|
2026
|
-
|
|
2027
|
-
|
|
2026
|
+
var handleResize = function handleResize() {
|
|
2027
|
+
window.location.reload();
|
|
2028
|
+
console.log('Screen size changed. Refreshing page.');
|
|
2029
|
+
};
|
|
2030
|
+
window.addEventListener('resize', handleResize);
|
|
2031
|
+
}, []);
|
|
2028
2032
|
|
|
2029
2033
|
React.useEffect(function () {
|
|
2030
2034
|
var navOffsetTop = navRef.current.getBoundingClientRect().top;
|
|
@@ -42,7 +42,7 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
42
42
|
return React__default.createElement(
|
|
43
43
|
Row,
|
|
44
44
|
null,
|
|
45
|
-
data && data.map(function (row, index) {
|
|
45
|
+
data && data.length ? data.map(function (row, index) {
|
|
46
46
|
return row.identifier && row.identifier.current && React__default.createElement(
|
|
47
47
|
Col,
|
|
48
48
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
@@ -74,7 +74,19 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
74
74
|
)
|
|
75
75
|
)
|
|
76
76
|
);
|
|
77
|
-
})
|
|
77
|
+
}) : React__default.createElement(
|
|
78
|
+
'div',
|
|
79
|
+
null,
|
|
80
|
+
React__default.createElement(
|
|
81
|
+
'h5',
|
|
82
|
+
null,
|
|
83
|
+
React__default.createElement(
|
|
84
|
+
'em',
|
|
85
|
+
{ className: 'pl-3' },
|
|
86
|
+
'New content coming soon, please check back later.'
|
|
87
|
+
)
|
|
88
|
+
)
|
|
89
|
+
)
|
|
78
90
|
);
|
|
79
91
|
};
|
|
80
92
|
|
|
@@ -16,7 +16,7 @@ require('./get-126b1712.js');
|
|
|
16
16
|
require('react-bootstrap');
|
|
17
17
|
require('./index.esm-340d3792.js');
|
|
18
18
|
require('react-bootstrap/Button');
|
|
19
|
-
var TemplateNormal = require('./Normal-
|
|
19
|
+
var TemplateNormal = require('./Normal-821546cd.js');
|
|
20
20
|
require('react-bootstrap/ListGroup');
|
|
21
21
|
require('next/head');
|
|
22
22
|
require('react-bootstrap/Nav');
|
package/dist/cjs/index.js
CHANGED
|
@@ -44,7 +44,7 @@ var PublicationDeck = require('./PublicationDeck.js');
|
|
|
44
44
|
var IssueDeck = require('./IssueDeck.js');
|
|
45
45
|
require('react-bootstrap/Badge');
|
|
46
46
|
var IssueContentDeck = require('./IssueContentDeck.js');
|
|
47
|
-
var TemplateNormal = require('./Normal-
|
|
47
|
+
var TemplateNormal = require('./Normal-821546cd.js');
|
|
48
48
|
require('react-bootstrap/ListGroup');
|
|
49
49
|
var Head = _interopDefault(require('next/head'));
|
|
50
50
|
var Accordion = _interopDefault(require('react-bootstrap/Accordion'));
|
|
@@ -798,7 +798,7 @@ var FigureComponent = function FigureComponent(_ref) {
|
|
|
798
798
|
};
|
|
799
799
|
|
|
800
800
|
var urlFor$1 = function urlFor(source, builder) {
|
|
801
|
-
return builder.image(source);
|
|
801
|
+
return builder.image(source).auto('format');
|
|
802
802
|
};
|
|
803
803
|
|
|
804
804
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
@@ -3460,7 +3460,7 @@ var Media = function Media(_ref) {
|
|
|
3460
3460
|
var builder = index$1.imageUrlBuilder(client);
|
|
3461
3461
|
|
|
3462
3462
|
var urlFor = function urlFor(source) {
|
|
3463
|
-
return builder.image(source);
|
|
3463
|
+
return builder.image(source).auto('format');
|
|
3464
3464
|
};
|
|
3465
3465
|
|
|
3466
3466
|
var renderFigure = function renderFigure(uploadDoc, poster, blank, caption) {
|
|
@@ -10784,7 +10784,7 @@ var Leads = function Leads(_ref) {
|
|
|
10784
10784
|
|
|
10785
10785
|
var urlFor$2 = function urlFor(source, client) {
|
|
10786
10786
|
var builder = index$1.imageUrlBuilder(client);
|
|
10787
|
-
return builder.image(source);
|
|
10787
|
+
return builder.image(source).auto('format');
|
|
10788
10788
|
};
|
|
10789
10789
|
|
|
10790
10790
|
var Slideshow$1 = function Slideshow(_ref) {
|
|
@@ -11386,7 +11386,7 @@ var SetCookie = function SetCookie(key, value) {
|
|
|
11386
11386
|
|
|
11387
11387
|
var urlFor$3 = function urlFor(source, client) {
|
|
11388
11388
|
var builder = index$1.imageUrlBuilder(client);
|
|
11389
|
-
return builder.image(source);
|
|
11389
|
+
return builder.image(source).auto('format');
|
|
11390
11390
|
};
|
|
11391
11391
|
|
|
11392
11392
|
var renderCardImage = function renderCardImage(thumbnail, client, imageHeight, imageWidth) {
|
|
@@ -11684,7 +11684,7 @@ var fbsHero = function fbsHero(props) {
|
|
|
11684
11684
|
|
|
11685
11685
|
var builder = index$1.imageUrlBuilder(client);
|
|
11686
11686
|
function urlFor(source) {
|
|
11687
|
-
return builder.image(source);
|
|
11687
|
+
return builder.image(source).auto('format');
|
|
11688
11688
|
}
|
|
11689
11689
|
|
|
11690
11690
|
var topArticleThumbnail = '';
|
|
@@ -11793,7 +11793,7 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
11793
11793
|
|
|
11794
11794
|
var builder = index$1.imageUrlBuilder(client);
|
|
11795
11795
|
function urlFor(source) {
|
|
11796
|
-
return builder.image(source);
|
|
11796
|
+
return builder.image(source).auto('format');
|
|
11797
11797
|
}
|
|
11798
11798
|
var topArticle = props.dataRecord[0];
|
|
11799
11799
|
var subArticles = props.dataRecord.slice(1, props.dataRecord.length);
|
|
@@ -11838,7 +11838,7 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
11838
11838
|
{ className: 'horizontal-articles-wrap' },
|
|
11839
11839
|
React__default.createElement(
|
|
11840
11840
|
'a',
|
|
11841
|
-
{ href: topArticle.url.current, className: 'horizontal-article' },
|
|
11841
|
+
{ href: '/view/' + topArticle.url.current, className: 'horizontal-article' },
|
|
11842
11842
|
React__default.createElement(
|
|
11843
11843
|
'p',
|
|
11844
11844
|
null,
|
|
@@ -11878,7 +11878,7 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
11878
11878
|
React__default.createElement(
|
|
11879
11879
|
'style',
|
|
11880
11880
|
{ jsx: 'true' },
|
|
11881
|
-
'\n .horizontal-hero-container {\n margin-bottom: 3rem;\n margin-top: 2rem;\n position: relative;\n }\n .horizontal-hero-title {\n position: absolute;\n top: -25px;\n background: white;\n z-index: 2;\n padding-right: 1.5rem;\n font-weight: bold;\n }\n .horizontal-hero-inner {\n display: flex;\n flex-direction: row;\n padding-top: 0.75rem;\n margin-top: 0.75rem;\n }\n\n .horizontal-articles-wrap {\n padding: 0 1rem;\n }\n\n .horizontal-hero-img {\n width: 33%;\n min-width: 200px;\n }\n .horizontal-hero-img img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .horizontal-article {\n border-bottom: 1px solid #ccc;\n display: block;\n margin-bottom: 0.5rem;\n }\n .horizontal-article:hover {\n
|
|
11881
|
+
'\n .horizontal-hero-container {\n margin-bottom: 3rem;\n margin-top: 2rem;\n position: relative;\n }\n .horizontal-hero-title {\n position: absolute;\n top: -25px;\n background: white;\n z-index: 2;\n padding-right: 1.5rem;\n font-weight: bold;\n }\n .horizontal-hero-inner {\n display: flex;\n flex-direction: row;\n padding-top: 0.75rem;\n margin-top: 0.75rem;\n }\n\n .horizontal-articles-wrap {\n padding: 0 1rem;\n }\n\n .horizontal-hero-img {\n width: 33%;\n min-width: 200px;\n }\n .horizontal-hero-img img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .horizontal-article {\n border-bottom: 1px solid #ccc;\n display: block;\n margin-bottom: 0.5rem;\n }\n .horizontal-article:hover {\n background: #eee;\n }\n .horizontal-article p {\n margin-bottom: 0.5rem;\n font-weight: bold;\n color: #252525;\n }\n .horizontal-view-more {\n position: absolute;\n right: 0;\n margin-top: 0.25rem;\n font-weight: bold;\n }\n .horizontal-view-more span {\n display: inline-block;\n color: rgb(81, 116, 153);\n font-size: 1.2rem;\n }\n @media screen and (max-width: 768px) {\n .horizontal-hero-img {\n display: none;\n }\n }\n '
|
|
11882
11882
|
)
|
|
11883
11883
|
);
|
|
11884
11884
|
};
|
|
@@ -11888,7 +11888,7 @@ var OncliveHero = function OncliveHero(props) {
|
|
|
11888
11888
|
|
|
11889
11889
|
var builder = index$1.imageUrlBuilder(client);
|
|
11890
11890
|
function urlFor(source) {
|
|
11891
|
-
return builder.image(source);
|
|
11891
|
+
return builder.image(source).auto('format');
|
|
11892
11892
|
}
|
|
11893
11893
|
return React__default.createElement(
|
|
11894
11894
|
'div',
|
|
@@ -11941,7 +11941,7 @@ var OncliveHero = function OncliveHero(props) {
|
|
|
11941
11941
|
React__default.createElement(
|
|
11942
11942
|
'style',
|
|
11943
11943
|
{ jsx: 'true' },
|
|
11944
|
-
'\n .article-group--container {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n }\n .article-group--container * {\n transition: all 0.13s ease;\n }\n .article-group {\n display: flex;\n flex-direction: row;\n flex: 1 1 auto;\n margin: 0.5rem 1rem;\n width: calc(50% - 2rem);\n background: #fff;\n min-width: 320px;\n transition: all 0.1s ease-out;\n border-top: 1px solid #eee;\n position: relative;\n overflow: hidden;\n }\n
|
|
11944
|
+
'\n .article-group--container {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n }\n .article-group--container * {\n transition: all 0.13s ease;\n }\n .article-group {\n display: flex;\n flex-direction: row;\n flex: 1 1 auto;\n margin: 0.5rem 1rem;\n width: calc(50% - 2rem);\n background: #fff;\n min-width: 320px;\n transition: all 0.1s ease-out;\n border-top: 1px solid #eee;\n position: relative;\n overflow: hidden;\n }\n\n .article-group:nth-of-type(1) {\n width: 100%;\n }\n .article-group:nth-of-type(1) .article-group--body {\n }\n .article-group:nth-of-type(1) figure img {\n width: 225px;\n }\n .article-group:nth-of-type(1) .article-group--body h2 {\n font-size: 1.4rem;\n }\n .article-group:nth-of-type(1) .article-group--summary {\n display: block;\n }\n @media screen and (max-width: 1091px) {\n .article-group:nth-of-type(1) {\n width: 100%;\n }\n .article-group:nth-of-type(1) .article-group--summary {\n display: none;\n }\n .article-group:nth-of-type(1) figure img {\n width: 130px;\n }\n .article-group:nth-of-type(1) .article-group--body h2 {\n font-size: 1rem;\n }\n }\n .article-group figure {\n margin-bottom: 0;\n }\n .article-group figure img {\n height: 100%;\n width: 130px;\n object-fit: contain;\n }\n\n .article-group--body {\n padding-left: 1rem;\n }\n .article-group--body p {\n font-size: 0.9rem;\n }\n .article-group--body h2 {\n font-weight: bold;\n margin-top: 1rem;\n font-size: 1rem;\n padding-right: 0.5rem;\n }\n .article-group--summary {\n font-size: 1rem;\n display: none;\n }\n '
|
|
11945
11945
|
)
|
|
11946
11946
|
);
|
|
11947
11947
|
};
|
|
@@ -11954,7 +11954,7 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
|
|
|
11954
11954
|
|
|
11955
11955
|
var builder = index$1.imageUrlBuilder(client);
|
|
11956
11956
|
function urlFor(source) {
|
|
11957
|
-
return builder.image(source);
|
|
11957
|
+
return builder.image(source).auto('format');
|
|
11958
11958
|
}
|
|
11959
11959
|
|
|
11960
11960
|
var topArticleThumbnail = '';
|
|
@@ -12150,7 +12150,7 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
12150
12150
|
|
|
12151
12151
|
var builder = index$1.imageUrlBuilder(client);
|
|
12152
12152
|
function urlFor(source) {
|
|
12153
|
-
return builder.image(source);
|
|
12153
|
+
return builder.image(source).auto('format');
|
|
12154
12154
|
}
|
|
12155
12155
|
var _props$heroTitle = props.heroTitle,
|
|
12156
12156
|
heroTitle = _props$heroTitle === undefined ? '' : _props$heroTitle;
|
|
@@ -12215,7 +12215,7 @@ var YahooHero = function YahooHero(props) {
|
|
|
12215
12215
|
|
|
12216
12216
|
var builder = index$1.imageUrlBuilder(client);
|
|
12217
12217
|
function urlFor(source) {
|
|
12218
|
-
return builder.image(source);
|
|
12218
|
+
return builder.image(source).auto('format');
|
|
12219
12219
|
}
|
|
12220
12220
|
|
|
12221
12221
|
var topArticleThumbnail = '';
|
|
@@ -12306,7 +12306,7 @@ var YahooHero = function YahooHero(props) {
|
|
|
12306
12306
|
React__default.createElement(
|
|
12307
12307
|
'style',
|
|
12308
12308
|
{ jsx: 'true' },
|
|
12309
|
-
'\n .yh-top-article {\n display: flex;\n flex-direction: row;\n position: relative;\n font-family: \'Roboto\', sans-serif;\n margin-bottom: 1rem;\n border-radius: 15px;\n overflow: hidden;\n min-height: 315px;\n }\n .yh-top-article--img {\n width: 100%;\n min-height: 240px;\n overflow: hidden;\n }\n .yh-top-article--img img {\n width: 100%;\n height: auto;\n min-height: 100%;\n max-height: 315px;\n object-fit: cover;\n }\n .yh-top-article--body {\n height: 100%;\n width: 40%;\n min-width: 320px;\n right: 0;\n position: absolute;\n color: white;\n padding: 1.75rem;\n height: 315px;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n }\n .yh-top-article--body h1 {\n color: white!important;\n font-size: 1.4rem;\n font-weight: 500;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--body p {\n font-size: 0.9rem;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--blur {\n height: 100%;\n width: 40%;\n right: 0;\n position: absolute;\n filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));\n background: rgba(0,0,0,.65);\n min-width: 320px;\n }\n .yh-sub-article-container {\n display: flex;\n justify-content: space-between;\n }\n .yh-sub-article {\n width: 23.25%;\n }\n .yh-sub-article p.yh-sub-article--title {\n font-weight: bold;\n }\n .yh-sub-article img {\n width: 100%;\n height: 150px;\n object-fit: cover;\n border-radius: 15px;\n }\n .yh-sub-article img[src=\'' + props.thumbnail + '\']{\n object-fit: contain;\n }\n .yh-sub-article--title {\n font-weight: bold;\n margin-top: .25rem;\n font-size: 1rem;\n margin-bottom: .25rem;\n }\n .yh-sub-article--info {\n font-size: .8rem;\n margin-bottom: 0;\n
|
|
12309
|
+
'\n .yh-top-article {\n display: flex;\n flex-direction: row;\n position: relative;\n font-family: \'Roboto\', sans-serif;\n margin-bottom: 1rem;\n border-radius: 15px;\n overflow: hidden;\n min-height: 315px;\n }\n .yh-top-article--img {\n width: 100%;\n min-height: 240px;\n overflow: hidden;\n }\n .yh-top-article--img img {\n width: 100%;\n height: auto;\n min-height: 100%;\n max-height: 315px;\n object-fit: cover;\n }\n .yh-top-article--body {\n height: 100%;\n width: 40%;\n min-width: 320px;\n right: 0;\n position: absolute;\n color: white;\n padding: 1.75rem;\n height: 315px;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n }\n .yh-top-article--body h1 {\n color: white!important;\n font-size: 1.4rem;\n font-weight: 500;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--body p {\n font-size: 0.9rem;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--blur {\n height: 100%;\n width: 40%;\n right: 0;\n position: absolute;\n filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));\n background: rgba(0,0,0,.65);\n min-width: 320px;\n }\n .yh-sub-article-container {\n display: flex;\n justify-content: space-between;\n }\n .yh-sub-article {\n width: 23.25%;\n }\n .yh-sub-article p.yh-sub-article--title {\n font-weight: bold;\n }\n .yh-sub-article img {\n width: 100%;\n height: 150px;\n object-fit: cover;\n border-radius: 15px;\n }\n .yh-sub-article img[src=\'' + props.thumbnail + '\']{\n object-fit: contain;\n }\n .yh-sub-article--title {\n font-weight: bold;\n margin-top: .25rem;\n font-size: 1rem;\n margin-bottom: .25rem;\n }\n .yh-sub-article--info {\n font-size: .8rem;\n margin-bottom: 0;\n\n }\n @media screen and (max-width: 968px) {\n .yh-sub-article-container {\n flex-wrap: wrap;\n }\n .yh-sub-article {\n width: 48%;\n margin-bottom: 1rem;\n }\n }\n '
|
|
12310
12310
|
)
|
|
12311
12311
|
);
|
|
12312
12312
|
};
|
|
@@ -12432,7 +12432,7 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
12432
12432
|
var builder = index$1.imageUrlBuilder(client);
|
|
12433
12433
|
|
|
12434
12434
|
function urlFor(source) {
|
|
12435
|
-
return builder.image(source);
|
|
12435
|
+
return builder.image(source).auto('format');
|
|
12436
12436
|
}
|
|
12437
12437
|
|
|
12438
12438
|
//title, thumbnail, summary, published, documentGroup.identifier.current, documentGroup.identifier.name
|
|
@@ -12597,6 +12597,7 @@ var Article = function Article(props) {
|
|
|
12597
12597
|
current: ''
|
|
12598
12598
|
} : _props$article$url;
|
|
12599
12599
|
var url = _props$article$url.current,
|
|
12600
|
+
issue = _props$article.issue,
|
|
12600
12601
|
changeUrl = props.changeUrl,
|
|
12601
12602
|
isCutomPage = props.isCutomPage,
|
|
12602
12603
|
shareOptions = props.shareOptions,
|
|
@@ -12690,7 +12691,14 @@ var Article = function Article(props) {
|
|
|
12690
12691
|
serializers: getSerializers(client, pageview, videoAccountIDs, function () {}, true),
|
|
12691
12692
|
blocks: articleBody,
|
|
12692
12693
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
12693
|
-
}, client.config()))
|
|
12694
|
+
}, client.config())),
|
|
12695
|
+
issue && issue.url && React__default.createElement(
|
|
12696
|
+
'a',
|
|
12697
|
+
{ href: issue.url, target: '_blank', title: 'Download issue' },
|
|
12698
|
+
React__default.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
12699
|
+
'Download Issue : ',
|
|
12700
|
+
issue.name
|
|
12701
|
+
)
|
|
12694
12702
|
)
|
|
12695
12703
|
),
|
|
12696
12704
|
renderIsiContent(props.article)
|
|
@@ -37,7 +37,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
37
37
|
return React__default.createElement(
|
|
38
38
|
Row,
|
|
39
39
|
null,
|
|
40
|
-
data && data.map(function (row, index) {
|
|
40
|
+
data && data.length ? data.map(function (row, index) {
|
|
41
41
|
return row.url && row.url.current && React__default.createElement(
|
|
42
42
|
Col,
|
|
43
43
|
{ md: 12, lg: 6, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
@@ -69,7 +69,19 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
69
69
|
)
|
|
70
70
|
)
|
|
71
71
|
);
|
|
72
|
-
})
|
|
72
|
+
}) : React__default.createElement(
|
|
73
|
+
'div',
|
|
74
|
+
null,
|
|
75
|
+
React__default.createElement(
|
|
76
|
+
'h5',
|
|
77
|
+
null,
|
|
78
|
+
React__default.createElement(
|
|
79
|
+
'em',
|
|
80
|
+
{ className: 'pl-3' },
|
|
81
|
+
'New content coming soon, please check back later.'
|
|
82
|
+
)
|
|
83
|
+
)
|
|
84
|
+
)
|
|
73
85
|
);
|
|
74
86
|
};
|
|
75
87
|
|
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -39,7 +39,7 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
39
39
|
return React__default.createElement(
|
|
40
40
|
Row,
|
|
41
41
|
null,
|
|
42
|
-
data && data.map(function (row, index) {
|
|
42
|
+
data && data.length ? data.map(function (row, index) {
|
|
43
43
|
return publication && row.identifier && row.identifier.current && React__default.createElement(
|
|
44
44
|
Col,
|
|
45
45
|
{ md: 12, lg: 12, key: index },
|
|
@@ -132,7 +132,19 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
132
132
|
)
|
|
133
133
|
)
|
|
134
134
|
);
|
|
135
|
-
})
|
|
135
|
+
}) : React__default.createElement(
|
|
136
|
+
'div',
|
|
137
|
+
null,
|
|
138
|
+
React__default.createElement(
|
|
139
|
+
'h5',
|
|
140
|
+
null,
|
|
141
|
+
React__default.createElement(
|
|
142
|
+
'em',
|
|
143
|
+
{ className: 'pl-3' },
|
|
144
|
+
'New content coming soon, please check back later.'
|
|
145
|
+
)
|
|
146
|
+
)
|
|
147
|
+
)
|
|
136
148
|
);
|
|
137
149
|
};
|
|
138
150
|
|
|
@@ -2018,8 +2018,12 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
2018
2018
|
}, []);
|
|
2019
2019
|
|
|
2020
2020
|
useEffect(function () {
|
|
2021
|
-
|
|
2022
|
-
|
|
2021
|
+
var handleResize = function handleResize() {
|
|
2022
|
+
window.location.reload();
|
|
2023
|
+
console.log('Screen size changed. Refreshing page.');
|
|
2024
|
+
};
|
|
2025
|
+
window.addEventListener('resize', handleResize);
|
|
2026
|
+
}, []);
|
|
2023
2027
|
|
|
2024
2028
|
useEffect(function () {
|
|
2025
2029
|
var navOffsetTop = navRef.current.getBoundingClientRect().top;
|
|
@@ -37,7 +37,7 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
37
37
|
return React__default.createElement(
|
|
38
38
|
Row,
|
|
39
39
|
null,
|
|
40
|
-
data && data.map(function (row, index) {
|
|
40
|
+
data && data.length ? data.map(function (row, index) {
|
|
41
41
|
return row.identifier && row.identifier.current && React__default.createElement(
|
|
42
42
|
Col,
|
|
43
43
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
@@ -69,7 +69,19 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
69
69
|
)
|
|
70
70
|
)
|
|
71
71
|
);
|
|
72
|
-
})
|
|
72
|
+
}) : React__default.createElement(
|
|
73
|
+
'div',
|
|
74
|
+
null,
|
|
75
|
+
React__default.createElement(
|
|
76
|
+
'h5',
|
|
77
|
+
null,
|
|
78
|
+
React__default.createElement(
|
|
79
|
+
'em',
|
|
80
|
+
{ className: 'pl-3' },
|
|
81
|
+
'New content coming soon, please check back later.'
|
|
82
|
+
)
|
|
83
|
+
)
|
|
84
|
+
)
|
|
73
85
|
);
|
|
74
86
|
};
|
|
75
87
|
|
|
@@ -14,7 +14,7 @@ import './get-b074314b.js';
|
|
|
14
14
|
import 'react-bootstrap';
|
|
15
15
|
import './index.esm-536609db.js';
|
|
16
16
|
import 'react-bootstrap/Button';
|
|
17
|
-
export { T as default } from './Normal-
|
|
17
|
+
export { T as default } from './Normal-20ff5bf5.js';
|
|
18
18
|
import 'react-bootstrap/ListGroup';
|
|
19
19
|
import 'next/head';
|
|
20
20
|
import 'react-bootstrap/Nav';
|
package/dist/esm/index.js
CHANGED
|
@@ -40,8 +40,8 @@ export { default as PublicationDeck } from './PublicationDeck.js';
|
|
|
40
40
|
export { default as IssueDeck } from './IssueDeck.js';
|
|
41
41
|
import 'react-bootstrap/Badge';
|
|
42
42
|
export { default as IssueContentDeck } from './IssueContentDeck.js';
|
|
43
|
-
import { M as MdPictureAsPdf, T as TemplateNormal } from './Normal-
|
|
44
|
-
export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-
|
|
43
|
+
import { M as MdPictureAsPdf, T as TemplateNormal } from './Normal-20ff5bf5.js';
|
|
44
|
+
export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-20ff5bf5.js';
|
|
45
45
|
import 'react-bootstrap/ListGroup';
|
|
46
46
|
import Head from 'next/head';
|
|
47
47
|
import Accordion from 'react-bootstrap/Accordion';
|
|
@@ -796,7 +796,7 @@ var FigureComponent = function FigureComponent(_ref) {
|
|
|
796
796
|
};
|
|
797
797
|
|
|
798
798
|
var urlFor$1 = function urlFor(source, builder) {
|
|
799
|
-
return builder.image(source);
|
|
799
|
+
return builder.image(source).auto('format');
|
|
800
800
|
};
|
|
801
801
|
|
|
802
802
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
@@ -3458,7 +3458,7 @@ var Media = function Media(_ref) {
|
|
|
3458
3458
|
var builder = imageUrlBuilder(client);
|
|
3459
3459
|
|
|
3460
3460
|
var urlFor = function urlFor(source) {
|
|
3461
|
-
return builder.image(source);
|
|
3461
|
+
return builder.image(source).auto('format');
|
|
3462
3462
|
};
|
|
3463
3463
|
|
|
3464
3464
|
var renderFigure = function renderFigure(uploadDoc, poster, blank, caption) {
|
|
@@ -10782,7 +10782,7 @@ var Leads = function Leads(_ref) {
|
|
|
10782
10782
|
|
|
10783
10783
|
var urlFor$2 = function urlFor(source, client) {
|
|
10784
10784
|
var builder = imageUrlBuilder(client);
|
|
10785
|
-
return builder.image(source);
|
|
10785
|
+
return builder.image(source).auto('format');
|
|
10786
10786
|
};
|
|
10787
10787
|
|
|
10788
10788
|
var Slideshow$1 = function Slideshow(_ref) {
|
|
@@ -11384,7 +11384,7 @@ var SetCookie = function SetCookie(key, value) {
|
|
|
11384
11384
|
|
|
11385
11385
|
var urlFor$3 = function urlFor(source, client) {
|
|
11386
11386
|
var builder = imageUrlBuilder(client);
|
|
11387
|
-
return builder.image(source);
|
|
11387
|
+
return builder.image(source).auto('format');
|
|
11388
11388
|
};
|
|
11389
11389
|
|
|
11390
11390
|
var renderCardImage = function renderCardImage(thumbnail, client, imageHeight, imageWidth) {
|
|
@@ -11682,7 +11682,7 @@ var fbsHero = function fbsHero(props) {
|
|
|
11682
11682
|
|
|
11683
11683
|
var builder = imageUrlBuilder(client);
|
|
11684
11684
|
function urlFor(source) {
|
|
11685
|
-
return builder.image(source);
|
|
11685
|
+
return builder.image(source).auto('format');
|
|
11686
11686
|
}
|
|
11687
11687
|
|
|
11688
11688
|
var topArticleThumbnail = '';
|
|
@@ -11791,7 +11791,7 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
11791
11791
|
|
|
11792
11792
|
var builder = imageUrlBuilder(client);
|
|
11793
11793
|
function urlFor(source) {
|
|
11794
|
-
return builder.image(source);
|
|
11794
|
+
return builder.image(source).auto('format');
|
|
11795
11795
|
}
|
|
11796
11796
|
var topArticle = props.dataRecord[0];
|
|
11797
11797
|
var subArticles = props.dataRecord.slice(1, props.dataRecord.length);
|
|
@@ -11836,7 +11836,7 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
11836
11836
|
{ className: 'horizontal-articles-wrap' },
|
|
11837
11837
|
React__default.createElement(
|
|
11838
11838
|
'a',
|
|
11839
|
-
{ href: topArticle.url.current, className: 'horizontal-article' },
|
|
11839
|
+
{ href: '/view/' + topArticle.url.current, className: 'horizontal-article' },
|
|
11840
11840
|
React__default.createElement(
|
|
11841
11841
|
'p',
|
|
11842
11842
|
null,
|
|
@@ -11876,7 +11876,7 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
11876
11876
|
React__default.createElement(
|
|
11877
11877
|
'style',
|
|
11878
11878
|
{ jsx: 'true' },
|
|
11879
|
-
'\n .horizontal-hero-container {\n margin-bottom: 3rem;\n margin-top: 2rem;\n position: relative;\n }\n .horizontal-hero-title {\n position: absolute;\n top: -25px;\n background: white;\n z-index: 2;\n padding-right: 1.5rem;\n font-weight: bold;\n }\n .horizontal-hero-inner {\n display: flex;\n flex-direction: row;\n padding-top: 0.75rem;\n margin-top: 0.75rem;\n }\n\n .horizontal-articles-wrap {\n padding: 0 1rem;\n }\n\n .horizontal-hero-img {\n width: 33%;\n min-width: 200px;\n }\n .horizontal-hero-img img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .horizontal-article {\n border-bottom: 1px solid #ccc;\n display: block;\n margin-bottom: 0.5rem;\n }\n .horizontal-article:hover {\n
|
|
11879
|
+
'\n .horizontal-hero-container {\n margin-bottom: 3rem;\n margin-top: 2rem;\n position: relative;\n }\n .horizontal-hero-title {\n position: absolute;\n top: -25px;\n background: white;\n z-index: 2;\n padding-right: 1.5rem;\n font-weight: bold;\n }\n .horizontal-hero-inner {\n display: flex;\n flex-direction: row;\n padding-top: 0.75rem;\n margin-top: 0.75rem;\n }\n\n .horizontal-articles-wrap {\n padding: 0 1rem;\n }\n\n .horizontal-hero-img {\n width: 33%;\n min-width: 200px;\n }\n .horizontal-hero-img img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .horizontal-article {\n border-bottom: 1px solid #ccc;\n display: block;\n margin-bottom: 0.5rem;\n }\n .horizontal-article:hover {\n background: #eee;\n }\n .horizontal-article p {\n margin-bottom: 0.5rem;\n font-weight: bold;\n color: #252525;\n }\n .horizontal-view-more {\n position: absolute;\n right: 0;\n margin-top: 0.25rem;\n font-weight: bold;\n }\n .horizontal-view-more span {\n display: inline-block;\n color: rgb(81, 116, 153);\n font-size: 1.2rem;\n }\n @media screen and (max-width: 768px) {\n .horizontal-hero-img {\n display: none;\n }\n }\n '
|
|
11880
11880
|
)
|
|
11881
11881
|
);
|
|
11882
11882
|
};
|
|
@@ -11886,7 +11886,7 @@ var OncliveHero = function OncliveHero(props) {
|
|
|
11886
11886
|
|
|
11887
11887
|
var builder = imageUrlBuilder(client);
|
|
11888
11888
|
function urlFor(source) {
|
|
11889
|
-
return builder.image(source);
|
|
11889
|
+
return builder.image(source).auto('format');
|
|
11890
11890
|
}
|
|
11891
11891
|
return React__default.createElement(
|
|
11892
11892
|
'div',
|
|
@@ -11939,7 +11939,7 @@ var OncliveHero = function OncliveHero(props) {
|
|
|
11939
11939
|
React__default.createElement(
|
|
11940
11940
|
'style',
|
|
11941
11941
|
{ jsx: 'true' },
|
|
11942
|
-
'\n .article-group--container {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n }\n .article-group--container * {\n transition: all 0.13s ease;\n }\n .article-group {\n display: flex;\n flex-direction: row;\n flex: 1 1 auto;\n margin: 0.5rem 1rem;\n width: calc(50% - 2rem);\n background: #fff;\n min-width: 320px;\n transition: all 0.1s ease-out;\n border-top: 1px solid #eee;\n position: relative;\n overflow: hidden;\n }\n
|
|
11942
|
+
'\n .article-group--container {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n }\n .article-group--container * {\n transition: all 0.13s ease;\n }\n .article-group {\n display: flex;\n flex-direction: row;\n flex: 1 1 auto;\n margin: 0.5rem 1rem;\n width: calc(50% - 2rem);\n background: #fff;\n min-width: 320px;\n transition: all 0.1s ease-out;\n border-top: 1px solid #eee;\n position: relative;\n overflow: hidden;\n }\n\n .article-group:nth-of-type(1) {\n width: 100%;\n }\n .article-group:nth-of-type(1) .article-group--body {\n }\n .article-group:nth-of-type(1) figure img {\n width: 225px;\n }\n .article-group:nth-of-type(1) .article-group--body h2 {\n font-size: 1.4rem;\n }\n .article-group:nth-of-type(1) .article-group--summary {\n display: block;\n }\n @media screen and (max-width: 1091px) {\n .article-group:nth-of-type(1) {\n width: 100%;\n }\n .article-group:nth-of-type(1) .article-group--summary {\n display: none;\n }\n .article-group:nth-of-type(1) figure img {\n width: 130px;\n }\n .article-group:nth-of-type(1) .article-group--body h2 {\n font-size: 1rem;\n }\n }\n .article-group figure {\n margin-bottom: 0;\n }\n .article-group figure img {\n height: 100%;\n width: 130px;\n object-fit: contain;\n }\n\n .article-group--body {\n padding-left: 1rem;\n }\n .article-group--body p {\n font-size: 0.9rem;\n }\n .article-group--body h2 {\n font-weight: bold;\n margin-top: 1rem;\n font-size: 1rem;\n padding-right: 0.5rem;\n }\n .article-group--summary {\n font-size: 1rem;\n display: none;\n }\n '
|
|
11943
11943
|
)
|
|
11944
11944
|
);
|
|
11945
11945
|
};
|
|
@@ -11952,7 +11952,7 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
|
|
|
11952
11952
|
|
|
11953
11953
|
var builder = imageUrlBuilder(client);
|
|
11954
11954
|
function urlFor(source) {
|
|
11955
|
-
return builder.image(source);
|
|
11955
|
+
return builder.image(source).auto('format');
|
|
11956
11956
|
}
|
|
11957
11957
|
|
|
11958
11958
|
var topArticleThumbnail = '';
|
|
@@ -12148,7 +12148,7 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
12148
12148
|
|
|
12149
12149
|
var builder = imageUrlBuilder(client);
|
|
12150
12150
|
function urlFor(source) {
|
|
12151
|
-
return builder.image(source);
|
|
12151
|
+
return builder.image(source).auto('format');
|
|
12152
12152
|
}
|
|
12153
12153
|
var _props$heroTitle = props.heroTitle,
|
|
12154
12154
|
heroTitle = _props$heroTitle === undefined ? '' : _props$heroTitle;
|
|
@@ -12213,7 +12213,7 @@ var YahooHero = function YahooHero(props) {
|
|
|
12213
12213
|
|
|
12214
12214
|
var builder = imageUrlBuilder(client);
|
|
12215
12215
|
function urlFor(source) {
|
|
12216
|
-
return builder.image(source);
|
|
12216
|
+
return builder.image(source).auto('format');
|
|
12217
12217
|
}
|
|
12218
12218
|
|
|
12219
12219
|
var topArticleThumbnail = '';
|
|
@@ -12304,7 +12304,7 @@ var YahooHero = function YahooHero(props) {
|
|
|
12304
12304
|
React__default.createElement(
|
|
12305
12305
|
'style',
|
|
12306
12306
|
{ jsx: 'true' },
|
|
12307
|
-
'\n .yh-top-article {\n display: flex;\n flex-direction: row;\n position: relative;\n font-family: \'Roboto\', sans-serif;\n margin-bottom: 1rem;\n border-radius: 15px;\n overflow: hidden;\n min-height: 315px;\n }\n .yh-top-article--img {\n width: 100%;\n min-height: 240px;\n overflow: hidden;\n }\n .yh-top-article--img img {\n width: 100%;\n height: auto;\n min-height: 100%;\n max-height: 315px;\n object-fit: cover;\n }\n .yh-top-article--body {\n height: 100%;\n width: 40%;\n min-width: 320px;\n right: 0;\n position: absolute;\n color: white;\n padding: 1.75rem;\n height: 315px;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n }\n .yh-top-article--body h1 {\n color: white!important;\n font-size: 1.4rem;\n font-weight: 500;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--body p {\n font-size: 0.9rem;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--blur {\n height: 100%;\n width: 40%;\n right: 0;\n position: absolute;\n filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));\n background: rgba(0,0,0,.65);\n min-width: 320px;\n }\n .yh-sub-article-container {\n display: flex;\n justify-content: space-between;\n }\n .yh-sub-article {\n width: 23.25%;\n }\n .yh-sub-article p.yh-sub-article--title {\n font-weight: bold;\n }\n .yh-sub-article img {\n width: 100%;\n height: 150px;\n object-fit: cover;\n border-radius: 15px;\n }\n .yh-sub-article img[src=\'' + props.thumbnail + '\']{\n object-fit: contain;\n }\n .yh-sub-article--title {\n font-weight: bold;\n margin-top: .25rem;\n font-size: 1rem;\n margin-bottom: .25rem;\n }\n .yh-sub-article--info {\n font-size: .8rem;\n margin-bottom: 0;\n
|
|
12307
|
+
'\n .yh-top-article {\n display: flex;\n flex-direction: row;\n position: relative;\n font-family: \'Roboto\', sans-serif;\n margin-bottom: 1rem;\n border-radius: 15px;\n overflow: hidden;\n min-height: 315px;\n }\n .yh-top-article--img {\n width: 100%;\n min-height: 240px;\n overflow: hidden;\n }\n .yh-top-article--img img {\n width: 100%;\n height: auto;\n min-height: 100%;\n max-height: 315px;\n object-fit: cover;\n }\n .yh-top-article--body {\n height: 100%;\n width: 40%;\n min-width: 320px;\n right: 0;\n position: absolute;\n color: white;\n padding: 1.75rem;\n height: 315px;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n }\n .yh-top-article--body h1 {\n color: white!important;\n font-size: 1.4rem;\n font-weight: 500;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--body p {\n font-size: 0.9rem;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--blur {\n height: 100%;\n width: 40%;\n right: 0;\n position: absolute;\n filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));\n background: rgba(0,0,0,.65);\n min-width: 320px;\n }\n .yh-sub-article-container {\n display: flex;\n justify-content: space-between;\n }\n .yh-sub-article {\n width: 23.25%;\n }\n .yh-sub-article p.yh-sub-article--title {\n font-weight: bold;\n }\n .yh-sub-article img {\n width: 100%;\n height: 150px;\n object-fit: cover;\n border-radius: 15px;\n }\n .yh-sub-article img[src=\'' + props.thumbnail + '\']{\n object-fit: contain;\n }\n .yh-sub-article--title {\n font-weight: bold;\n margin-top: .25rem;\n font-size: 1rem;\n margin-bottom: .25rem;\n }\n .yh-sub-article--info {\n font-size: .8rem;\n margin-bottom: 0;\n\n }\n @media screen and (max-width: 968px) {\n .yh-sub-article-container {\n flex-wrap: wrap;\n }\n .yh-sub-article {\n width: 48%;\n margin-bottom: 1rem;\n }\n }\n '
|
|
12308
12308
|
)
|
|
12309
12309
|
);
|
|
12310
12310
|
};
|
|
@@ -12430,7 +12430,7 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
12430
12430
|
var builder = imageUrlBuilder(client);
|
|
12431
12431
|
|
|
12432
12432
|
function urlFor(source) {
|
|
12433
|
-
return builder.image(source);
|
|
12433
|
+
return builder.image(source).auto('format');
|
|
12434
12434
|
}
|
|
12435
12435
|
|
|
12436
12436
|
//title, thumbnail, summary, published, documentGroup.identifier.current, documentGroup.identifier.name
|
|
@@ -12595,6 +12595,7 @@ var Article = function Article(props) {
|
|
|
12595
12595
|
current: ''
|
|
12596
12596
|
} : _props$article$url;
|
|
12597
12597
|
var url = _props$article$url.current,
|
|
12598
|
+
issue = _props$article.issue,
|
|
12598
12599
|
changeUrl = props.changeUrl,
|
|
12599
12600
|
isCutomPage = props.isCutomPage,
|
|
12600
12601
|
shareOptions = props.shareOptions,
|
|
@@ -12688,7 +12689,14 @@ var Article = function Article(props) {
|
|
|
12688
12689
|
serializers: getSerializers(client, pageview, videoAccountIDs, function () {}, true),
|
|
12689
12690
|
blocks: articleBody,
|
|
12690
12691
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
12691
|
-
}, client.config()))
|
|
12692
|
+
}, client.config())),
|
|
12693
|
+
issue && issue.url && React__default.createElement(
|
|
12694
|
+
'a',
|
|
12695
|
+
{ href: issue.url, target: '_blank', title: 'Download issue' },
|
|
12696
|
+
React__default.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
12697
|
+
'Download Issue : ',
|
|
12698
|
+
issue.name
|
|
12699
|
+
)
|
|
12692
12700
|
)
|
|
12693
12701
|
),
|
|
12694
12702
|
renderIsiContent(props.article)
|