hr-design-system-handlebars 1.59.9 → 1.59.11
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/CHANGELOG.md +24 -0
- package/dist/assets/index.css +27 -3
- package/dist/views/components/content/copytext/components/image/image.hbs +4 -0
- package/dist/views/components/page/base/page_header.hbs +16 -0
- package/dist/views/components/page/base/page_wrapper.hbs +4 -2
- package/dist/views/components/page/components/metadatabox.hbs +1 -1
- package/dist/views/components/page/story/story_article.hbs +2 -2
- package/dist/views/components/social_sharing/social_sharing_compact.hbs +73 -0
- package/dist/views/components/social_sharing/social_sharing_compact_icons.hbs +66 -0
- package/dist/views_static/components/content/copytext/components/image/image.hbs +4 -0
- package/dist/views_static/components/page/base/page_header.hbs +16 -0
- package/dist/views_static/components/page/base/page_wrapper.hbs +4 -2
- package/dist/views_static/components/page/components/metadatabox.hbs +1 -1
- package/dist/views_static/components/page/story/story_article.hbs +2 -2
- package/dist/views_static/components/social_sharing/social_sharing_compact.hbs +73 -0
- package/dist/views_static/components/social_sharing/social_sharing_compact_icons.hbs +66 -0
- package/package.json +1 -1
- package/src/assets/fixtures/page/story/story_with_label.json +15 -0
- package/src/assets/fixtures/teaser/teaser_labels.inc.json +4 -0
- package/src/stories/views/components/content/copytext/components/image/image.hbs +4 -0
- package/src/stories/views/components/page/base/page_header.hbs +16 -0
- package/src/stories/views/components/page/base/page_wrapper.hbs +4 -2
- package/src/stories/views/components/page/components/metadatabox.hbs +1 -1
- package/src/stories/views/components/page/story/fixtures/story_with_label.json +1 -0
- package/src/stories/views/components/page/story/story_article.hbs +2 -2
- package/src/stories/views/components/page/story/story_main.stories.js +14 -11
- package/src/stories/views/components/social_sharing/social_sharing_compact.hbs +73 -0
- package/src/stories/views/components/social_sharing/social_sharing_compact.mdx +16 -0
- package/src/stories/views/components/social_sharing/social_sharing_compact.stories.js +25 -0
- package/src/stories/views/components/social_sharing/social_sharing_compact_icons.hbs +66 -0
- package/src/stories/views/components/teaser/cluster/teaser_cluster.stories.js +3 -0
- package/src/stories/views/components/teaser/group_teaser/group.stories.js +3 -0
- package/src/stories/views/components/teaser/tabbox/teaser_tabbox.stories.js +2 -2
- package/src/stories/views/components/teaser/teaser_alternativ_av.stories.js +1 -0
- package/src/stories/views/components/teaser/teaser_event_calendar.stories.js +3 -0
- package/src/stories/views/components/teaser/teaser_indextext.stories.js +3 -0
- package/src/stories/views/components/teaser/teaser_logic/teaser_logic.stories.js +3 -0
- package/src/stories/views/components/teaser/ticker/teaser_ticker_alternativ.stories.js +3 -0
- package/src/stories/views/components/teaser/ticker/teaser_ticker_standard.stories.js +3 -0
- package/src/stories/views/components/teaser/ticker/teaser_ticker_timeline.stories.js +5 -0
- package/dist/views/components/socialmedia/socialmedia_compact.hbs +0 -25
- package/dist/views/components/socialmedia/socialmedia_compact_icons.hbs +0 -61
- package/dist/views_static/components/socialmedia/socialmedia_compact.hbs +0 -25
- package/dist/views_static/components/socialmedia/socialmedia_compact_icons.hbs +0 -61
- package/src/stories/views/components/socialmedia/socialmedia_compact.hbs +0 -25
- package/src/stories/views/components/socialmedia/socialmedia_compact_icons.hbs +0 -61
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<header class="mt-6 sm480:mt12">
|
|
2
|
+
<h2>
|
|
3
|
+
{{#if this.label }}
|
|
4
|
+
{{#with this.label}}
|
|
5
|
+
{{#> components/label/label_group}}
|
|
6
|
+
{{> components/label/label _type=this.type _text=(loca this.loca)}}
|
|
7
|
+
{{/components/label/label_group}}
|
|
8
|
+
{{/with}}
|
|
9
|
+
{{else}}
|
|
10
|
+
{{~#if topline}}
|
|
11
|
+
<span class="block text-base font-heading">{{this.topline}}</span>
|
|
12
|
+
{{/if~}}
|
|
13
|
+
{{/if~}}
|
|
14
|
+
<span class="text-3xl font-headingSerif sm480:text-5xl">{{this.title}}</span>
|
|
15
|
+
</h2>
|
|
16
|
+
</header>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"topline":"Quer über den großen Sylter Deich","title":"Zwei flinke Boxer jagen die quirlige Eva und ihren Mops","shorttext":"Vogel Quax zwickt Johnys Pferd Bim. Sylvia wagt quick den Jux bei Pforzheim. Polyfon zwitschernd aßen Mäxchens Vögel Rüben, Joghurt und Quark. Fix quäkt Jürgen blöd vom Paß. Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich. Falsches Üben von Xylophonmusik quält jeden größeren Zwerg.","hasMoreThanOneAuthor":false,"hasDwellTime":true,"isArchiveContent":false,"displayPageLead":{"isFalse":false},"teaseritem":{"isImage":true,"caption":"Bildunterschrift","copyrightWithLinks":"picture-alliance/dpa","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/connichi-106_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/connichi-106_v-16to9__small.jpg 320w, images/connichi-106_v-16to9__medium.jpg 480w, images/connichi-106_v-16to9__medium__extended.jpg 640w, images/connichi-106_v-16to9.jpg 960w, images/connichi-106_v-16to9__retina.jpg 1920w"}]}},"documentModificationDate":{"isModificationDate":false,"isPublicationDate":true,"htmlDateTime":"2024-02-15T19:30+0200","date":"15.02.24","time":"19:30"},"documentPublicationDate":{"htmlDateTime":"2024-02-15T19:30+0200","date":"15.02.24","time":"19:30"},"userComments":{"HasOneComment":false,"quantity":"117"},"byline":"Bylinetext","authorTitle":"Steffen Rebhahn","authorImage":{"isImage":true,"caption":"Steffen Rebhahn","copyrightWithLinks":"hr","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1_small.jpg","sources":[{"sizes":"50px","srcset":"images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1__xsmall.jpg 260w, images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1__small.jpg 380w, images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1__medium.jpg 480w, images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1.jpg 720w, images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1__large.jpg 960w"}]}},"authorUrl":"/author-url","webviewAuthorUrl":"webview-author-url","authorItems":[{"hasProfileLink":false,"from":"Von","textAfterAuthor":"Horst Schlämmer","delimiter":", "},{"hasProfileLink":false,"from":"","textAfterAuthor":"Karl Dall","delimiter":" und "},{"hasProfileLink":true,"from":"","authorName":"Peter Lustig","delimiter":"","link":{"url":"/author-url","isTargetBlank":false}}],"copytextParagraph":[{"isParagraph":true,"text":{"split":[{"isText":true,"text":"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod <strong>tempor invidunt</strong> ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata <i>sanctus est Lorem ipsum</i> dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut <a href='#' class='link'>labore et dolore</a> magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod."}]}},{"isParagraph":true,"text":{"split":[{"isUl":true,"text":"<li>Lorem ipsum dolor sit amet</li><li>At vero eos et accusam et justo</li><li>Stet clita kasd gubergren</li>"},{"isOl":true,"text":"<li>Lorem ipsum dolor sit amet</li><li>At vero eos et accusam et justo</li><li>Stet clita kasd gubergren</li>"}]}},{"isParagraph":true,"text":{"split":[{"isText":true,"text":"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod <strong>tempor invidunt</strong> ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata <i>sanctus est Lorem ipsum</i> dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut <a href='#' class='link'>labore et dolore</a> magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod."}]}},{"isHeadline":true,"text":"Zwischenüberschrift"},{"isParagraph":true,"text":{"split":[{"isText":true,"text":"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod <strong>tempor invidunt</strong> ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata <i>sanctus est Lorem ipsum</i> dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut <a href='#' class='link'>labore et dolore</a> magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod."}]}}],"source":["Horst Schlämmer","hessenschau.de"],"geotag":[{"url":"/Frankfurt-url","title":"Frankfurt"},{"url":"/Offenbach-url","title":"Offenbach"},{"url":"/Darmstadt-url","title":"Darmstadt"}],"topictags":[{"url":"/Parteien-url","title":"Parteien"},{"url":"/Wahlen-url","title":"Wahlen"},{"url":"/Landtagswahl-url","title":"Landtagswahl"}],"socialSharing":{"twitterLink":"/twitterLink-url","facebookLink":"/facebookLink-url","whatsappLink":"/whatsappLink-url","mailtoLink":"/mailtoLink-url"},"programReference":{"hasReference":true,"name":"Program-name","link":{"url":"/Program-url","isTargetBlank":true},"displayWithTime":true,"date":{"htmlDateTime":"2024-02-15T19:30+0200","date":"15.02.24","dateSeparatorTime":"19:30"}},"label":{"type":"glosse","loca":"label_glosse"}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{{#>components/page/base/page_wrapper}}
|
|
2
|
-
|
|
3
|
-
<h2 class="text-3xl font-headingSerif sm480:text-5xl">{{this.title}}</h2>
|
|
2
|
+
{{> components/page/base/page_header}}
|
|
4
3
|
|
|
5
4
|
{{> components/page/components/shorttext _text=this.shorttext }}
|
|
6
5
|
|
|
7
6
|
{{> components/page/components/metadatabox _showDate=this.hasDwellTime}}
|
|
8
7
|
|
|
8
|
+
|
|
9
9
|
{{#unless this.displayPageLead.isFalse}}
|
|
10
10
|
{{#with this.teaseritem }}
|
|
11
11
|
{{#if this.isImage}}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import story_template from './story_article.hbs'
|
|
2
|
-
import
|
|
2
|
+
import data_story from './fixtures/story.json'
|
|
3
|
+
import data_story_with_label from './fixtures/story_with_label.json'
|
|
3
4
|
|
|
4
5
|
const Template = ({ ...args }) => {
|
|
5
6
|
// You can either use a function to create DOM elements or use a plain html string!
|
|
@@ -13,16 +14,18 @@ export default {
|
|
|
13
14
|
|
|
14
15
|
export const Default = {
|
|
15
16
|
render: Template.bind({}),
|
|
16
|
-
name: '
|
|
17
|
-
args:
|
|
17
|
+
name: 'Artikel mit Topline',
|
|
18
|
+
args: data_story,
|
|
18
19
|
parameters: {
|
|
19
20
|
layout: 'fullscreen',
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const WithLabel = {
|
|
25
|
+
render: Template.bind({}),
|
|
26
|
+
name: 'Artikel mit Label',
|
|
27
|
+
args: data_story_with_label,
|
|
28
|
+
parameters: {
|
|
29
|
+
layout: 'fullscreen',
|
|
30
|
+
}
|
|
28
31
|
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<div x-data="{
|
|
2
|
+
open: false,
|
|
3
|
+
sharingIsVisible: true,
|
|
4
|
+
toggle() {
|
|
5
|
+
var isMobileApple = navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)/i);
|
|
6
|
+
var isMobileOther= navigator.userAgent.match(/(Android)|(webOS)|(Blackberry)|(Windows Phone)/i);
|
|
7
|
+
var isMobile= isMobileApple || isMobileOther;
|
|
8
|
+
if (navigator.share && isMobile) {
|
|
9
|
+
navigator.share({
|
|
10
|
+
title: 'Awesome Content',
|
|
11
|
+
text: 'Check out this awesome content!',
|
|
12
|
+
url: 'https://example.com',
|
|
13
|
+
})
|
|
14
|
+
.then(() => console.log('Shared successfully'))
|
|
15
|
+
.catch((error) => console.error('Sharing failed:', error));
|
|
16
|
+
} else {
|
|
17
|
+
if (this.open) {
|
|
18
|
+
return this.close()
|
|
19
|
+
}
|
|
20
|
+
this.$refs.button.focus()
|
|
21
|
+
this.open = true
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
},
|
|
25
|
+
close(focusAfter) {
|
|
26
|
+
if (! this.open) return
|
|
27
|
+
|
|
28
|
+
this.open = false
|
|
29
|
+
|
|
30
|
+
focusAfter && focusAfter.focus()
|
|
31
|
+
}
|
|
32
|
+
}"
|
|
33
|
+
x-on:keydown.escape.prevent.stop="close($refs.button)"
|
|
34
|
+
x-on:focusin.window="! $refs.panel.contains($event.target) && close()"
|
|
35
|
+
x-id="['dropdown-button']"
|
|
36
|
+
class="flex self-center justify-end grow "
|
|
37
|
+
x-intersect:leave="sharingIsVisible = false"
|
|
38
|
+
x-intersect:enter="sharingIsVisible = true"
|
|
39
|
+
>
|
|
40
|
+
<div x-text="sharingIsVisible" class="fixed left-1 top-1"></div>
|
|
41
|
+
<div :class="{ 'grid grid-page z-100 fixed bottom-feature-box-height left-0 w-full': !sharingIsVisible }">
|
|
42
|
+
<div class="" :class="{ 'flex justify-start col-full sm:col-main relative': !sharingIsVisible }">
|
|
43
|
+
<div class="flex gap-3" :class="{ 'bottom-5 left-5 flex-col absolute bg-white': !sharingIsVisible }">
|
|
44
|
+
<button
|
|
45
|
+
class="order-2 w-8 h-8 ds-button font-heading active:scale-95 hover:scale-105 group"
|
|
46
|
+
:class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
|
|
47
|
+
x-ref="button"
|
|
48
|
+
x-on:click="toggle()"
|
|
49
|
+
:aria-expanded="open"
|
|
50
|
+
:aria-controls="$id('dropdown-button')">
|
|
51
|
+
{{> components/base/image/icon _addClass="w-full h-full fill-button group-hover:fill-button--dark" _icon="teilen-button" _iconmap="icons" }}
|
|
52
|
+
</button>
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
<!-- Panel -->
|
|
56
|
+
<div
|
|
57
|
+
x-ref="panel"
|
|
58
|
+
x-show="open"
|
|
59
|
+
x-transition.origin.right
|
|
60
|
+
x-on:click.outside="close($refs.button)"
|
|
61
|
+
:id="$id('dropdown-button')"
|
|
62
|
+
style="display: none;"
|
|
63
|
+
class="bg-white"
|
|
64
|
+
>
|
|
65
|
+
<ul class="flex gap-3" :class="{ 'flex-col': ! sharingIsVisible }">
|
|
66
|
+
|
|
67
|
+
{{> components/social_sharing/social_sharing_compact_icons }}
|
|
68
|
+
</ul>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ArgsTable, Meta, Story, Canvas } from '@storybook/blocks'
|
|
2
|
+
import * as SocialSharingStories from './social_sharing_compact.stories'
|
|
3
|
+
|
|
4
|
+
<Meta of={SocialSharingStories} />
|
|
5
|
+
|
|
6
|
+
# Podcast Player Playlist (Channel)
|
|
7
|
+
|
|
8
|
+
## Beschreibung
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Verwendung
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
<Canvas withToolbar>
|
|
15
|
+
<Story of={SocialSharingStories.Default} />
|
|
16
|
+
</Canvas>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import story_template from './social_sharing_compact.hbs'
|
|
2
|
+
|
|
3
|
+
const Template = ({ ...args }) => {
|
|
4
|
+
// You can either use a function to create DOM elements or use a plain html string!
|
|
5
|
+
// return `<span>${topline}</span>`;
|
|
6
|
+
return story_template({ ...args })
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
title: 'Komponenten/Social Sharing',
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const Default = {
|
|
14
|
+
render: Template.bind({}),
|
|
15
|
+
name: 'Social Sharing Kompakt',
|
|
16
|
+
parameters: {
|
|
17
|
+
},
|
|
18
|
+
decorators: [
|
|
19
|
+
(Story) => {
|
|
20
|
+
return `<div class="w-full h-[500rem]">
|
|
21
|
+
${Story()}
|
|
22
|
+
</div>`
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<li>
|
|
2
|
+
<a class="{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
|
|
3
|
+
:class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
|
|
4
|
+
href="{{this}}"
|
|
5
|
+
target="_blank"
|
|
6
|
+
rel="noopener noreferrer"
|
|
7
|
+
title="{{loca "share_x_linktitle" }}"
|
|
8
|
+
{{#with ../../this.content.trackingData}}
|
|
9
|
+
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::X"}]}'
|
|
10
|
+
{{/with}}
|
|
11
|
+
>
|
|
12
|
+
{{~> components/base/image/icon _addClass="w-full h-full fill-[#0f1419] " _icon="x" _iconmap="icons" ~}}
|
|
13
|
+
</a>
|
|
14
|
+
</li>
|
|
15
|
+
<li class="">
|
|
16
|
+
<a class="{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
|
|
17
|
+
:class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
|
|
18
|
+
href="{{this}}"
|
|
19
|
+
target="_blank"
|
|
20
|
+
rel="noopener noreferrer"
|
|
21
|
+
title="{{loca "share_facebook_linktitle" }}"
|
|
22
|
+
{{#with ../../this.content.trackingData}}
|
|
23
|
+
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::facebook"}]}'
|
|
24
|
+
{{/with}}
|
|
25
|
+
>
|
|
26
|
+
{{~> components/base/image/icon _addClass="w-full h-full fill-[#3b5999] " _icon="facebook" _iconmap="icons" ~}}
|
|
27
|
+
</a>
|
|
28
|
+
</li>
|
|
29
|
+
<li class="">
|
|
30
|
+
<a class="{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
|
|
31
|
+
:class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
|
|
32
|
+
href="{{this}}"
|
|
33
|
+
target="_blank"
|
|
34
|
+
rel="noopener noreferrer"
|
|
35
|
+
title="{{loca "share_whatsapp_linktitle" }}"
|
|
36
|
+
{{#with ../../this.content.trackingData}}
|
|
37
|
+
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::whatsapp"}]}'
|
|
38
|
+
{{/with}}
|
|
39
|
+
>
|
|
40
|
+
{{~> components/base/image/icon _addClass="w-full h-full fill-[#4dc247] " _icon="whatsapp" _iconmap="icons" ~}}
|
|
41
|
+
</a>
|
|
42
|
+
</li>
|
|
43
|
+
<li class="">
|
|
44
|
+
<a class="{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
|
|
45
|
+
:class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
|
|
46
|
+
href="{{this}}"
|
|
47
|
+
title="{{loca "share_mail_linktitle" }}"
|
|
48
|
+
{{#with ../../this.content.trackingData}}
|
|
49
|
+
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::mailto"}]}'
|
|
50
|
+
{{/with}}
|
|
51
|
+
>
|
|
52
|
+
{{~> components/base/image/icon _addClass="w-full h-full fill-[#006dc1] " _icon="mail" _iconmap="icons" ~}}
|
|
53
|
+
</a>
|
|
54
|
+
</li>
|
|
55
|
+
<li class="">
|
|
56
|
+
<a class="{{#with ../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
|
|
57
|
+
:class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
|
|
58
|
+
href="javascript:window.print()"
|
|
59
|
+
title="{{loca "share_print_linktitle" }}"
|
|
60
|
+
{{#with ../this.content.trackingData}}
|
|
61
|
+
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::printbutton"}]}'
|
|
62
|
+
{{/with}}
|
|
63
|
+
>
|
|
64
|
+
{{~> components/base/image/icon _addClass="w-full h-full fill-[#606060] " _icon="print" _iconmap="icons" ~}}
|
|
65
|
+
</a>
|
|
66
|
+
</li>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<div class="c-shareCompact">
|
|
2
|
-
<div class="c-shareCompact__wrapper -isClosed js-share-compact-wrapper js-load"
|
|
3
|
-
data-hr-share-compact='{"title":"{{../this.escapedTitle}}", "url":"{{../this.socialSharingUrl}}" }'>
|
|
4
|
-
<div class="c-shareCompact__mainButton">
|
|
5
|
-
<button class="link--shareIcon touchArea "
|
|
6
|
-
id="{{../this.anchor}}-s"
|
|
7
|
-
rel="noopener noreferrer"
|
|
8
|
-
title="{{loca "share_headline" }}"
|
|
9
|
-
>
|
|
10
|
-
{{~> base/image/icon _addClass="icon--teilen-button" _icon="teilen-button" _iconmap="icons" ~}}
|
|
11
|
-
</button>
|
|
12
|
-
|
|
13
|
-
</div>
|
|
14
|
-
<div class="c-shareCompact__shareButtons hide">
|
|
15
|
-
<ul>
|
|
16
|
-
{{~> modules/socialmedia/shareCompact-icons ~}}
|
|
17
|
-
</ul>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="c-shareCompact__message hide">
|
|
20
|
-
{{~> base/image/icon _addClass="" _icon="status-done" _iconmap="icons" ~}}
|
|
21
|
-
{{loca "ticker_sharing_message" }}
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
</div>
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
{{~#with this.twitterLink ~}}
|
|
2
|
-
<li class="c-shareCompact__item">
|
|
3
|
-
<a class="c-shareCompact__link touchArea js-shareLinkTwitter"
|
|
4
|
-
href="{{this}}"
|
|
5
|
-
target="_blank"
|
|
6
|
-
rel="noopener noreferrer"
|
|
7
|
-
title="{{loca "share_x_linktitle" }}"
|
|
8
|
-
>
|
|
9
|
-
{{~> base/image/icon _addClass="icon--twitter" _icon="x" _iconmap="icons" ~}}
|
|
10
|
-
</a>
|
|
11
|
-
</li>
|
|
12
|
-
{{~/with~}}
|
|
13
|
-
{{~#with this.facebookLink ~}}
|
|
14
|
-
<li class="c-shareCompact__item">
|
|
15
|
-
<a class="c-shareCompact__link touchArea js-shareLinkFacebook"
|
|
16
|
-
href="{{this}}"
|
|
17
|
-
target="_blank"
|
|
18
|
-
rel="noopener noreferrer"
|
|
19
|
-
title="{{loca "share_facebook_linktitle" }}"
|
|
20
|
-
>
|
|
21
|
-
{{~> base/image/icon _addClass="icon--facebook" _icon="facebook" _iconmap="icons" ~}}
|
|
22
|
-
</a>
|
|
23
|
-
</li>
|
|
24
|
-
{{~/with~}}
|
|
25
|
-
{{~#with this.whatsappLink ~}}
|
|
26
|
-
<li class="c-shareCompact__item -whatsapp">
|
|
27
|
-
<a class="c-shareCompact__link touchArea js-shareLinkWhatsapp"
|
|
28
|
-
href="{{this}}"
|
|
29
|
-
target="_blank"
|
|
30
|
-
rel="noopener noreferrer"
|
|
31
|
-
title="{{loca "share_whatsapp_linktitle" }}"
|
|
32
|
-
>
|
|
33
|
-
{{~> base/image/icon _addClass="icon--whatsapp" _icon="whatsapp" _iconmap="icons" ~}}
|
|
34
|
-
</a>
|
|
35
|
-
</li>
|
|
36
|
-
{{~/with~}}
|
|
37
|
-
{{~#with this.mailtoLink ~}}
|
|
38
|
-
<li class="c-shareCompact__item ">
|
|
39
|
-
<a class="c-shareCompact__link touchArea js-shareLinkMail"
|
|
40
|
-
href="{{this}}"
|
|
41
|
-
title="{{loca "share_mail_linktitle" }}"
|
|
42
|
-
{{#with ../../this.content.trackingData}}
|
|
43
|
-
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": {{this.secondLevelId}},"clickLabel": "newSocialShareClick::compact-mailto"}]}'
|
|
44
|
-
{{/with}}
|
|
45
|
-
>
|
|
46
|
-
{{~> base/image/icon _addClass="icon--mailto" _icon="mail" _iconmap="icons" ~}}
|
|
47
|
-
</a>
|
|
48
|
-
</li>
|
|
49
|
-
{{~/with~}}
|
|
50
|
-
|
|
51
|
-
<li class="c-shareCompact__item -copy">
|
|
52
|
-
<button class="c-shareCompact__link touchArea js-shareLinkCopy"
|
|
53
|
-
|
|
54
|
-
title="{{loca "share_copy_linktitle" }}"
|
|
55
|
-
{{#with ../../this.content.trackingData}}
|
|
56
|
-
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": {{this.secondLevelId}},"clickLabel": "newSocialShareClick::compact-copy"}]}'
|
|
57
|
-
{{/with}}
|
|
58
|
-
>
|
|
59
|
-
{{~> base/image/icon _addClass="icon--mailto" _icon="copy" _iconmap="icons" ~}}
|
|
60
|
-
</button>
|
|
61
|
-
</li>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<div class="c-shareCompact">
|
|
2
|
-
<div class="c-shareCompact__wrapper -isClosed js-share-compact-wrapper js-load"
|
|
3
|
-
data-hr-share-compact='{"title":"{{../this.escapedTitle}}", "url":"{{../this.socialSharingUrl}}" }'>
|
|
4
|
-
<div class="c-shareCompact__mainButton">
|
|
5
|
-
<button class="link--shareIcon touchArea "
|
|
6
|
-
id="{{../this.anchor}}-s"
|
|
7
|
-
rel="noopener noreferrer"
|
|
8
|
-
title="{{loca "share_headline" }}"
|
|
9
|
-
>
|
|
10
|
-
{{~> base/image/icon _addClass="icon--teilen-button" _icon="teilen-button" _iconmap="icons" ~}}
|
|
11
|
-
</button>
|
|
12
|
-
|
|
13
|
-
</div>
|
|
14
|
-
<div class="c-shareCompact__shareButtons hide">
|
|
15
|
-
<ul>
|
|
16
|
-
{{~> modules/socialmedia/shareCompact-icons ~}}
|
|
17
|
-
</ul>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="c-shareCompact__message hide">
|
|
20
|
-
{{~> base/image/icon _addClass="" _icon="status-done" _iconmap="icons" ~}}
|
|
21
|
-
{{loca "ticker_sharing_message" }}
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
</div>
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
{{~#with this.twitterLink ~}}
|
|
2
|
-
<li class="c-shareCompact__item">
|
|
3
|
-
<a class="c-shareCompact__link touchArea js-shareLinkTwitter"
|
|
4
|
-
href="{{this}}"
|
|
5
|
-
target="_blank"
|
|
6
|
-
rel="noopener noreferrer"
|
|
7
|
-
title="{{loca "share_x_linktitle" }}"
|
|
8
|
-
>
|
|
9
|
-
{{~> base/image/icon _addClass="icon--twitter" _icon="x" _iconmap="icons" ~}}
|
|
10
|
-
</a>
|
|
11
|
-
</li>
|
|
12
|
-
{{~/with~}}
|
|
13
|
-
{{~#with this.facebookLink ~}}
|
|
14
|
-
<li class="c-shareCompact__item">
|
|
15
|
-
<a class="c-shareCompact__link touchArea js-shareLinkFacebook"
|
|
16
|
-
href="{{this}}"
|
|
17
|
-
target="_blank"
|
|
18
|
-
rel="noopener noreferrer"
|
|
19
|
-
title="{{loca "share_facebook_linktitle" }}"
|
|
20
|
-
>
|
|
21
|
-
{{~> base/image/icon _addClass="icon--facebook" _icon="facebook" _iconmap="icons" ~}}
|
|
22
|
-
</a>
|
|
23
|
-
</li>
|
|
24
|
-
{{~/with~}}
|
|
25
|
-
{{~#with this.whatsappLink ~}}
|
|
26
|
-
<li class="c-shareCompact__item -whatsapp">
|
|
27
|
-
<a class="c-shareCompact__link touchArea js-shareLinkWhatsapp"
|
|
28
|
-
href="{{this}}"
|
|
29
|
-
target="_blank"
|
|
30
|
-
rel="noopener noreferrer"
|
|
31
|
-
title="{{loca "share_whatsapp_linktitle" }}"
|
|
32
|
-
>
|
|
33
|
-
{{~> base/image/icon _addClass="icon--whatsapp" _icon="whatsapp" _iconmap="icons" ~}}
|
|
34
|
-
</a>
|
|
35
|
-
</li>
|
|
36
|
-
{{~/with~}}
|
|
37
|
-
{{~#with this.mailtoLink ~}}
|
|
38
|
-
<li class="c-shareCompact__item ">
|
|
39
|
-
<a class="c-shareCompact__link touchArea js-shareLinkMail"
|
|
40
|
-
href="{{this}}"
|
|
41
|
-
title="{{loca "share_mail_linktitle" }}"
|
|
42
|
-
{{#with ../../this.content.trackingData}}
|
|
43
|
-
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": {{this.secondLevelId}},"clickLabel": "newSocialShareClick::compact-mailto"}]}'
|
|
44
|
-
{{/with}}
|
|
45
|
-
>
|
|
46
|
-
{{~> base/image/icon _addClass="icon--mailto" _icon="mail" _iconmap="icons" ~}}
|
|
47
|
-
</a>
|
|
48
|
-
</li>
|
|
49
|
-
{{~/with~}}
|
|
50
|
-
|
|
51
|
-
<li class="c-shareCompact__item -copy">
|
|
52
|
-
<button class="c-shareCompact__link touchArea js-shareLinkCopy"
|
|
53
|
-
|
|
54
|
-
title="{{loca "share_copy_linktitle" }}"
|
|
55
|
-
{{#with ../../this.content.trackingData}}
|
|
56
|
-
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": {{this.secondLevelId}},"clickLabel": "newSocialShareClick::compact-copy"}]}'
|
|
57
|
-
{{/with}}
|
|
58
|
-
>
|
|
59
|
-
{{~> base/image/icon _addClass="icon--mailto" _icon="copy" _iconmap="icons" ~}}
|
|
60
|
-
</button>
|
|
61
|
-
</li>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<div class="c-shareCompact">
|
|
2
|
-
<div class="c-shareCompact__wrapper -isClosed js-share-compact-wrapper js-load"
|
|
3
|
-
data-hr-share-compact='{"title":"{{../this.escapedTitle}}", "url":"{{../this.socialSharingUrl}}" }'>
|
|
4
|
-
<div class="c-shareCompact__mainButton">
|
|
5
|
-
<button class="link--shareIcon touchArea "
|
|
6
|
-
id="{{../this.anchor}}-s"
|
|
7
|
-
rel="noopener noreferrer"
|
|
8
|
-
title="{{loca "share_headline" }}"
|
|
9
|
-
>
|
|
10
|
-
{{~> base/image/icon _addClass="icon--teilen-button" _icon="teilen-button" _iconmap="icons" ~}}
|
|
11
|
-
</button>
|
|
12
|
-
|
|
13
|
-
</div>
|
|
14
|
-
<div class="c-shareCompact__shareButtons hide">
|
|
15
|
-
<ul>
|
|
16
|
-
{{~> modules/socialmedia/shareCompact-icons ~}}
|
|
17
|
-
</ul>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="c-shareCompact__message hide">
|
|
20
|
-
{{~> base/image/icon _addClass="" _icon="status-done" _iconmap="icons" ~}}
|
|
21
|
-
{{loca "ticker_sharing_message" }}
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
</div>
|