@mjhls/mjh-framework 1.0.153 → 1.0.154
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 +2 -1
- package/dist/index.es.js +59 -27
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +59 -26
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -13,6 +13,7 @@ import Media from 'react-bootstrap/Media';
|
|
|
13
13
|
import { Media as Media$1, Container as Container$1, Dropdown, Figure, Carousel, Table, Button as Button$1, ProgressBar, Card as Card$1 } from 'react-bootstrap';
|
|
14
14
|
import Button from 'react-bootstrap/Button';
|
|
15
15
|
import Badge from 'react-bootstrap/Badge';
|
|
16
|
+
import { SocialIcon } from 'react-social-icons';
|
|
16
17
|
import ListGroup from 'react-bootstrap/ListGroup';
|
|
17
18
|
import Head from 'next/head';
|
|
18
19
|
import Accordion from 'react-bootstrap/Accordion';
|
|
@@ -20,7 +21,6 @@ import { useAccordionToggle } from 'react-bootstrap/AccordionToggle';
|
|
|
20
21
|
import { FacebookShareButton, TwitterShareButton, PinterestShareButton, EmailShareButton, FacebookIcon, TwitterIcon, PinterestIcon, EmailIcon } from 'react-share';
|
|
21
22
|
import Form from 'react-bootstrap/Form';
|
|
22
23
|
import FormControl from 'react-bootstrap/FormControl';
|
|
23
|
-
import { SocialIcon } from 'react-social-icons';
|
|
24
24
|
import Nav from 'react-bootstrap/Nav';
|
|
25
25
|
import Navbar from 'react-bootstrap/Navbar';
|
|
26
26
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
@@ -8848,46 +8848,78 @@ var Column1 = function Column1(props) {
|
|
|
8848
8848
|
};
|
|
8849
8849
|
|
|
8850
8850
|
var SideFooter = function SideFooter(props) {
|
|
8851
|
+
/*
|
|
8852
|
+
useage example: <SideFooter cache={props.cache} logo='/an_mjhls_brand_logo.png' />
|
|
8853
|
+
*/
|
|
8854
|
+
var _props$cache$siteSett = props.cache.siteSettingCache,
|
|
8855
|
+
socialLinks = _props$cache$siteSett.socialLinks,
|
|
8856
|
+
footerLinks = _props$cache$siteSett.footerLinks,
|
|
8857
|
+
name = _props$cache$siteSett.name;
|
|
8858
|
+
var logo = props.logo;
|
|
8859
|
+
|
|
8851
8860
|
var year = new Date().getFullYear();
|
|
8852
|
-
var website = props.website;
|
|
8853
8861
|
|
|
8854
8862
|
return React__default.createElement(
|
|
8855
8863
|
'div',
|
|
8856
8864
|
{ className: 'side-footer' },
|
|
8857
|
-
|
|
8865
|
+
React__default.createElement(
|
|
8858
8866
|
'ul',
|
|
8859
8867
|
null,
|
|
8860
|
-
|
|
8861
|
-
|
|
8862
|
-
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
'a',
|
|
8866
|
-
{ target: '_blank', href: content.url },
|
|
8867
|
-
content.title
|
|
8868
|
-
)
|
|
8869
|
-
) : React__default.createElement(
|
|
8870
|
-
'li',
|
|
8871
|
-
{ key: index },
|
|
8872
|
-
React__default.createElement(
|
|
8873
|
-
Link,
|
|
8874
|
-
{ href: content.url },
|
|
8868
|
+
footerLinks && footerLinks.map(function (row, index) {
|
|
8869
|
+
if (row.blank) {
|
|
8870
|
+
return React__default.createElement(
|
|
8871
|
+
'li',
|
|
8872
|
+
{ key: index },
|
|
8875
8873
|
React__default.createElement(
|
|
8876
8874
|
'a',
|
|
8877
|
-
|
|
8878
|
-
|
|
8875
|
+
{ href: row.url, target: '_blank' },
|
|
8876
|
+
row.title
|
|
8879
8877
|
)
|
|
8880
|
-
)
|
|
8881
|
-
|
|
8882
|
-
|
|
8878
|
+
);
|
|
8879
|
+
} else {
|
|
8880
|
+
return React__default.createElement(
|
|
8881
|
+
'li',
|
|
8882
|
+
{ key: index },
|
|
8883
|
+
React__default.createElement(
|
|
8884
|
+
Link,
|
|
8885
|
+
{ href: row.url },
|
|
8886
|
+
React__default.createElement(
|
|
8887
|
+
'a',
|
|
8888
|
+
null,
|
|
8889
|
+
row.title
|
|
8890
|
+
)
|
|
8891
|
+
)
|
|
8892
|
+
);
|
|
8893
|
+
}
|
|
8894
|
+
}),
|
|
8895
|
+
React__default.createElement(
|
|
8896
|
+
'li',
|
|
8897
|
+
{ style: { marginTop: '10px' } },
|
|
8898
|
+
socialLinks && socialLinks.map(function (row, index) {
|
|
8899
|
+
return React__default.createElement(SocialIcon, { key: index, index: index, url: row.url, style: { width: 30, height: 30, marginRight: 5 } });
|
|
8900
|
+
})
|
|
8901
|
+
)
|
|
8883
8902
|
),
|
|
8884
|
-
|
|
8903
|
+
logo && React__default.createElement(
|
|
8904
|
+
'ul',
|
|
8905
|
+
null,
|
|
8906
|
+
React__default.createElement(
|
|
8907
|
+
'li',
|
|
8908
|
+
{ className: 'pt-2' },
|
|
8909
|
+
React__default.createElement(
|
|
8910
|
+
'a',
|
|
8911
|
+
{ href: 'https://www.mjhlifesciences.com' },
|
|
8912
|
+
React__default.createElement('img', { style: { maxWidth: '100%' }, alt: 'MJHLS Brand Logo', src: logo })
|
|
8913
|
+
)
|
|
8914
|
+
)
|
|
8915
|
+
),
|
|
8916
|
+
React__default.createElement(
|
|
8885
8917
|
'p',
|
|
8886
8918
|
null,
|
|
8887
8919
|
'\xA9 ',
|
|
8888
8920
|
year,
|
|
8889
|
-
' ',
|
|
8890
|
-
|
|
8921
|
+
' MJH Life Sciences and ',
|
|
8922
|
+
name,
|
|
8891
8923
|
'. All rights reserved.'
|
|
8892
8924
|
)
|
|
8893
8925
|
);
|
|
@@ -15763,5 +15795,5 @@ var Ustream = function Ustream(_ref) {
|
|
|
15763
15795
|
);
|
|
15764
15796
|
};
|
|
15765
15797
|
|
|
15766
|
-
export { ContentCard as DeckContent, GridContent$1 as GridContent, Queue as DeckQueue, ThumbnailCard, TaxonomyCard, GroupDeck, YoutubeGroup, QueueDeckExpanded, VideoSeriesListing$1 as VideoSeriesListing, MasterDeck$1 as MasterDeck, PublicationDeck, IssueDeck, IssueContentDeck, Column1, Column2, Column3, Header, LeftNav, AccordionPanel, SocialShare, PageFilter, NavMagazine, NavNative, NavNormal, NavDvm, TemplateNormal, AD, AD300x250, AD300x250x600, AD728x90, ADFooter, getSerializers$1 as getSerializers, Search, Feature, Breadcrumbs, SetCookie, Hero, AlphabeticList, PdfDownload, RelatedTopicsDropdown, Ustream };
|
|
15798
|
+
export { ContentCard as DeckContent, GridContent$1 as GridContent, Queue as DeckQueue, ThumbnailCard, TaxonomyCard, GroupDeck, YoutubeGroup, QueueDeckExpanded, VideoSeriesListing$1 as VideoSeriesListing, MasterDeck$1 as MasterDeck, PublicationDeck, IssueDeck, IssueContentDeck, Column1, Column2, Column3, Header, LeftNav, AccordionPanel, SocialShare, PageFilter, NavMagazine, NavNative, NavNormal, NavDvm, TemplateNormal, AD, AD300x250, AD300x250x600, AD728x90, ADFooter, getSerializers$1 as getSerializers, Search, Feature, Breadcrumbs, SetCookie, Hero, AlphabeticList, PdfDownload, RelatedTopicsDropdown, Ustream, SideFooter };
|
|
15767
15799
|
//# sourceMappingURL=index.es.js.map
|