hr-design-system-handlebars 1.63.14 → 1.64.0
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/.github/workflows/chromatic.yml +1 -1
- package/CHANGELOG.md +24 -0
- package/build/handlebars/helpers/handlebar-helpers.js +72 -14
- package/dist/assets/brand/hessenschau/conf/locatags.merged.json +6 -0
- package/dist/assets/brand/hr/conf/locatags.merged.json +6 -0
- package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +6 -0
- package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +6 -0
- package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +6 -0
- package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +6 -0
- package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +6 -0
- package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +6 -0
- package/dist/assets/brand/hr1/conf/locatags.merged.json +6 -0
- package/dist/assets/brand/hr2/conf/locatags.merged.json +6 -0
- package/dist/assets/brand/hr3/conf/locatags.merged.json +6 -0
- package/dist/assets/brand/hr4/conf/locatags.merged.json +6 -0
- package/dist/assets/brand/you-fm/conf/locatags.merged.json +6 -0
- package/dist/assets/index.css +13 -3
- package/dist/assets/js/components/modal/defaultModal.subfeature.js +58 -0
- package/dist/assets/js/components/modal/modal.feature.js +11 -52
- package/dist/assets/js/components/modal/userConsentModal.subfeature.js +120 -0
- package/dist/views/components/banner/header/banner_image.hbs +1 -1
- package/dist/views/components/base/backlink.hbs +1 -1
- package/dist/views/components/base/link.hbs +1 -1
- package/dist/views/components/dataPolicySettings/data_policy_settings.hbs +4 -4
- package/dist/views/components/event/calendar/event_calendar.hbs +3 -0
- package/dist/views/components/event/event_ticket_button.hbs +10 -18
- package/dist/views/components/geoTag/geoTag_list.hbs +1 -1
- package/dist/views/components/mediaplayer/media_player.hbs +1 -1
- package/dist/views/components/modal/modal.hbs +1 -1
- package/dist/views/components/modal/user_consent.hbs +13 -0
- package/dist/views/components/navigation/breadcrumb/breadcrumb.hbs +1 -1
- package/dist/views/components/navigation/breadcrumb/breadcrumb_items.ssi.hbs +1 -1
- package/dist/views/components/page/components/author.hbs +1 -1
- package/dist/views/components/page/components/socialsharing.hbs +4 -4
- package/dist/views/components/podcast/components/podcast_subscribe_button.hbs +1 -1
- package/dist/views/components/podcast/podcast_player.hbs +1 -1
- package/dist/views/components/site_header/brand_navigation/brand_navigation_item.hbs +1 -1
- package/dist/views/components/site_header/navigation_flyout/navigation_flyout.hbs +1 -1
- package/dist/views/components/site_header/section_navigation/section_navigation_item.hbs +3 -3
- package/dist/views/components/site_header/service_logo.hbs +1 -1
- package/dist/views/components/site_header/service_navigation/service_navigation_item.hbs +3 -3
- package/dist/views/components/social_sharing/social_sharing_compact_icons.hbs +4 -4
- package/dist/views/components/socialmedia/socialmedia.hbs +4 -4
- package/dist/views/components/teaser/components/teaser_body.hbs +10 -1
- package/dist/views/components/teaser/components/teaser_lead.hbs +1 -1
- package/dist/views/components/teaser/group_teaser/group_teaser.hbs +1 -1
- package/dist/views/components/teaser/group_teaser/group_teaser_accented.hbs +1 -1
- package/dist/views/components/teaser/ticker/teaser_ticker_timeline.hbs +1 -1
- package/dist/views/components/topictag/topictag_list.hbs +1 -1
- package/dist/views_static/components/banner/header/banner_image.hbs +1 -1
- package/dist/views_static/components/base/backlink.hbs +1 -1
- package/dist/views_static/components/base/link.hbs +1 -1
- package/dist/views_static/components/dataPolicySettings/data_policy_settings.hbs +4 -4
- package/dist/views_static/components/event/calendar/event_calendar.hbs +3 -0
- package/dist/views_static/components/event/event_ticket_button.hbs +10 -18
- package/dist/views_static/components/geoTag/geoTag_list.hbs +1 -1
- package/dist/views_static/components/mediaplayer/media_player.hbs +1 -1
- package/dist/views_static/components/modal/modal.hbs +1 -1
- package/dist/views_static/components/modal/user_consent.hbs +13 -0
- package/dist/views_static/components/navigation/breadcrumb/breadcrumb.hbs +1 -1
- package/dist/views_static/components/navigation/breadcrumb/breadcrumb_items.ssi.hbs +1 -1
- package/dist/views_static/components/page/components/author.hbs +1 -1
- package/dist/views_static/components/page/components/socialsharing.hbs +4 -4
- package/dist/views_static/components/podcast/components/podcast_subscribe_button.hbs +1 -1
- package/dist/views_static/components/podcast/podcast_player.hbs +1 -1
- package/dist/views_static/components/site_header/brand_navigation/brand_navigation_item.hbs +1 -1
- package/dist/views_static/components/site_header/navigation_flyout/navigation_flyout.hbs +1 -1
- package/dist/views_static/components/site_header/section_navigation/section_navigation_item.hbs +3 -3
- package/dist/views_static/components/site_header/service_logo.hbs +1 -1
- package/dist/views_static/components/site_header/service_navigation/service_navigation_item.hbs +3 -3
- package/dist/views_static/components/social_sharing/social_sharing_compact_icons.hbs +4 -4
- package/dist/views_static/components/socialmedia/socialmedia.hbs +4 -4
- package/dist/views_static/components/teaser/components/teaser_body.hbs +10 -1
- package/dist/views_static/components/teaser/components/teaser_lead.hbs +1 -1
- package/dist/views_static/components/teaser/group_teaser/group_teaser.hbs +1 -1
- package/dist/views_static/components/teaser/group_teaser/group_teaser_accented.hbs +1 -1
- package/dist/views_static/components/teaser/ticker/teaser_ticker_timeline.hbs +1 -1
- package/dist/views_static/components/topictag/topictag_list.hbs +1 -1
- package/package.json +1 -1
- package/src/assets/brand/_default/conf/locatags.json +6 -0
- package/src/assets/brand/hessenschau/conf/locatags.merged.json +6 -0
- package/src/assets/brand/hr/conf/locatags.merged.json +6 -0
- package/src/assets/brand/hr-bigband/conf/locatags.merged.json +6 -0
- package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +6 -0
- package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +6 -0
- package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +6 -0
- package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +6 -0
- package/src/assets/brand/hr-werbung/conf/locatags.merged.json +6 -0
- package/src/assets/brand/hr1/conf/locatags.merged.json +6 -0
- package/src/assets/brand/hr2/conf/locatags.merged.json +6 -0
- package/src/assets/brand/hr3/conf/locatags.merged.json +6 -0
- package/src/assets/brand/hr4/conf/locatags.merged.json +6 -0
- package/src/assets/brand/you-fm/conf/locatags.merged.json +6 -0
- package/src/assets/css/custom-components.css +2 -1
- package/src/assets/fixtures/teaser/teaser_standard_50_serif_link_two_click.json +22 -0
- package/src/assets/fixtures/teaser/teasers.inc.json +2 -1
- package/src/assets/tailwind.css +3 -0
- package/src/stories/views/components/banner/header/banner_image.hbs +1 -1
- package/src/stories/views/components/base/backlink.hbs +1 -1
- package/src/stories/views/components/base/link.hbs +1 -1
- package/src/stories/views/components/dataPolicySettings/data_policy_settings.hbs +4 -4
- package/src/stories/views/components/event/calendar/event_calendar.hbs +3 -0
- package/src/stories/views/components/event/event_ticket_button.hbs +10 -18
- package/src/stories/views/components/geoTag/geoTag_list.hbs +1 -1
- package/src/stories/views/components/mediaplayer/media_player.hbs +1 -1
- package/src/stories/views/components/modal/defaultModal.subfeature.js +58 -0
- package/src/stories/views/components/modal/modal.feature.js +11 -52
- package/src/stories/views/components/modal/modal.hbs +1 -1
- package/src/stories/views/components/modal/modal.mdx +104 -0
- package/src/stories/views/components/modal/modal.stories.js +79 -0
- package/src/stories/views/components/modal/userConsentModal.subfeature.js +120 -0
- package/src/stories/views/components/modal/user_consent.hbs +13 -0
- package/src/stories/views/components/navigation/breadcrumb/breadcrumb.hbs +1 -1
- package/src/stories/views/components/navigation/breadcrumb/breadcrumb_items.ssi.hbs +1 -1
- package/src/stories/views/components/page/components/author.hbs +1 -1
- package/src/stories/views/components/page/components/socialsharing.hbs +4 -4
- package/src/stories/views/components/pagination/fixtures/page_pagination.json +1 -1
- package/src/stories/views/components/podcast/components/podcast_subscribe_button.hbs +1 -1
- package/src/stories/views/components/podcast/podcast_player.hbs +1 -1
- package/src/stories/views/components/site_header/brand_navigation/brand_navigation_item.hbs +1 -1
- package/src/stories/views/components/site_header/navigation_flyout/navigation_flyout.hbs +1 -1
- package/src/stories/views/components/site_header/section_navigation/section_navigation_item.hbs +3 -3
- package/src/stories/views/components/site_header/service_logo.hbs +1 -1
- package/src/stories/views/components/site_header/service_navigation/service_navigation_item.hbs +3 -3
- package/src/stories/views/components/social_sharing/social_sharing_compact_icons.hbs +4 -4
- package/src/stories/views/components/socialmedia/socialmedia.hbs +4 -4
- package/src/stories/views/components/teaser/components/teaser_body.hbs +10 -1
- package/src/stories/views/components/teaser/components/teaser_lead.hbs +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_link.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_link.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_link.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_link.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_link.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_link.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_link.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_link_two_click.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_link.json +1 -1
- package/src/stories/views/components/teaser/group_teaser/group_teaser.hbs +1 -1
- package/src/stories/views/components/teaser/group_teaser/group_teaser_accented.hbs +1 -1
- package/src/stories/views/components/teaser/teaser_standard.mdx +4 -0
- package/src/stories/views/components/teaser/teaser_standard.stories.js +7 -0
- package/src/stories/views/components/teaser/ticker/teaser_ticker_timeline.hbs +1 -1
- package/src/stories/views/components/topictag/topictag_list.hbs +1 -1
- package/tailwind.config.js +2 -0
package/src/stories/views/components/site_header/section_navigation/section_navigation_item.hbs
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
@click="preventDefault(isDesktopView(),$event); toggle(); correctFlyoutPos()"
|
|
29
29
|
@resize.window="dropped=false; correctFlyoutPos()"
|
|
30
30
|
:class="dropped ? 'lg:underline font-bold lg:font-normal' : 'font-normal'"
|
|
31
|
-
class="js-noStateManager {{#if this.selected}}-currentSection lg:justify-center !font-bold {{/if}}link-focus-inset js-load pl-5 pr-8 lg:pl-4 lg:pr-4 flex flex-auto justify-between lg:flex-initial h-10 lg:w-full items-center leading-4"
|
|
31
|
+
class="{{#if this.extern}}{{if (isUserConsentNeeded this.url) 'js-user-consent-needed ' ''}}{{else}}{{if (isUserConsentNeeded (resourceUrl this.url)) 'js-user-consent-needed ' ''}}{{/if}}js-dropdown-in-desktop js-noStateManager {{#if this.selected}}-currentSection lg:justify-center !font-bold {{/if}}link-focus-inset js-load pl-5 pr-8 lg:pl-4 lg:pr-4 flex flex-auto justify-between lg:flex-initial h-10 lg:w-full items-center leading-4"
|
|
32
32
|
aria-haspopup="true"
|
|
33
33
|
x-effect="$el.setAttribute('aria-expanded', dropped);$el.setAttribute('tabindex', $store.burgeropen || $screen('lg') ? '0' : '-1')"
|
|
34
34
|
aria-owns="flyout-{{getRandom}}"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
id="flyout-{{nextRandom}}-1"
|
|
43
43
|
|
|
44
44
|
:class="dropped ? 'font-bold' : ''"
|
|
45
|
-
class="{{#if this.selected}}-currentSection lg:justify-center {{/if}}link-focus-inset js-load pl-5 pr-8 lg:pl-4 lg:pr-4 flex flex-auto h-10 items-center leading-4 lg:w-full lg:justify-center{{#if this.selected}} font-bold{{/if}}"
|
|
45
|
+
class="{{#if this.extern}}{{if (isUserConsentNeeded this.Url) 'js-user-consent-needed ' ''}}{{else}}{{if (isUserConsentNeeded (resourceUrl this.url)) 'js-user-consent-needed ' ''}}{{/if}}{{#if this.selected}}-currentSection lg:justify-center {{/if}}link-focus-inset js-load pl-5 pr-8 lg:pl-4 lg:pr-4 flex flex-auto h-10 items-center leading-4 lg:w-full lg:justify-center{{#if this.selected}} font-bold{{/if}}"
|
|
46
46
|
{{#if this.labelText}} aria-label="{{this.labelText}}"{{/if}}
|
|
47
47
|
aria-haspopup="true"
|
|
48
48
|
x-effect="$el.setAttribute('aria-expanded', dropped || $screen('lg'));$el.setAttribute('tabindex', $store.burgeropen || $screen('lg') ? '0' : '-1')"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
{{!-- Gilt für START/GESELLSCHAFT/WIRTSCHAFT usw: --}}
|
|
58
58
|
<a {{#if this.extern}}href="{{this.url}}{{else}}href="{{resourceUrl
|
|
59
59
|
this.url}}{{/if}}"
|
|
60
|
-
class="{{#if this.selected}}-currentSection lg:justify-center {{/if}} link-focus-inset js-load flex justify-start px-5 lg:px-4 h-10 lg:justify-center items-center w-full{{#if this.selected}} font-bold{{/if}}"
|
|
60
|
+
class="{{#if this.extern}}{{if (isUserConsentNeeded this.url) 'js-user-consent-needed ' ''}}{{else}}{{if (isUserConsentNeeded (resourceUrl this.url)) 'js-user-consent-needed ' ''}}{{/if}}{{#if this.selected}}-currentSection lg:justify-center {{/if}} link-focus-inset js-load flex justify-start px-5 lg:px-4 h-10 lg:justify-center items-center w-full{{#if this.selected}} font-bold{{/if}}"
|
|
61
61
|
{{#if this.labelText}} aria-label="{{this.labelText}}"{{/if}}
|
|
62
62
|
data-hr-click-tracking='{"settings": [{"type": "uxNavigation", "secondLevelId": 1, "clickLabel": "Rubriknavigation::{{this.text}}-Link geklickt"}]}'
|
|
63
63
|
x-effect="$el.setAttribute('tabindex', $store.burgeropen || $screen('lg') ? '0' : '-1')"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<a class="relative flex items-center w-auto h-full text-white fill-current sb-service-logo link-focus-inset print:hidden"
|
|
1
|
+
<a class="{{if (isUserConsentNeeded (resourceUrl 'index.html')) 'js-user-consent-needed ' ''}}relative flex items-center w-auto h-full text-white fill-current sb-service-logo link-focus-inset print:hidden"
|
|
2
2
|
href={{resourceUrl "index.html"}}
|
|
3
3
|
title="{{loca "header_homepage_link_title"}}">
|
|
4
4
|
|
package/src/stories/views/components/site_header/service_navigation/service_navigation_item.hbs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{#each this.navigationItems}}
|
|
2
|
-
<li class="sb-service-navigation-item -{{this.id}} flex flex-col h-10 lg:h-15 md:h-full w-full tablet:first:border-l border-r last:border-r-0 lg:border-r-0 text-navigation-icons border-navigation-border-color"
|
|
2
|
+
<li class="sb-service-navigation-item -{{this.id}} flex flex-col h-10 lg:h-15 md:h-full w-full tablet:first:border-l border-r last:border-r-0 lg:border-r-0 text-navigation-icons border-navigation-border-color">
|
|
3
3
|
{{#if this.subNavigation}}
|
|
4
4
|
<button
|
|
5
5
|
id="{{nextRandom}}"
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
{{else}}
|
|
21
21
|
|
|
22
22
|
{{#if this.extern}}
|
|
23
|
-
<a href="{{this.url}}" target="_blank" x-init="dropped = false" class="flex flex-col items-center justify-center h-full px-4 lg:justify-start lg:px-3 lg:pt-1 lg:rounded-t link-focus-inset js-load" id="flyout-{{nextRandom}}-1" data-hr-click-tracking='{"settings": [{"type": "uxNavigation", "secondLevelId": 1, "clickLabel": "Servicenavigation::{{this.text}}-Link geklickt"}]}'>
|
|
23
|
+
<a href="{{this.url}}" target="_blank" x-init="dropped = false" class="{{if (isUserConsentNeeded this.url) 'js-user-consent-needed ' ''}}flex flex-col items-center justify-center h-full px-4 lg:justify-start lg:px-3 lg:pt-1 lg:rounded-t link-focus-inset js-load" id="flyout-{{nextRandom}}-1" data-hr-click-tracking='{"settings": [{"type": "uxNavigation", "secondLevelId": 1, "clickLabel": "Servicenavigation::{{this.text}}-Link geklickt"}]}'>
|
|
24
24
|
{{else}}
|
|
25
|
-
<a href="{{resourceUrl this.url}}" x-init="dropped = false" class="flex flex-col items-center justify-center h-full px-4 lg:justify-start lg:px-3 lg:pt-1 lg:rounded-t link-focus-inset js-load" id="flyout-{{nextRandom}}-1" data-hr-click-tracking='{"settings": [{"type": "uxNavigation", "secondLevelId": 1, "clickLabel": "Servicenavigation::{{this.text}}-Link geklickt"}]}'>
|
|
25
|
+
<a href="{{resourceUrl this.url}}" x-init="dropped = false" class="{{if (isUserConsentNeeded (resourceUrl this.url)) 'js-user-consent-needed ' ''}}flex flex-col items-center justify-center h-full px-4 lg:justify-start lg:px-3 lg:pt-1 lg:rounded-t link-focus-inset js-load" id="flyout-{{nextRandom}}-1" data-hr-click-tracking='{"settings": [{"type": "uxNavigation", "secondLevelId": 1, "clickLabel": "Servicenavigation::{{this.text}}-Link geklickt"}]}'>
|
|
26
26
|
{{/if}}
|
|
27
27
|
|
|
28
28
|
{{/if}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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"
|
|
2
|
+
<a class="{{if (isUserConsentNeeded this) 'js-user-consent-needed ' ''}}{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
|
|
3
3
|
|
|
4
4
|
href="{{this}}"
|
|
5
5
|
target="_blank"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
</a>
|
|
14
14
|
</li>
|
|
15
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"
|
|
16
|
+
<a class="{{if (isUserConsentNeeded this) 'js-user-consent-needed ' ''}}{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
|
|
17
17
|
|
|
18
18
|
href="{{this}}"
|
|
19
19
|
target="_blank"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
</a>
|
|
28
28
|
</li>
|
|
29
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"
|
|
30
|
+
<a class="{{if (isUserConsentNeeded this) 'js-user-consent-needed ' ''}}{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
|
|
31
31
|
|
|
32
32
|
href="{{this}}"
|
|
33
33
|
target="_blank"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
</a>
|
|
42
42
|
</li>
|
|
43
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"
|
|
44
|
+
<a class="{{if (isUserConsentNeeded this) 'js-user-consent-needed ' ''}}{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
|
|
45
45
|
|
|
46
46
|
href="{{this}}"
|
|
47
47
|
title="{{loca "share_mail_linktitle" }}"
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<ul class="flex flex-wrap w-full pt-2 gap-x-2 gap-y-2">
|
|
6
6
|
{{~#with this.twitterLink ~}}
|
|
7
7
|
<li>
|
|
8
|
-
<a class="{{#with ../../this.content.trackingData}} js-load{{/with}}"
|
|
8
|
+
<a class="{{if (isUserConsentNeeded this) 'js-user-consent-needed ' ''}}{{#with ../../this.content.trackingData}} js-load{{/with}}"
|
|
9
9
|
href="{{this}}"
|
|
10
10
|
target="_blank"
|
|
11
11
|
rel="noopener noreferrer"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
{{~/with~}}
|
|
21
21
|
{{~#with this.facebookLink ~}}
|
|
22
22
|
<li>
|
|
23
|
-
<a class="{{#with ../../this.content.trackingData}} js-load{{/with}}"
|
|
23
|
+
<a class="{{if (isUserConsentNeeded this) 'js-user-consent-needed ' ''}}{{#with ../../this.content.trackingData}} js-load{{/with}}"
|
|
24
24
|
href="{{this}}"
|
|
25
25
|
target="_blank"
|
|
26
26
|
rel="noopener noreferrer"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
{{~/with~}}
|
|
36
36
|
{{~#with this.whatsappLink ~}}
|
|
37
37
|
<li>
|
|
38
|
-
<a class="{{#with ../../this.content.trackingData}} js-load{{/with}}"
|
|
38
|
+
<a class="{{if (isUserConsentNeeded this) 'js-user-consent-needed ' ''}}{{#with ../../this.content.trackingData}} js-load{{/with}}"
|
|
39
39
|
href="{{this}}"
|
|
40
40
|
target="_blank"
|
|
41
41
|
rel="noopener noreferrer"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
{{~/with~}}
|
|
51
51
|
{{~#with this.mailtoLink ~}}
|
|
52
52
|
<li>
|
|
53
|
-
<a class="{{#with ../../this.content.trackingData}} js-load{{/with}}"
|
|
53
|
+
<a class="{{if (isUserConsentNeeded this) 'js-user-consent-needed ' ''}}{{#with ../../this.content.trackingData}} js-load{{/with}}"
|
|
54
54
|
href="{{this}}"
|
|
55
55
|
title="{{loca "share_mail_linktitle" }}"
|
|
56
56
|
{{#with ../../this.content.trackingData}}
|
|
@@ -21,6 +21,15 @@
|
|
|
21
21
|
{{/if}}
|
|
22
22
|
{{/components/teaser/components/teaser_headline}}
|
|
23
23
|
{{/components/base/link}}
|
|
24
|
+
{{#if (isStorybook)}}
|
|
25
|
+
{{#if this.link.isUserConsentNeeded}}
|
|
26
|
+
{{#with this}}
|
|
27
|
+
{{#> components/modal/modal _type="userConsent" _css="" _trigger=".js-user-consent-needed"}}
|
|
28
|
+
{{> components/modal/user_consent _link=this.link _headline=(loca "modal_user_consent_headline") _text=(loca "modal_user_consent_text") _labelOk=(loca "modal_user_consent_label_ok") _labelCancel=(loca "modal_user_consent_label_cancel")}}
|
|
29
|
+
{{/components/modal/modal}}
|
|
30
|
+
{{/with}}
|
|
31
|
+
{{/if}}
|
|
32
|
+
{{/if}}
|
|
24
33
|
{{/components/teaser/components/teaser_header}}
|
|
25
34
|
{{#*inline "htmlProperties"}}
|
|
26
35
|
{{#if this.isFileDownload}}
|
|
@@ -32,7 +41,7 @@
|
|
|
32
41
|
{{#unless this.hideBylineAndShorttext}}
|
|
33
42
|
<div class="sm:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
34
43
|
{{#if this.shorttext}}
|
|
35
|
-
{{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize}}
|
|
44
|
+
{{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize }}
|
|
36
45
|
{{/if}}
|
|
37
46
|
{{> components/teaser/components/teaser_byline}}
|
|
38
47
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{{~#if this.allowAVConsumption ~}}
|
|
2
2
|
{{> components/teaser/components/teaser_av_consumption _aspectRatio=_aspectRatio _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize _teaserType=_teaserType _addClassImg=_addClassImg}}
|
|
3
3
|
{{else}}
|
|
4
|
-
{{#if this.isTickerTeaser}}<a href="{{this.link.url}}" aria-label="Zum Ticker" tabindex="-1">{{/if}}
|
|
4
|
+
{{#if this.isTickerTeaser}}<a href="{{this.link.url}}" aria-label="Zum Ticker" tabindex="-1"{{#if (isUserConsentNeeded this.link.url)}} class="js-user-consent-needed"{{/if}}>{{/if}}
|
|
5
5
|
{{> components/teaser/components/teaser_image _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize _addClassImg=_addClassImg _aspectRatio=_aspectRatio}}
|
|
6
6
|
{{#if this.isTickerTeaser}}</a>{{/if}}
|
|
7
7
|
{{/if}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_alternative","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"alternative","teaserSize":"100","realTeaserSize":"100","isMobile1to1":"true","teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/sonniger-herbst-100_v-16to9__medium.jpg","sources":[{"media":"all and (max-width: 47.938em)","sizes":"40vw","srcset":"images/sonniger-herbst-100_v-1to1__small.jpg 380w, images/sonniger-herbst-100_v-1to1__medium.jpg 480w, images/sonniger-herbst-100_v-1to1.jpg 720w, images/sonniger-herbst-100_v-1to1__large.jpg 960w"},{"media":"all and (min-width: 48em) ","sizes":"33vw","srcset":"images/sonniger-herbst-100_v-16to9__small.jpg 320w, images/sonniger-herbst-100_v-16to9__medium.jpg 480w, images/sonniger-herbst-100_v-16to9__medium__extended.jpg 640w, images/sonniger-herbst-100_v-16to9.jpg 960w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"}}}}}
|
|
1
|
+
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_alternative","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"alternative","teaserSize":"100","realTeaserSize":"100","isMobile1to1":"true","teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/sonniger-herbst-100_v-16to9__medium.jpg","sources":[{"media":"all and (max-width: 47.938em)","sizes":"40vw","srcset":"images/sonniger-herbst-100_v-1to1__small.jpg 380w, images/sonniger-herbst-100_v-1to1__medium.jpg 480w, images/sonniger-herbst-100_v-1to1.jpg 720w, images/sonniger-herbst-100_v-1to1__large.jpg 960w"},{"media":"all and (min-width: 48em) ","sizes":"33vw","srcset":"images/sonniger-herbst-100_v-16to9__small.jpg 320w, images/sonniger-herbst-100_v-16to9__medium.jpg 480w, images/sonniger-herbst-100_v-16to9__medium__extended.jpg 640w, images/sonniger-herbst-100_v-16to9.jpg 960w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"},"isUserConsentNeeded":false}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_alternative","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"alternative","teaserSize":"50","realTeaserSize":"50","isMobile1to1":"true","teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg","sources":[{"media":"all and (max-width: 47.938em)","sizes":"300px","srcset":"images/rueckkehr-nach-abschiebung-102_v-1to1__small.jpg 380w, images/rueckkehr-nach-abschiebung-102_v-1to1__medium.jpg 480w, images/rueckkehr-nach-abschiebung-102_v-1to1.jpg 720w, images/rueckkehr-nach-abschiebung-102_v-1to1__large.jpg 960w"},{"media":"all and (min-width: 48em) ","sizes":"240px","srcset":"images/rueckkehr-nach-abschiebung-102_v-16to9__small.jpg 320w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg 480w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium__extended.jpg 640w, images/rueckkehr-nach-abschiebung-102_v-16to9.jpg 960w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"}}}}}
|
|
1
|
+
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_alternative","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"alternative","teaserSize":"50","realTeaserSize":"50","isMobile1to1":"true","teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg","sources":[{"media":"all and (max-width: 47.938em)","sizes":"300px","srcset":"images/rueckkehr-nach-abschiebung-102_v-1to1__small.jpg 380w, images/rueckkehr-nach-abschiebung-102_v-1to1__medium.jpg 480w, images/rueckkehr-nach-abschiebung-102_v-1to1.jpg 720w, images/rueckkehr-nach-abschiebung-102_v-1to1__large.jpg 960w"},{"media":"all and (min-width: 48em) ","sizes":"240px","srcset":"images/rueckkehr-nach-abschiebung-102_v-16to9__small.jpg 320w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg 480w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium__extended.jpg 640w, images/rueckkehr-nach-abschiebung-102_v-16to9.jpg 960w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"},"isUserConsentNeeded":false}}}}
|
package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_link.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_alternative","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"alternative","teaserSize":"hero","realTeaserSize":"hero","isMobile1to1":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"}}}}}
|
|
1
|
+
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_alternative","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"alternative","teaserSize":"hero","realTeaserSize":"hero","isMobile1to1":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"},"isUserConsentNeeded":false}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"100","realTeaserSize":"100","isMobile1to1":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"}}}}}
|
|
1
|
+
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"100","realTeaserSize":"100","isMobile1to1":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"},"isUserConsentNeeded":false}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"25","realTeaserSize":"25","isMobile1to1":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"}}}}}
|
|
1
|
+
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"25","realTeaserSize":"25","isMobile1to1":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"},"isUserConsentNeeded":false}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"33","realTeaserSize":"33","isMobile1to1":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"}}}}}
|
|
1
|
+
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"33","realTeaserSize":"33","isMobile1to1":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"},"isUserConsentNeeded":false}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"50","realTeaserSize":"50","isMobile1to1":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"}}}}}
|
|
1
|
+
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"50","realTeaserSize":"50","isMobile1to1":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"},"isUserConsentNeeded":false}}}}
|
package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_link_two_click.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"50","realTeaserSize":"50","isMobile1to1":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"https://tagesschau.de","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"},"isUserConsentNeeded":true}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"hero","realTeaserSize":"hero","isMobile1to1":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"}}}}}
|
|
1
|
+
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"hero","realTeaserSize":"hero","isMobile1to1":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w, images/mercedes-suv-g-100_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"},"isUserConsentNeeded":false}}}}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{{#>components/grid/grid_group _backgroundColor=this.backgroundColor }}
|
|
3
3
|
{{~#if this.hasGroupTitle}}
|
|
4
4
|
<{{if this.headlineTag this.headlineTag "h2"}} class="text-2xl {{#unless this.isRelatedContent}} md:text-5xl{{else}} justifyLine{{/unless}} col-span-full py-0 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
|
|
5
|
-
{{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-link" href="{{this.link.url}}">{{/if~}}
|
|
5
|
+
{{~#if this.hasLink}}<a class="{{if (isUserConsentNeeded this.link.url) 'js-user-consent-needed ' ''}}no-underline hover:underline decoration-1 md:decoration-2 text-link" href="{{this.link.url}}">{{/if~}}
|
|
6
6
|
{{this.groupTitle}}
|
|
7
7
|
{{~#if this.hasLink}}</a>{{/if~}}
|
|
8
8
|
</{{if this.headlineTag this.headlineTag "h2"}}>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="grid items-start content-start h-auto grid-cols-12 col-span-12 py-5 mx-5 group-accented sm:p-5 sm:mx-0 rounded-tl-hr rounded-br-hr bg-highlight-1 gap-x-6 gap-y-5">
|
|
4
4
|
{{~#if this.hasGroupTitle}}
|
|
5
5
|
<h2 class="text-2xl md:text-5xl px-5 sm:px-0 col-span-full pt-0 pb-4 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
|
|
6
|
-
{{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-blue-science" href="{{this.link.url}}">{{/if~}}
|
|
6
|
+
{{~#if this.hasLink}}<a class="{{if (isUserConsentNeeded this.link.url) 'js-user-consent-needed ' ''}}no-underline hover:underline decoration-1 md:decoration-2 text-blue-science" href="{{this.link.url}}">{{/if~}}
|
|
7
7
|
{{this.groupTitle}}
|
|
8
8
|
{{~#if this.hasLink}}</a>{{/if~}}
|
|
9
9
|
</h2>
|
|
@@ -14,6 +14,7 @@ import teaser100Download from './fixtures/teaser_standard_100_serif_download.jso
|
|
|
14
14
|
import teaser100Link from './fixtures/teaser_standard_100_serif_link.json'
|
|
15
15
|
import teaser100Program from './fixtures/teaser_standard_100_serif_program.json'
|
|
16
16
|
import teaser50Link from './fixtures/teaser_standard_50_serif_link.json'
|
|
17
|
+
import teaser50LinkTwoClick from './fixtures/teaser_standard_50_serif_link_two_click.json'
|
|
17
18
|
import teaser33Link from './fixtures/teaser_standard_33_serif_link.json'
|
|
18
19
|
import teaser25Link from './fixtures/teaser_standard_25_serif_link.json'
|
|
19
20
|
import teaser33LongGeotag from './fixtures/teaser_standard_33_long_geotag.json'
|
|
@@ -124,6 +125,12 @@ export const Standard50MitExternemLink = {
|
|
|
124
125
|
args: teaser50Link.logicItem.includeModel,
|
|
125
126
|
}
|
|
126
127
|
|
|
128
|
+
export const Standard50LinkWithTwoClick = {
|
|
129
|
+
render: Template.bind({}),
|
|
130
|
+
name: 'Standard 50 mit zwei Klick Lösung',
|
|
131
|
+
args: teaser50LinkTwoClick.logicItem.includeModel,
|
|
132
|
+
}
|
|
133
|
+
|
|
127
134
|
export const Standard50MitFeaturedContent = {
|
|
128
135
|
render: Template.bind({}),
|
|
129
136
|
name: 'Standard 50 mit Zeilenteaser',
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
{{/if}}
|
|
21
21
|
</div>
|
|
22
22
|
{{~/with}}
|
|
23
|
-
<a class="link-focus-white text-base js-load {{#if ../../_color}} text-{{../../_color}}{{else}} text-toplineColor{{/if}} underline decoration-1 ds-link" href="{{this.tickerItemUrl}}" rel="nofollow" data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "TickerTeaser::{{../../this.sophoraId}}-TeaserPostLink geklickt"}]}'>{{this.relevantTitle}}</a>
|
|
23
|
+
<a class="{{if (isUserConsentNeeded this.tickerItemUrl) 'js-user-consent-needed ' ''}}link-focus-white text-base js-load {{#if ../../_color}} text-{{../../_color}}{{else}} text-toplineColor{{/if}} underline decoration-1 ds-link" href="{{this.tickerItemUrl}}" rel="nofollow" data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "TickerTeaser::{{../../this.sophoraId}}-TeaserPostLink geklickt"}]}'>{{this.relevantTitle}}</a>
|
|
24
24
|
</li>
|
|
25
25
|
{{~/each~}}
|
|
26
26
|
</ul>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<ul class="flex flex-wrap sm:block gap-x-4 w-fit sm:w-full sm:pt-2 ">
|
|
6
6
|
{{~#each this~}}
|
|
7
7
|
<li class="w-fit sm:w-full text-primary dark:text-standard-text-dark">
|
|
8
|
-
<a class="block line-clamp-1 hover:underline gap-x-1" href="{{this.url}}">
|
|
8
|
+
<a class="{{if (isUserConsentNeeded this.url) 'js-user-consent-needed ' ''}}block line-clamp-1 hover:underline gap-x-1" href="{{this.url}}">
|
|
9
9
|
{{~> components/base/image/icon _icon="taglabel" _addClass="inline w-4 h-4 mr-2 fill-current"~}}
|
|
10
10
|
|
|
11
11
|
{{~this.title~}}
|
package/tailwind.config.js
CHANGED
|
@@ -270,6 +270,7 @@ module.exports = {
|
|
|
270
270
|
linkWater: '#d3e2f4',
|
|
271
271
|
blueLuxury: '#007396',
|
|
272
272
|
nightRider:'#2d2d2d',
|
|
273
|
+
danube: '#759ace',
|
|
273
274
|
},
|
|
274
275
|
'black': {
|
|
275
276
|
DEFAULT: '#000000',
|
|
@@ -362,6 +363,7 @@ module.exports = {
|
|
|
362
363
|
'brandnav-pseudo': 'var(--color-brandnav-pseudo)',
|
|
363
364
|
'brandnavigation-bg': 'var(--color-brandnavigation-bg)',
|
|
364
365
|
'navigation-border-color': 'var(--color-navigation-border-color)',
|
|
366
|
+
'navigation-border-color-dark': 'var(--color-navigation-border-color-dark)',
|
|
365
367
|
'servicenavigation-border-color': 'var(--color-servicenavigation-border-color)',
|
|
366
368
|
'footer-bg': 'var(--color-footer-bg)',
|
|
367
369
|
'footer-text': 'var(--color-footer-text)',
|