diff --git a/assets/img/icons/email-default.svg b/assets/img/icons/email-default.svg new file mode 100644 index 000000000..57fd3ca47 --- /dev/null +++ b/assets/img/icons/email-default.svg @@ -0,0 +1,14 @@ + + + icons/share/default + + + + + + + + + + + \ No newline at end of file diff --git a/assets/sass/patterns/atoms/modal-window.scss b/assets/sass/patterns/atoms/modal-window.scss index a4467ef0b..a335a755a 100644 --- a/assets/sass/patterns/atoms/modal-window.scss +++ b/assets/sass/patterns/atoms/modal-window.scss @@ -33,6 +33,16 @@ padding-top: 0; } + .social-media-sharers { + @media only all and (max-width: #{get-rem-from-px($bkpt-site--small - 1)}em) { + @include padding(24, "top"); + display: flex; + grid-column: 1/3; + grid-row: 4; + justify-content: center; + } + } + .reference { font-family: $font-secondary; grid-column: 1/3; @@ -43,6 +53,37 @@ display: flex; } } + + .button-collection { + display: unset; + flex-direction: column; + grid-column: 1/3; + + .button-collection__item { + float: none; + } + + .button { + @include margin(12, "bottom"); + width: 100%; + } + + @media only all and (min-width: #{get-rem-from-px($bkpt-site--medium)}em) { + grid-column: 1/3; + + .button-collection__item { + float: left; + } + + .button { + @include margin(12, "bottom"); + @include padding(15 24 14 24); + line-height: 1.5; + text-decoration: none; + width: auto; + } + } + } } .modal-content__body { @@ -50,8 +91,8 @@ grid-column: 1/3; .button { + @include margin(24, "bottom"); justify-self: center; - margin-bottom: 24px; } } @@ -74,3 +115,7 @@ .modal-nojs { visibility: hidden; } + +.modal-content__clipboard-btn { + min-width: 189px; +} diff --git a/assets/sass/patterns/atoms/social-media-sharers.scss b/assets/sass/patterns/atoms/social-media-sharers.scss index 58f086b20..e93ba00ce 100644 --- a/assets/sass/patterns/atoms/social-media-sharers.scss +++ b/assets/sass/patterns/atoms/social-media-sharers.scss @@ -11,8 +11,20 @@ // Fill: solid .social-media-sharers { - flex-grow: 0; - flex-basis: 24px; + @include margin(0); + @include padding(0); + display: flex; + justify-content: center; + margin-bottom: 24px; + + li { + list-style: none; + margin-right: 6px; + + &:last-child { + margin-right: 0; + } + } } .social-media-sharer, @@ -65,3 +77,28 @@ fill: #fff; stroke: none; } + +.email { + background: url("../img/icons/email-default.svg") no-repeat 0 0; + text-indent: -5000px; +} + +.facebook { + background: url("../img/icons/facebook.svg") no-repeat 0 0; + text-indent: -5000px; +} + +.twitter { + background: url("../img/icons/twitter.svg") no-repeat 0 0; + text-indent: -5000px; +} + +.linkedin { + background: url("../img/icons/linkedin.svg") no-repeat 0 0; + text-indent: -5000px; +} + +.reddit { + background: url("../img/icons/reddit.svg") no-repeat 0 0; + text-indent: -5000px; +} diff --git a/assets/sass/patterns/molecules/article-section.scss b/assets/sass/patterns/molecules/article-section.scss index b85734405..fbb5bd004 100644 --- a/assets/sass/patterns/molecules/article-section.scss +++ b/assets/sass/patterns/molecules/article-section.scss @@ -9,7 +9,8 @@ $arrow-size: 5; } p > a { - overflow-wrap: break-word; + word-wrap: break-word; + word-break: break-all; } } @@ -257,3 +258,50 @@ $arrow-size: 5; } } } + +.divider { + border-bottom: 1px solid $color-text-dividers; + grid-column: 2/12; + height: 1px; + width: 100%; + + @media only all and (min-width: #{get-rem-from-px($bkpt-site--x-wide)}em) { + grid-column: 1/13; + } +} + +.main-content-grid { + + @media only all and (min-width: #{get-rem-from-px($bkpt-site--medium)}em) { + grid-column: 2/12; + grid-row: 2; + } + + @media only all and (min-width: #{get-rem-from-px($bkpt-site--wide)}em) { + grid-column: 2/9; + } + + @media only all and (min-width: #{get-rem-from-px($bkpt-site--x-wide)}em) { + grid-column: 3/10; + grid-row: 1; + margin-left: 70px; + width: 100%; + } +} + +.secondary-column-grid { + display: grid; + + @media only all and (min-width: #{get-rem-from-px($bkpt-site--wide)}em) { + grid-column: 8/12; + grid-row: 2; + justify-self: end; + margin-left: 70px; + max-width: 200px; + } + + @media only all and (min-width: #{get-rem-from-px($bkpt-site--x-wide)}em) { + grid-column: 10/13; + grid-row: 1; + } +} diff --git a/assets/sass/patterns/molecules/view-selector.scss b/assets/sass/patterns/molecules/view-selector.scss index 31e37823d..c98f78c01 100644 --- a/assets/sass/patterns/molecules/view-selector.scss +++ b/assets/sass/patterns/molecules/view-selector.scss @@ -82,9 +82,8 @@ .view-selector--has-figures { display: inline-block; width: 100%; - @supports (display: flex) { - display: flex; - } + grid-column: 1/13; + grid-row: 1; } .view-selector__list { @@ -151,8 +150,8 @@ // Applied with js to stop the selector scrolling off the top of the screen. .view-selector { // Supply what was being provided by the grid now this element has been taken out the flow. - @include constrain-width(210, "max"); - width: 9.625rem; + grid-column: 1/3; + grid-row: 1; } .view-selector--fixed { diff --git a/assets/sass/patterns/organisms/content-header.scss b/assets/sass/patterns/organisms/content-header.scss index 46cfba4bf..bd84cc2e8 100644 --- a/assets/sass/patterns/organisms/content-header.scss +++ b/assets/sass/patterns/organisms/content-header.scss @@ -17,7 +17,6 @@ border-bottom: 1px solid $color-text-dividers; content: ""; display: block; - @include padding($content-header-padding - 1, "top"); width: 100%; } diff --git a/source/_patterns/00-atoms/components/modal-window~citations.json b/source/_patterns/00-atoms/components/modal-window~citations.json index 090d6ff8c..7447aefa6 100644 --- a/source/_patterns/00-atoms/components/modal-window~citations.json +++ b/source/_patterns/00-atoms/components/modal-window~citations.json @@ -1,5 +1,5 @@ { "closeBtnText": "Close", - "body": "
  1. Schrenk F
  2. Bromage TG
  3. Betzler CG
  4. Ring U
  5. Juwayeyi YM
  6. Schrenk F
  7. Bromage TG
  8. Betzler CG
  9. Ring U
  10. Juwayeyi YM
  11. Schrenk F
  12. Bromage TG
  13. Betzler CG
  14. Ring U
  15. Juwayeyi YM
  16. Schrenk F
  17. Bromage TG
  18. Betzler CG
  19. Ring U
  20. Juwayeyi YM
  21. Schrenk F
  22. Bromage TG
  23. Betzler CG
  24. Ring U
  25. Juwayeyi YM
(1993) Oldest Homo and Pliocene biogeography of the Malawi rift
Nature 365:833–836.
https://doi.org/10.1038/365833a0
", + "body": "
  1. Schrenk F
  2. Bromage TG
  3. Betzler CG
  4. Ring U
  5. Juwayeyi YM
  6. Schrenk F
  7. Bromage TG
  8. Betzler CG
  9. Ring U
  10. Juwayeyi YM
  11. Schrenk F
  12. Bromage TG
  13. Betzler CG
  14. Ring U
  15. Juwayeyi YM
  16. Schrenk F
  17. Bromage TG
  18. Betzler CG
  19. Ring U
  20. Juwayeyi YM
  21. Schrenk F
  22. Bromage TG
  23. Betzler CG
  24. Ring U
  25. Juwayeyi YM
(1993) Oldest Homo and Pliocene biogeography of the Malawi rift
Nature 365:833–836.
https://doi.org/10.1038/365833a0
", "title": "Cite this article" } diff --git a/source/_patterns/00-atoms/components/modal-window~share.json b/source/_patterns/00-atoms/components/modal-window~share.json index e97bb2918..b96fca2ed 100644 --- a/source/_patterns/00-atoms/components/modal-window~share.json +++ b/source/_patterns/00-atoms/components/modal-window~share.json @@ -2,5 +2,5 @@ "smallDeviceOnly": true, "title": "Share this article", "closeBtnText": " ", - "body": "
" + "body": "
" } diff --git a/source/_patterns/00-atoms/components/social-media-sharers.json b/source/_patterns/00-atoms/components/social-media-sharers.json index 10a189017..1b52c8373 100644 --- a/source/_patterns/00-atoms/components/social-media-sharers.json +++ b/source/_patterns/00-atoms/components/social-media-sharers.json @@ -1,6 +1,7 @@ { + "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", "facebookUrl": "https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fsome-article-url", "twitterUrl": "https://twitter.com/intent/tweet/?text=Some%20article%20title&url=https%3A%2F%2Fexample.com%2Fsome-article-url", - "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", + "linkedInUrl": "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fexample.com%2Fsome-article-url", "redditUrl": "https://reddit.com/submit/?url=https%3A%2F%2Fexample.com%2Fsome-article-url" } diff --git a/source/_patterns/00-atoms/components/social-media-sharers.mustache b/source/_patterns/00-atoms/components/social-media-sharers.mustache index a15821fdd..43cbb6e07 100644 --- a/source/_patterns/00-atoms/components/social-media-sharers.mustache +++ b/source/_patterns/00-atoms/components/social-media-sharers.mustache @@ -1,38 +1,7 @@ -
- - {{! Skeleton autogenerated by http://sharingbuttons.io/ - See notes in social-media-sharer.scss for more details. }} - - {{! Sharingbutton Facebook }} - - - - - {{! Sharingbutton Twitter }} - - - - - {{! Sharingbutton E-Mail }} - - - - - {{! Sharingbutton Reddit }} - - - - -
+ diff --git a/source/_patterns/00-atoms/components/social-media-sharers.yaml b/source/_patterns/00-atoms/components/social-media-sharers.yaml index e4efd70c5..252677537 100644 --- a/source/_patterns/00-atoms/components/social-media-sharers.yaml +++ b/source/_patterns/00-atoms/components/social-media-sharers.yaml @@ -1,20 +1,24 @@ $schema: http://json-schema.org/draft-04/schema# type: object properties: + emailUrl: + type: string + format: uri facebookUrl: type: string format: uri twitterUrl: type: string format: uri - emailUrl: + linkedInUrl: type: string format: uri redditUrl: type: string format: uri required: + - emailUrl - facebookUrl - twitterUrl - - emailUrl + - linkedInUrl - redditUrl diff --git a/source/_patterns/02-organisms/content-headers/content-header~article-1-author.json b/source/_patterns/02-organisms/content-headers/content-header~article-1-author.json index b6fc1f37c..16aedf8fd 100644 --- a/source/_patterns/02-organisms/content-headers/content-header~article-1-author.json +++ b/source/_patterns/02-organisms/content-headers/content-header~article-1-author.json @@ -1,9 +1,10 @@ { "title": "Homo naledi, a new species of the genus Homo from the Dinaledi Chamber, South Africa", "socialMediaSharers": { + "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", "facebookUrl": "https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fsome-article-url", "twitterUrl": "https://twitter.com/intent/tweet/?text=Some%20article%20title&url=https%3A%2F%2Fexample.com%2Fsome-article-url", - "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", + "linkedInUrl": "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fexample.com%2Fsome-article-url", "redditUrl": "https://reddit.com/submit/?url=https%3A%2F%2Fexample.com%2Fsome-article-url" }, "longTitle": true, diff --git a/source/_patterns/02-organisms/content-headers/content-header~article-2-authors.json b/source/_patterns/02-organisms/content-headers/content-header~article-2-authors.json index 68c78b3de..7fd51ec33 100644 --- a/source/_patterns/02-organisms/content-headers/content-header~article-2-authors.json +++ b/source/_patterns/02-organisms/content-headers/content-header~article-2-authors.json @@ -2,9 +2,10 @@ "title": "Homo naledi, a new species of the genus Homo from the Dinaledi Chamber, South Africa", "longTitle": true, "socialMediaSharers": { + "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", "facebookUrl": "https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fsome-article-url", "twitterUrl": "https://twitter.com/intent/tweet/?text=Some%20article%20title&url=https%3A%2F%2Fexample.com%2Fsome-article-url", - "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", + "linkedInUrl": "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fexample.com%2Fsome-article-url", "redditUrl": "https://reddit.com/submit/?url=https%3A%2F%2Fexample.com%2Fsome-article-url" }, "header": { diff --git a/source/_patterns/02-organisms/content-headers/content-header~article.json b/source/_patterns/02-organisms/content-headers/content-header~article.json index 1b3dac951..97abd5773 100644 --- a/source/_patterns/02-organisms/content-headers/content-header~article.json +++ b/source/_patterns/02-organisms/content-headers/content-header~article.json @@ -2,9 +2,10 @@ "title": "Homo naledi, a new species of the genus Homo from the Dinaledi Chamber, South Africa", "longTitle": true, "socialMediaSharers": { + "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", "facebookUrl": "https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fsome-article-url", "twitterUrl": "https://twitter.com/intent/tweet/?text=Some%20article%20title&url=https%3A%2F%2Fexample.com%2Fsome-article-url", - "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", + "linkedInUrl": "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fexample.com%2Fsome-article-url", "redditUrl": "https://reddit.com/submit/?url=https%3A%2F%2Fexample.com%2Fsome-article-url" }, "header": { diff --git a/source/_patterns/02-organisms/content-headers/content-header~collection--title-0-xx-short.json b/source/_patterns/02-organisms/content-headers/content-header~collection--title-0-xx-short.json index 64ff93471..7b56fa545 100644 --- a/source/_patterns/02-organisms/content-headers/content-header~collection--title-0-xx-short.json +++ b/source/_patterns/02-organisms/content-headers/content-header~collection--title-0-xx-short.json @@ -24,9 +24,10 @@ }, "impactStatement": "From its earliest days, eLife has been publishing important advances in our understanding of Cancer Biology. Here, eLife Senior Editors present a collection of great papers spanning from oncogenes and tumor suppressors.", "socialMediaSharers": { + "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", "facebookUrl": "https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fsome-article-url", "twitterUrl": "https://twitter.com/intent/tweet/?text=Some%20article%20title&url=https%3A%2F%2Fexample.com%2Fsome-article-url", - "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", + "linkedInUrl": "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fexample.com%2Fsome-article-url", "redditUrl": "https://reddit.com/submit/?url=https%3A%2F%2Fexample.com%2Fsome-article-url" }, "meta": { diff --git a/source/_patterns/02-organisms/content-headers/content-header~collection--title-1-x-short.json b/source/_patterns/02-organisms/content-headers/content-header~collection--title-1-x-short.json index ffd7b9db8..a45b2454e 100644 --- a/source/_patterns/02-organisms/content-headers/content-header~collection--title-1-x-short.json +++ b/source/_patterns/02-organisms/content-headers/content-header~collection--title-1-x-short.json @@ -24,9 +24,10 @@ }, "impactStatement": "From its earliest days, eLife has been publishing important advances in our understanding of Cancer Biology. Here, eLife Senior Editors present a collection of great papers spanning from oncogenes and tumor suppressors.", "socialMediaSharers": { + "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", "facebookUrl": "https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fsome-article-url", "twitterUrl": "https://twitter.com/intent/tweet/?text=Some%20article%20title&url=https%3A%2F%2Fexample.com%2Fsome-article-url", - "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", + "linkedInUrl": "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fexample.com%2Fsome-article-url", "redditUrl": "https://reddit.com/submit/?url=https%3A%2F%2Fexample.com%2Fsome-article-url" }, "meta": { diff --git a/source/_patterns/02-organisms/content-headers/content-header~collection--title-2-short.json b/source/_patterns/02-organisms/content-headers/content-header~collection--title-2-short.json index 2383f0626..08ae8f663 100644 --- a/source/_patterns/02-organisms/content-headers/content-header~collection--title-2-short.json +++ b/source/_patterns/02-organisms/content-headers/content-header~collection--title-2-short.json @@ -24,9 +24,10 @@ }, "impactStatement": "From its earliest days, eLife has been publishing important advances in our understanding of Cancer Biology. Here, eLife Senior Editors present a collection of great papers spanning from oncogenes and tumor suppressors.", "socialMediaSharers": { + "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", "facebookUrl": "https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fsome-article-url", "twitterUrl": "https://twitter.com/intent/tweet/?text=Some%20article%20title&url=https%3A%2F%2Fexample.com%2Fsome-article-url", - "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", + "linkedInUrl": "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fexample.com%2Fsome-article-url", "redditUrl": "https://reddit.com/submit/?url=https%3A%2F%2Fexample.com%2Fsome-article-url" }, "meta": { diff --git a/source/_patterns/02-organisms/content-headers/content-header~collection--title-3-medium-A.json b/source/_patterns/02-organisms/content-headers/content-header~collection--title-3-medium-A.json index 8065e7283..9ebc1f7ac 100644 --- a/source/_patterns/02-organisms/content-headers/content-header~collection--title-3-medium-A.json +++ b/source/_patterns/02-organisms/content-headers/content-header~collection--title-3-medium-A.json @@ -24,9 +24,10 @@ }, "impactStatement": "From its earliest days, eLife has been publishing important advances in our understanding of Cancer Biology. Here, eLife Senior Editors present a collection of great papers spanning from oncogenes and tumor suppressors.", "socialMediaSharers": { + "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", "facebookUrl": "https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fsome-article-url", "twitterUrl": "https://twitter.com/intent/tweet/?text=Some%20article%20title&url=https%3A%2F%2Fexample.com%2Fsome-article-url", - "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", + "linkedInUrl": "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fexample.com%2Fsome-article-url", "redditUrl": "https://reddit.com/submit/?url=https%3A%2F%2Fexample.com%2Fsome-article-url" }, "meta": { diff --git a/source/_patterns/02-organisms/content-headers/content-header~collection--title-3-medium-B.json b/source/_patterns/02-organisms/content-headers/content-header~collection--title-3-medium-B.json index 3fc530e5f..4d35b988d 100644 --- a/source/_patterns/02-organisms/content-headers/content-header~collection--title-3-medium-B.json +++ b/source/_patterns/02-organisms/content-headers/content-header~collection--title-3-medium-B.json @@ -24,9 +24,10 @@ }, "impactStatement": "From its earliest days, eLife has been publishing important advances in our understanding of Cancer Biology. Here, eLife Senior Editors present a collection of great papers spanning from oncogenes and tumor suppressors.", "socialMediaSharers": { + "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", "facebookUrl": "https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fsome-article-url", "twitterUrl": "https://twitter.com/intent/tweet/?text=Some%20article%20title&url=https%3A%2F%2Fexample.com%2Fsome-article-url", - "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", + "linkedInUrl": "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fexample.com%2Fsome-article-url", "redditUrl": "https://reddit.com/submit/?url=https%3A%2F%2Fexample.com%2Fsome-article-url" }, "meta": { diff --git a/source/_patterns/02-organisms/content-headers/content-header~collection--title-4-long.json b/source/_patterns/02-organisms/content-headers/content-header~collection--title-4-long.json index 96e2a5ec5..a359f3b45 100644 --- a/source/_patterns/02-organisms/content-headers/content-header~collection--title-4-long.json +++ b/source/_patterns/02-organisms/content-headers/content-header~collection--title-4-long.json @@ -24,9 +24,10 @@ }, "impactStatement": "From its earliest days, eLife has been publishing important advances in our understanding of Cancer Biology. Here, eLife Senior Editors present a collection of great papers spanning from oncogenes and tumor suppressors.", "socialMediaSharers": { + "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", "facebookUrl": "https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fsome-article-url", "twitterUrl": "https://twitter.com/intent/tweet/?text=Some%20article%20title&url=https%3A%2F%2Fexample.com%2Fsome-article-url", - "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", + "linkedInUrl": "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fexample.com%2Fsome-article-url", "redditUrl": "https://reddit.com/submit/?url=https%3A%2F%2Fexample.com%2Fsome-article-url" }, "meta": { diff --git a/source/_patterns/02-organisms/content-headers/content-header~collection--title-5-x-long-A.json b/source/_patterns/02-organisms/content-headers/content-header~collection--title-5-x-long-A.json index 0e788d957..65ba3b898 100644 --- a/source/_patterns/02-organisms/content-headers/content-header~collection--title-5-x-long-A.json +++ b/source/_patterns/02-organisms/content-headers/content-header~collection--title-5-x-long-A.json @@ -24,9 +24,10 @@ }, "impactStatement": "From its earliest days, eLife has been publishing important advances in our understanding of Cancer Biology. Here, eLife Senior Editors present a collection of great papers spanning from oncogenes and tumor suppressors.", "socialMediaSharers": { + "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", "facebookUrl": "https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fsome-article-url", "twitterUrl": "https://twitter.com/intent/tweet/?text=Some%20article%20title&url=https%3A%2F%2Fexample.com%2Fsome-article-url", - "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", + "linkedInUrl": "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fexample.com%2Fsome-article-url", "redditUrl": "https://reddit.com/submit/?url=https%3A%2F%2Fexample.com%2Fsome-article-url" }, "meta": { diff --git a/source/_patterns/02-organisms/content-headers/content-header~collection--title-5-x-long-B.json b/source/_patterns/02-organisms/content-headers/content-header~collection--title-5-x-long-B.json index 642795b30..a45ac2ec5 100644 --- a/source/_patterns/02-organisms/content-headers/content-header~collection--title-5-x-long-B.json +++ b/source/_patterns/02-organisms/content-headers/content-header~collection--title-5-x-long-B.json @@ -24,9 +24,10 @@ }, "impactStatement": "From its earliest days, eLife has been publishing important advances in our understanding of Cancer Biology. Here, eLife Senior Editors present a collection of great papers spanning from oncogenes and tumor suppressors.", "socialMediaSharers": { + "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", "facebookUrl": "https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fsome-article-url", "twitterUrl": "https://twitter.com/intent/tweet/?text=Some%20article%20title&url=https%3A%2F%2Fexample.com%2Fsome-article-url", - "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", + "linkedInUrl": "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fexample.com%2Fsome-article-url", "redditUrl": "https://reddit.com/submit/?url=https%3A%2F%2Fexample.com%2Fsome-article-url" }, "meta": { diff --git a/source/_patterns/02-organisms/content-headers/content-header~collection--title-6-xx-long.json b/source/_patterns/02-organisms/content-headers/content-header~collection--title-6-xx-long.json index 37b57f0dc..457bc49e3 100644 --- a/source/_patterns/02-organisms/content-headers/content-header~collection--title-6-xx-long.json +++ b/source/_patterns/02-organisms/content-headers/content-header~collection--title-6-xx-long.json @@ -24,9 +24,10 @@ }, "impactStatement": "From its earliest days, eLife has been publishing important advances in our understanding of Cancer Biology. Here, eLife Senior Editors present a collection of great papers spanning from oncogenes and tumor suppressors.", "socialMediaSharers": { + "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", "facebookUrl": "https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fsome-article-url", "twitterUrl": "https://twitter.com/intent/tweet/?text=Some%20article%20title&url=https%3A%2F%2Fexample.com%2Fsome-article-url", - "emailUrl": "mailto:?subject=Some%20article%20title&body=https%3A%2F%2Fexample.com%2Fsome-article-url", + "linkedInUrl": "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fexample.com%2Fsome-article-url", "redditUrl": "https://reddit.com/submit/?url=https%3A%2F%2Fexample.com%2Fsome-article-url" }, "meta": {