hr-design-system-handlebars 1.50.21 → 1.50.23
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 +114 -6
- package/dist/views/components/content/copytext/components/posterteaser.hbs +3 -1
- package/dist/views/components/teaser/components/teaser_title.hbs +1 -1
- package/dist/views/components/teaser/components/teaser_title_classes.hbs +5 -2
- package/dist/views/components/teaser/teaser_poster.hbs +18 -6
- package/dist/views_static/components/content/copytext/components/posterteaser.hbs +3 -1
- package/dist/views_static/components/teaser/components/teaser_title.hbs +1 -1
- package/dist/views_static/components/teaser/components/teaser_title_classes.hbs +5 -2
- package/dist/views_static/components/teaser/teaser_poster.hbs +18 -6
- package/package.json +1 -1
- package/src/assets/css/custom-utilities.css +19 -1
- package/src/assets/fixtures/content/copytext/copytext.inc.json +230 -2
- package/src/assets/fixtures/content/copytext/copytext_posterteaser.json +4 -0
- package/src/assets/fixtures/teaser/teaser_images.inc.json +40 -0
- package/src/assets/images/rueckkehr-nach-abschiebung-102_v-16to7.jpg +0 -0
- package/src/assets/images/rueckkehr-nach-abschiebung-102_v-16to7__medium.jpg +0 -0
- package/src/assets/images/rueckkehr-nach-abschiebung-102_v-16to7__retina.jpg +0 -0
- package/src/assets/images/rueckkehr-nach-abschiebung-102_v-16to7__small.jpg +0 -0
- package/src/stories/views/components/content/copytext/components/posterteaser.hbs +3 -1
- package/src/stories/views/components/content/copytext/copytext.stories.js +7 -0
- package/src/stories/views/components/content/copytext/fixtures/copytext_posterteaser.json +1 -0
- package/src/stories/views/components/teaser/components/teaser_title.hbs +1 -1
- package/src/stories/views/components/teaser/components/teaser_title_classes.hbs +5 -2
- package/src/stories/views/components/teaser/teaser_poster.hbs +18 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v1.50.23 (Wed Nov 29 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- switch to full-width on sm480 [#771](https://github.com/mumprod/hr-design-system-handlebars/pull/771) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v1.50.22 (Wed Nov 29 2023)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- include poster-teaser in copytext [#770](https://github.com/mumprod/hr-design-system-handlebars/pull/770) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v1.50.21 (Wed Nov 29 2023)
|
|
2
26
|
|
|
3
27
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1258,6 +1258,10 @@ article.indexText ul {
|
|
|
1258
1258
|
margin-top: 1.5rem;
|
|
1259
1259
|
margin-bottom: 1.5rem;
|
|
1260
1260
|
}
|
|
1261
|
+
.my-7 {
|
|
1262
|
+
margin-top: 1.75rem;
|
|
1263
|
+
margin-bottom: 1.75rem;
|
|
1264
|
+
}
|
|
1261
1265
|
.\!mt-4 {
|
|
1262
1266
|
margin-top: 1rem !important;
|
|
1263
1267
|
}
|
|
@@ -3191,7 +3195,7 @@ article.indexText ul {
|
|
|
3191
3195
|
border-bottom-color: var(--color-secondary-ds);
|
|
3192
3196
|
}
|
|
3193
3197
|
.counter-reset {
|
|
3194
|
-
counter-reset:
|
|
3198
|
+
counter-reset: cnt1701277080198;
|
|
3195
3199
|
}
|
|
3196
3200
|
.hyphens-auto {
|
|
3197
3201
|
-webkit-hyphens: auto;
|
|
@@ -3222,7 +3226,7 @@ article.indexText ul {
|
|
|
3222
3226
|
content: '';
|
|
3223
3227
|
}
|
|
3224
3228
|
|
|
3225
|
-
.ar-16-
|
|
3229
|
+
.ar-16-9::after {
|
|
3226
3230
|
display: block;
|
|
3227
3231
|
content: '';
|
|
3228
3232
|
clear: both;
|
|
@@ -3452,7 +3456,7 @@ article.indexText ul {
|
|
|
3452
3456
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3453
3457
|
}
|
|
3454
3458
|
.-ordered {
|
|
3455
|
-
counter-increment:
|
|
3459
|
+
counter-increment: cnt1701277080198 1;
|
|
3456
3460
|
}
|
|
3457
3461
|
.-ordered::before {
|
|
3458
3462
|
position: absolute;
|
|
@@ -3468,7 +3472,7 @@ article.indexText ul {
|
|
|
3468
3472
|
letter-spacing: .0125em;
|
|
3469
3473
|
--tw-text-opacity: 1;
|
|
3470
3474
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3471
|
-
content: counter(
|
|
3475
|
+
content: counter(cnt1701277080198);
|
|
3472
3476
|
}
|
|
3473
3477
|
/*! ****************************/
|
|
3474
3478
|
/*! DataPolicy stuff */
|
|
@@ -5196,11 +5200,20 @@ article.indexText ul {
|
|
|
5196
5200
|
}
|
|
5197
5201
|
@media (min-width: 480px) {
|
|
5198
5202
|
|
|
5203
|
+
.sm480\:mx-auto {
|
|
5204
|
+
margin-left: auto;
|
|
5205
|
+
margin-right: auto;
|
|
5206
|
+
}
|
|
5207
|
+
|
|
5199
5208
|
.sm480\:my-5 {
|
|
5200
5209
|
margin-top: 1.25rem;
|
|
5201
5210
|
margin-bottom: 1.25rem;
|
|
5202
5211
|
}
|
|
5203
5212
|
|
|
5213
|
+
.sm480\:mb-3 {
|
|
5214
|
+
margin-bottom: 0.75rem;
|
|
5215
|
+
}
|
|
5216
|
+
|
|
5204
5217
|
.sm480\:ml-8 {
|
|
5205
5218
|
margin-left: 2rem;
|
|
5206
5219
|
}
|
|
@@ -5209,6 +5222,10 @@ article.indexText ul {
|
|
|
5209
5222
|
margin-top: 1rem;
|
|
5210
5223
|
}
|
|
5211
5224
|
|
|
5225
|
+
.sm480\:w-2\/3 {
|
|
5226
|
+
width: 66.666667%;
|
|
5227
|
+
}
|
|
5228
|
+
|
|
5212
5229
|
.sm480\:pb-7 {
|
|
5213
5230
|
padding-bottom: 1.75rem;
|
|
5214
5231
|
}
|
|
@@ -5241,6 +5258,63 @@ article.indexText ul {
|
|
|
5241
5258
|
font-size: 1.25rem;
|
|
5242
5259
|
line-height: 1.6875rem;
|
|
5243
5260
|
}
|
|
5261
|
+
.sm480\:ar-16-9 {
|
|
5262
|
+
aspect-ratio: 16 / 9;
|
|
5263
|
+
}
|
|
5264
|
+
|
|
5265
|
+
@supports not (aspect-ratio: 16 / 9) {
|
|
5266
|
+
.sm480\:ar-16-9::before {
|
|
5267
|
+
float: left;
|
|
5268
|
+
padding-top: 56.25%;
|
|
5269
|
+
content: '';
|
|
5270
|
+
}
|
|
5271
|
+
|
|
5272
|
+
.sm480\:ar-16-9::after {
|
|
5273
|
+
display: block;
|
|
5274
|
+
content: '';
|
|
5275
|
+
clear: both;
|
|
5276
|
+
}
|
|
5277
|
+
.sm480\:ar-16-9::before {
|
|
5278
|
+
float: left;
|
|
5279
|
+
padding-top: 56.25%;
|
|
5280
|
+
content: '';
|
|
5281
|
+
}
|
|
5282
|
+
|
|
5283
|
+
.sm480\:ar-16-9::after {
|
|
5284
|
+
display: block;
|
|
5285
|
+
content: '';
|
|
5286
|
+
clear: both;
|
|
5287
|
+
}
|
|
5288
|
+
}
|
|
5289
|
+
|
|
5290
|
+
.sm480\:ar-16-7 {
|
|
5291
|
+
aspect-ratio: 16 / 7;
|
|
5292
|
+
}
|
|
5293
|
+
|
|
5294
|
+
@supports not (aspect-ratio: 16 / 7) {
|
|
5295
|
+
.sm480\:ar-16-7::before {
|
|
5296
|
+
float: left;
|
|
5297
|
+
padding-top: 43.75%;
|
|
5298
|
+
content: '';
|
|
5299
|
+
}
|
|
5300
|
+
|
|
5301
|
+
.sm480\:ar-16-7::after {
|
|
5302
|
+
display: block;
|
|
5303
|
+
content: '';
|
|
5304
|
+
clear: both;
|
|
5305
|
+
}
|
|
5306
|
+
.sm480\:ar-16-7::before {
|
|
5307
|
+
float: left;
|
|
5308
|
+
padding-top: 43.75%;
|
|
5309
|
+
content: '';
|
|
5310
|
+
}
|
|
5311
|
+
|
|
5312
|
+
.sm480\:ar-16-7::after {
|
|
5313
|
+
display: block;
|
|
5314
|
+
content: '';
|
|
5315
|
+
clear: both;
|
|
5316
|
+
}
|
|
5317
|
+
}
|
|
5244
5318
|
.sm480\:ar-16-7 {
|
|
5245
5319
|
aspect-ratio: 16 / 7;
|
|
5246
5320
|
}
|
|
@@ -5317,6 +5391,10 @@ article.indexText ul {
|
|
|
5317
5391
|
margin-right: 2rem;
|
|
5318
5392
|
}
|
|
5319
5393
|
|
|
5394
|
+
.sm\:mb-7 {
|
|
5395
|
+
margin-bottom: 1.75rem;
|
|
5396
|
+
}
|
|
5397
|
+
|
|
5320
5398
|
.sm\:ml-8 {
|
|
5321
5399
|
margin-left: 2rem;
|
|
5322
5400
|
}
|
|
@@ -5467,7 +5545,18 @@ article.indexText ul {
|
|
|
5467
5545
|
content: '';
|
|
5468
5546
|
}
|
|
5469
5547
|
|
|
5470
|
-
|
|
5548
|
+
.sm\:ar-16-9::after {
|
|
5549
|
+
display: block;
|
|
5550
|
+
content: '';
|
|
5551
|
+
clear: both;
|
|
5552
|
+
}
|
|
5553
|
+
.sm\:ar-16-9::before {
|
|
5554
|
+
float: left;
|
|
5555
|
+
padding-top: 56.25%;
|
|
5556
|
+
content: '';
|
|
5557
|
+
}
|
|
5558
|
+
|
|
5559
|
+
.sm\:ar-16-9::after {
|
|
5471
5560
|
display: block;
|
|
5472
5561
|
content: '';
|
|
5473
5562
|
clear: both;
|
|
@@ -5604,6 +5693,10 @@ article.indexText ul {
|
|
|
5604
5693
|
margin-bottom: 4rem;
|
|
5605
5694
|
}
|
|
5606
5695
|
|
|
5696
|
+
.md\:mb-3 {
|
|
5697
|
+
margin-bottom: 0.75rem;
|
|
5698
|
+
}
|
|
5699
|
+
|
|
5607
5700
|
.md\:mb-8 {
|
|
5608
5701
|
margin-bottom: 2rem;
|
|
5609
5702
|
}
|
|
@@ -5616,6 +5709,10 @@ article.indexText ul {
|
|
|
5616
5709
|
margin-left: 1rem;
|
|
5617
5710
|
}
|
|
5618
5711
|
|
|
5712
|
+
.md\:mr-5 {
|
|
5713
|
+
margin-right: 1.25rem;
|
|
5714
|
+
}
|
|
5715
|
+
|
|
5619
5716
|
.md\:mt-0 {
|
|
5620
5717
|
margin-top: 0px;
|
|
5621
5718
|
}
|
|
@@ -6006,7 +6103,18 @@ article.indexText ul {
|
|
|
6006
6103
|
content: '';
|
|
6007
6104
|
}
|
|
6008
6105
|
|
|
6009
|
-
|
|
6106
|
+
.md\:ar-16-9::after {
|
|
6107
|
+
display: block;
|
|
6108
|
+
content: '';
|
|
6109
|
+
clear: both;
|
|
6110
|
+
}
|
|
6111
|
+
.md\:ar-16-9::before {
|
|
6112
|
+
float: left;
|
|
6113
|
+
padding-top: 56.25%;
|
|
6114
|
+
content: '';
|
|
6115
|
+
}
|
|
6116
|
+
|
|
6117
|
+
.md\:ar-16-9::after {
|
|
6010
6118
|
display: block;
|
|
6011
6119
|
content: '';
|
|
6012
6120
|
clear: both;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
{{~#if (isStorybook)~}}
|
|
2
|
-
<div class="mt-
|
|
2
|
+
<div class="{{#if this.showFullSize.isTrue }}clear-both w-full mt-12 {{#unless this.showStretched.isTrue }}sm480:w-2/3 sm480:mx-auto{{/unless}}{{else}}w-full md:w-1/2 float-left my-7 mr-0 md:mr-5{{/if}}">
|
|
3
|
+
{{> components/teaser/teaser_poster _isCopytext=true }}
|
|
4
|
+
</div>
|
|
3
5
|
{{~else~}}
|
|
4
6
|
{{> modules/teaser/poster-teaser/posterTeaser-story}}
|
|
5
7
|
{{~/if~}}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<span class='cy-teaser-title block mt-0.5 font-title font-bold {{> components/teaser/components/teaser_title_classes _size=_size _teaserType=_teaserType _isMobile1to1=_isMobile1to1 _firstItem=_firstItem}}{{#if _css}} {{_css}}{{/if}}'>
|
|
1
|
+
<span class='cy-teaser-title block mt-0.5 font-title font-bold {{> components/teaser/components/teaser_title_classes _size=_size _teaserType=_teaserType _isMobile1to1=_isMobile1to1 _firstItem=_firstItem _isCopytext=_isCopytext}}{{#if _css}} {{_css}}{{/if}}'>
|
|
2
2
|
{{~_text~}}
|
|
3
3
|
</span>
|
|
@@ -10,7 +10,6 @@ the 4 parameters are:
|
|
|
10
10
|
- fontVariant
|
|
11
11
|
|
|
12
12
|
}}
|
|
13
|
-
|
|
14
13
|
{{~#switch _teaserType~}}
|
|
15
14
|
{{~#case 'standard'~}}
|
|
16
15
|
{{~#if _isMobile1to1~}}
|
|
@@ -79,7 +78,11 @@ the 4 parameters are:
|
|
|
79
78
|
~}}
|
|
80
79
|
{{~/case~}}
|
|
81
80
|
{{~#case 'poster'~}}
|
|
82
|
-
{{
|
|
81
|
+
{{#if _isCopytext~}}
|
|
82
|
+
{{~#if this.showFullSize.isTrue~}}text-2xl md:text-4xl{{else}}text-2xl{{~/if~}}
|
|
83
|
+
{{else}}
|
|
84
|
+
{{~inline-switch _size '["50","33"]' '["text-2xl md:text-4xl","text-2xl"]'~}}
|
|
85
|
+
{{/if}}
|
|
83
86
|
{{~/case~}}
|
|
84
87
|
{{~#case 'cluster'~}}
|
|
85
88
|
{{#if _firstItem}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
2
|
-
<figure class="ar-1-1" aria-hidden="true">
|
|
1
|
+
<article class="{{#if _isCopytext~}}mx-0{{else}}mx-5 sm:mx-0{{/if}} relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
2
|
+
<figure class="{{#if _isCopytext~}}{{#if this.showFullSize.isTrue }}{{#if this.showStretched.isTrue }}ar-1-1 sm480:ar-16-7{{else}}ar-1-1{{/if}}{{else}}ar-1-1 sm480:ar-16-9{{/if}}{{else}}ar-1-1{{/if}}" aria-hidden="true">
|
|
3
3
|
{{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
|
|
4
4
|
</figure>
|
|
5
5
|
<div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-hr rounded-br-hr">
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{{#if this.topline}}
|
|
16
16
|
{{> components/teaser/components/teaser_topline _css="!text-white" _text=this.topline}}
|
|
17
17
|
{{/if}}
|
|
18
|
-
{{> components/teaser/components/teaser_title _css="whitespace-pre-wrap" _text=this.title _size=this.realTeaserSize _teaserType=this.teaserType}}
|
|
18
|
+
{{> components/teaser/components/teaser_title _css="whitespace-pre-wrap" _text=this.title _size=this.realTeaserSize _teaserType=this.teaserType _isCopytext=_isCopytext}}
|
|
19
19
|
{{#if this.extendedTitle}}
|
|
20
20
|
{{> components/teaser/components/teaser_subline _text=this.extendedTitle}}
|
|
21
21
|
{{/if}}
|
|
@@ -23,9 +23,21 @@
|
|
|
23
23
|
{{/components/teaser/components/teaser_header}}
|
|
24
24
|
{{/components/base/link}}
|
|
25
25
|
<span class="absolute flex items-end justify-center w-full h-full ds-cta">
|
|
26
|
-
{{
|
|
27
|
-
{{
|
|
28
|
-
|
|
26
|
+
{{#if _isCopytext~}}
|
|
27
|
+
{{#if this.showFullSize.isTrue~}}
|
|
28
|
+
{{#> components/button/link_button _link=this.link _size="lg" _css=(inline-switch this.showStretched.isTrue '[false,true]' '["z-20 mb-7 md:mb-16","z-20 mb-7 sm480:mb-3 sm:mb-7","z-20 mb-7 md:mb-16"]') _variant="secondary" _isAriaHidden=true _onBackground=true}}
|
|
29
|
+
{{> components/button/components/button_label _css="" _label=this.link.readMoreText.readMoreLong}}
|
|
30
|
+
{{/components/button/link_button}}
|
|
31
|
+
{{else}}
|
|
32
|
+
{{#> components/button/link_button _link=this.link _size="lg" _css="z-20 mb-7 md:mb-3" _variant="secondary" _isAriaHidden=true _onBackground=true}}
|
|
33
|
+
{{> components/button/components/button_label _css="" _label=this.link.readMoreText.readMoreLong}}
|
|
34
|
+
{{/components/button/link_button}}
|
|
35
|
+
{{/if}}
|
|
36
|
+
{{else}}
|
|
37
|
+
{{#> components/button/link_button _link=this.link _size="lg" _css=(inline-switch this.realTeaserSize '["33","50"]' '["z-20 mb-7","z-20 mb-7 md:mb-16"]') _variant="secondary" _isAriaHidden=true _onBackground=true}}
|
|
38
|
+
{{> components/button/components/button_label _css="" _label=this.link.readMoreText.readMoreLong}}
|
|
39
|
+
{{/components/button/link_button}}
|
|
40
|
+
{{/if}}
|
|
29
41
|
</span>
|
|
30
42
|
</div>
|
|
31
43
|
</article>
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
{{~#if (isStorybook)~}}
|
|
2
|
-
<div class="mt-
|
|
2
|
+
<div class="{{#if this.showFullSize.isTrue }}clear-both w-full mt-12 {{#unless this.showStretched.isTrue }}sm480:w-2/3 sm480:mx-auto{{/unless}}{{else}}w-full md:w-1/2 float-left my-7 mr-0 md:mr-5{{/if}}">
|
|
3
|
+
{{> components/teaser/teaser_poster _isCopytext=true }}
|
|
4
|
+
</div>
|
|
3
5
|
{{~else~}}
|
|
4
6
|
{{> modules/teaser/poster-teaser/posterTeaser-story}}
|
|
5
7
|
{{~/if~}}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<span class='cy-teaser-title block mt-0.5 font-title font-bold {{> components/teaser/components/teaser_title_classes _size=_size _teaserType=_teaserType _isMobile1to1=_isMobile1to1 _firstItem=_firstItem}}{{#if _css}} {{_css}}{{/if}}'>
|
|
1
|
+
<span class='cy-teaser-title block mt-0.5 font-title font-bold {{> components/teaser/components/teaser_title_classes _size=_size _teaserType=_teaserType _isMobile1to1=_isMobile1to1 _firstItem=_firstItem _isCopytext=_isCopytext}}{{#if _css}} {{_css}}{{/if}}'>
|
|
2
2
|
{{~_text~}}
|
|
3
3
|
</span>
|
|
@@ -10,7 +10,6 @@ the 4 parameters are:
|
|
|
10
10
|
- fontVariant
|
|
11
11
|
|
|
12
12
|
}}
|
|
13
|
-
|
|
14
13
|
{{~#switch _teaserType~}}
|
|
15
14
|
{{~#case 'standard'~}}
|
|
16
15
|
{{~#if _isMobile1to1~}}
|
|
@@ -79,7 +78,11 @@ the 4 parameters are:
|
|
|
79
78
|
~}}
|
|
80
79
|
{{~/case~}}
|
|
81
80
|
{{~#case 'poster'~}}
|
|
82
|
-
{{
|
|
81
|
+
{{#if _isCopytext~}}
|
|
82
|
+
{{~#if this.showFullSize.isTrue~}}text-2xl md:text-4xl{{else}}text-2xl{{~/if~}}
|
|
83
|
+
{{else}}
|
|
84
|
+
{{~inline-switch _size '["50","33"]' '["text-2xl md:text-4xl","text-2xl"]'~}}
|
|
85
|
+
{{/if}}
|
|
83
86
|
{{~/case~}}
|
|
84
87
|
{{~#case 'cluster'~}}
|
|
85
88
|
{{#if _firstItem}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
2
|
-
<figure class="ar-1-1" aria-hidden="true">
|
|
1
|
+
<article class="{{#if _isCopytext~}}mx-0{{else}}mx-5 sm:mx-0{{/if}} relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
2
|
+
<figure class="{{#if _isCopytext~}}{{#if this.showFullSize.isTrue }}{{#if this.showStretched.isTrue }}ar-1-1 sm480:ar-16-7{{else}}ar-1-1{{/if}}{{else}}ar-1-1 sm480:ar-16-9{{/if}}{{else}}ar-1-1{{/if}}" aria-hidden="true">
|
|
3
3
|
{{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
|
|
4
4
|
</figure>
|
|
5
5
|
<div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-hr rounded-br-hr">
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{{#if this.topline}}
|
|
16
16
|
{{> components/teaser/components/teaser_topline _css="!text-white" _text=this.topline}}
|
|
17
17
|
{{/if}}
|
|
18
|
-
{{> components/teaser/components/teaser_title _css="whitespace-pre-wrap" _text=this.title _size=this.realTeaserSize _teaserType=this.teaserType}}
|
|
18
|
+
{{> components/teaser/components/teaser_title _css="whitespace-pre-wrap" _text=this.title _size=this.realTeaserSize _teaserType=this.teaserType _isCopytext=_isCopytext}}
|
|
19
19
|
{{#if this.extendedTitle}}
|
|
20
20
|
{{> components/teaser/components/teaser_subline _text=this.extendedTitle}}
|
|
21
21
|
{{/if}}
|
|
@@ -23,9 +23,21 @@
|
|
|
23
23
|
{{/components/teaser/components/teaser_header}}
|
|
24
24
|
{{/components/base/link}}
|
|
25
25
|
<span class="absolute flex items-end justify-center w-full h-full ds-cta">
|
|
26
|
-
{{
|
|
27
|
-
{{
|
|
28
|
-
|
|
26
|
+
{{#if _isCopytext~}}
|
|
27
|
+
{{#if this.showFullSize.isTrue~}}
|
|
28
|
+
{{#> components/button/link_button _link=this.link _size="lg" _css=(inline-switch this.showStretched.isTrue '[false,true]' '["z-20 mb-7 md:mb-16","z-20 mb-7 sm480:mb-3 sm:mb-7","z-20 mb-7 md:mb-16"]') _variant="secondary" _isAriaHidden=true _onBackground=true}}
|
|
29
|
+
{{> components/button/components/button_label _css="" _label=this.link.readMoreText.readMoreLong}}
|
|
30
|
+
{{/components/button/link_button}}
|
|
31
|
+
{{else}}
|
|
32
|
+
{{#> components/button/link_button _link=this.link _size="lg" _css="z-20 mb-7 md:mb-3" _variant="secondary" _isAriaHidden=true _onBackground=true}}
|
|
33
|
+
{{> components/button/components/button_label _css="" _label=this.link.readMoreText.readMoreLong}}
|
|
34
|
+
{{/components/button/link_button}}
|
|
35
|
+
{{/if}}
|
|
36
|
+
{{else}}
|
|
37
|
+
{{#> components/button/link_button _link=this.link _size="lg" _css=(inline-switch this.realTeaserSize '["33","50"]' '["z-20 mb-7","z-20 mb-7 md:mb-16"]') _variant="secondary" _isAriaHidden=true _onBackground=true}}
|
|
38
|
+
{{> components/button/components/button_label _css="" _label=this.link.readMoreText.readMoreLong}}
|
|
39
|
+
{{/components/button/link_button}}
|
|
40
|
+
{{/if}}
|
|
29
41
|
</span>
|
|
30
42
|
</div>
|
|
31
43
|
</article>
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"repository": "https://github.com/szuelch/hr-design-system-handlebars",
|
|
9
|
-
"version": "1.50.
|
|
9
|
+
"version": "1.50.23",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -17,7 +17,25 @@
|
|
|
17
17
|
content: '';
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.ar-16-
|
|
20
|
+
.ar-16-9::after {
|
|
21
|
+
display: block;
|
|
22
|
+
content: '';
|
|
23
|
+
clear: both;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ar-16-7 {
|
|
28
|
+
aspect-ratio: 16 / 7;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@supports not (aspect-ratio: 16 / 7) {
|
|
32
|
+
.ar-16-7::before {
|
|
33
|
+
float: left;
|
|
34
|
+
padding-top: 43.75%;
|
|
35
|
+
content: '';
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ar-16-7::after {
|
|
21
39
|
display: block;
|
|
22
40
|
content: '';
|
|
23
41
|
clear: both;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"text": "<li>In der rund 1.200 Einwohner großen Gemeinde Waldbrunn</li><li>rund 13 Kilometer vom rheinland-pfälzischen Westerburg entfernt</li>"
|
|
25
25
|
}
|
|
26
26
|
]
|
|
27
|
-
}
|
|
27
|
+
}
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
|
|
@@ -96,5 +96,233 @@
|
|
|
96
96
|
"text": "Dies ist ein Jobposting"
|
|
97
97
|
}
|
|
98
98
|
]
|
|
99
|
-
}
|
|
99
|
+
},
|
|
100
|
+
"copytext_posterteaser": {
|
|
101
|
+
"copytextParagraph": [
|
|
102
|
+
{
|
|
103
|
+
"structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
|
|
104
|
+
"isHeadline": true,
|
|
105
|
+
"text": "Speichermedien sowie Waffen und Munition sichergestellt"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
|
|
109
|
+
"isParagraph": true,
|
|
110
|
+
"text": {
|
|
111
|
+
"split": [
|
|
112
|
+
{
|
|
113
|
+
"isText": true,
|
|
114
|
+
"text": "In der rund 1.200 Einwohner großen Gemeinde Waldbrunn, rund 13 Kilometer vom rheinland-pfälzischen Westerburg entfernt, engagiert sich der 18-Jährige nach hr-Informationen bei der Freiwilligen Feuerwehr. Der Ortsvorsteher aus Waldbrunn beschrieb den Terrorverdächtigen als zurückhaltend, höflich und hilfsbereit."
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
|
|
121
|
+
"isParagraph": true,
|
|
122
|
+
"paragraphTeaserItem": {
|
|
123
|
+
"isStory": true,
|
|
124
|
+
"toModel": {
|
|
125
|
+
"genericTeaser": {
|
|
126
|
+
"@->jsoninclude": "teaser/teasers.inc.json",
|
|
127
|
+
"@->contentpath": "teaser.logicItem.includeModel",
|
|
128
|
+
"@->extends": {
|
|
129
|
+
"showFullSize": {
|
|
130
|
+
"isTrue": true
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"@->overrides": [
|
|
134
|
+
{
|
|
135
|
+
"@->contentpath": "teaserType",
|
|
136
|
+
"@->value": "poster"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"@->contentpath": "teaserSize",
|
|
140
|
+
"@->value": "50"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"@->contentpath": "realTeaserSize",
|
|
144
|
+
"@->value": "50"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"@->contentpath": "link.readMoreText.readMoreLong",
|
|
148
|
+
"@->value": "Zum Artikel"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"@->contentpath": "teaserImage",
|
|
152
|
+
"@->value": {
|
|
153
|
+
"@->jsoninclude": "teaser/teaser_images.inc.json",
|
|
154
|
+
"@->contentpath": "teaser_poster_50",
|
|
155
|
+
"@->replaceToken": [
|
|
156
|
+
{
|
|
157
|
+
"@->token": "image",
|
|
158
|
+
"@->value": "rueckkehr-nach-abschiebung-102"
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
|
|
170
|
+
"isParagraph": true,
|
|
171
|
+
"text": {
|
|
172
|
+
"split": [
|
|
173
|
+
{
|
|
174
|
+
"isText": true,
|
|
175
|
+
"text": "Nach der Festnahme in der vergangenen Woche hätten bereits Gespräche mit Mitschülerinnen und Mitschülern des 18 Jahre alten Oberstufenschülers stattgefunden. Auch die Eltern seien in Kenntnis gesetzt worden, sagte der Schulleiter."
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"isText": true,
|
|
179
|
+
"text": "Nach Informationen der Rhein-Zeitung soll es im Frühjahr 2022 einen Zwischenfall an der Schule gegeben haben. Der heute 18-Jährige soll demnach einen Mitschüler beschimpft und nach einer verbalen Auseinandersetzung mit einer Flasche geschlagen haben."
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
|
|
186
|
+
"isParagraph": true,
|
|
187
|
+
"paragraphTeaserItem": {
|
|
188
|
+
"isStory": true,
|
|
189
|
+
"toModel": {
|
|
190
|
+
"genericTeaser": {
|
|
191
|
+
"@->jsoninclude": "teaser/teasers.inc.json",
|
|
192
|
+
"@->contentpath": "teaser.logicItem.includeModel",
|
|
193
|
+
"@->extends": {
|
|
194
|
+
"showFullSize": {
|
|
195
|
+
"isTrue": false
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"@->overrides": [
|
|
199
|
+
{
|
|
200
|
+
"@->contentpath": "teaserType",
|
|
201
|
+
"@->value": "poster"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"@->contentpath": "teaserSize",
|
|
205
|
+
"@->value": "50"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"@->contentpath": "realTeaserSize",
|
|
209
|
+
"@->value": "50"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"@->contentpath": "link.readMoreText.readMoreLong",
|
|
213
|
+
"@->value": "Zum Artikel"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"@->contentpath": "teaserImage",
|
|
217
|
+
"@->value": {
|
|
218
|
+
"@->jsoninclude": "teaser/teaser_images.inc.json",
|
|
219
|
+
"@->contentpath": "teaser_poster_small",
|
|
220
|
+
"@->replaceToken": [
|
|
221
|
+
{
|
|
222
|
+
"@->token": "image",
|
|
223
|
+
"@->value": "rueckkehr-nach-abschiebung-102"
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
|
|
235
|
+
"isParagraph": true,
|
|
236
|
+
"text": {
|
|
237
|
+
"split": [
|
|
238
|
+
{
|
|
239
|
+
"isText": true,
|
|
240
|
+
"text": "Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet. Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet. Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet."
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
|
|
247
|
+
"isHeadline": true,
|
|
248
|
+
"text": "Medienbericht: Flaschenangriff auf Mitschüler"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
|
|
252
|
+
"isParagraph": true,
|
|
253
|
+
"text": {
|
|
254
|
+
"split": [
|
|
255
|
+
{
|
|
256
|
+
"isText": true,
|
|
257
|
+
"text": "Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet. Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde."
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
|
|
264
|
+
"isParagraph": true,
|
|
265
|
+
"paragraphTeaserItem": {
|
|
266
|
+
"isStory": true,
|
|
267
|
+
"toModel": {
|
|
268
|
+
"genericTeaser": {
|
|
269
|
+
"@->jsoninclude": "teaser/teasers.inc.json",
|
|
270
|
+
"@->contentpath": "teaser.logicItem.includeModel",
|
|
271
|
+
"@->extends": {
|
|
272
|
+
"showFullSize": {
|
|
273
|
+
"isTrue": true
|
|
274
|
+
},
|
|
275
|
+
"showStretched": {
|
|
276
|
+
"isTrue": true
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"@->overrides": [
|
|
280
|
+
{
|
|
281
|
+
"@->contentpath": "teaserType",
|
|
282
|
+
"@->value": "poster"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"@->contentpath": "teaserSize",
|
|
286
|
+
"@->value": "50"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"@->contentpath": "realTeaserSize",
|
|
290
|
+
"@->value": "50"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"@->contentpath": "link.readMoreText.readMoreLong",
|
|
294
|
+
"@->value": "Zum Artikel"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"@->contentpath": "teaserImage",
|
|
298
|
+
"@->value": {
|
|
299
|
+
"@->jsoninclude": "teaser/teaser_images.inc.json",
|
|
300
|
+
"@->contentpath": "teaser_poster_wide",
|
|
301
|
+
"@->replaceToken": [
|
|
302
|
+
{
|
|
303
|
+
"@->token": "image",
|
|
304
|
+
"@->value": "rueckkehr-nach-abschiebung-102"
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
]
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
|
|
316
|
+
"isParagraph": true,
|
|
317
|
+
"text": {
|
|
318
|
+
"split": [
|
|
319
|
+
{
|
|
320
|
+
"isText": true,
|
|
321
|
+
"text": "Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet. Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet."
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
]
|
|
327
|
+
}
|
|
100
328
|
}
|
|
@@ -233,6 +233,46 @@
|
|
|
233
233
|
]
|
|
234
234
|
}
|
|
235
235
|
},
|
|
236
|
+
"teaser_poster_small": {
|
|
237
|
+
"copyrightWithLinks": "",
|
|
238
|
+
"responsiveImage": {
|
|
239
|
+
"asPicture": true,
|
|
240
|
+
"asImage": false,
|
|
241
|
+
"fallback": "images/{#image}_v-16to9__medium.jpg",
|
|
242
|
+
"sources": [
|
|
243
|
+
{
|
|
244
|
+
"media": "all and (min-width: 480px)",
|
|
245
|
+
"sizes": "(min-width: 700px) 660px, 100vw",
|
|
246
|
+
"srcset": "images/{#image}_v-16to9__small.jpg 320w, images/{#image}_v-16to9__medium.jpg 480w, images/{#image}_v-16to9.jpg 992w, images/{#image}_v-16to9__retina.jpg 1920w"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"media": "all and (max-width: 479px)",
|
|
250
|
+
"sizes": "100vw",
|
|
251
|
+
"srcset": "images/{#image}_v-1to1__small.jpg 320w, images/{#image}_v-1to1__medium.jpg 480w, images/{#image}_v-1to1__medium__extended.jpg 640w, images/{#image}_v-1to1.jpg 960w, images/{#image}_v-1to1__retina.jpg 1920w"
|
|
252
|
+
}
|
|
253
|
+
]
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"teaser_poster_wide": {
|
|
257
|
+
"copyrightWithLinks": "",
|
|
258
|
+
"responsiveImage": {
|
|
259
|
+
"asPicture": true,
|
|
260
|
+
"asImage": false,
|
|
261
|
+
"fallback": "images/{#image}_v-16to7__medium.jpg",
|
|
262
|
+
"sources": [
|
|
263
|
+
{
|
|
264
|
+
"media": "all and (min-width: 480px)",
|
|
265
|
+
"sizes": "(min-width: 700px) 660px, 100vw",
|
|
266
|
+
"srcset": "images/{#image}_v-16to7__small.jpg 320w, images/{#image}_v-16to7__medium.jpg 480w, images/{#image}_v-16to7.jpg 992w, images/{#image}_v-16to7__retina.jpg 1920w"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"media": "all and (max-width: 479px)",
|
|
270
|
+
"sizes": "100vw",
|
|
271
|
+
"srcset": "images/{#image}_v-1to1__small.jpg 320w, images/{#image}_v-1to1__medium.jpg 480w, images/{#image}_v-1to1__medium__extended.jpg 640w, images/{#image}_v-1to1.jpg 960w, images/{#image}_v-1to1__retina.jpg 1920w"
|
|
272
|
+
}
|
|
273
|
+
]
|
|
274
|
+
}
|
|
275
|
+
},
|
|
236
276
|
"teaser_poster_33": {
|
|
237
277
|
"copyrightWithLinks": "",
|
|
238
278
|
"responsiveImage": {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
{{~#if (isStorybook)~}}
|
|
2
|
-
<div class="mt-
|
|
2
|
+
<div class="{{#if this.showFullSize.isTrue }}clear-both w-full mt-12 {{#unless this.showStretched.isTrue }}sm480:w-2/3 sm480:mx-auto{{/unless}}{{else}}w-full md:w-1/2 float-left my-7 mr-0 md:mr-5{{/if}}">
|
|
3
|
+
{{> components/teaser/teaser_poster _isCopytext=true }}
|
|
4
|
+
</div>
|
|
3
5
|
{{~else~}}
|
|
4
6
|
{{> modules/teaser/poster-teaser/posterTeaser-story}}
|
|
5
7
|
{{~/if~}}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import copytext from './copytext.hbs'
|
|
2
2
|
import copytext_json from './fixtures/copytext.json'
|
|
3
|
+
import copytext_posterteaser_json from './fixtures/copytext_posterteaser.json'
|
|
3
4
|
|
|
4
5
|
const Template = ({ ...args }) => {
|
|
5
6
|
return copytext({ ...args })
|
|
@@ -13,4 +14,10 @@ export const Default = {
|
|
|
13
14
|
render: Template.bind({}),
|
|
14
15
|
name: 'default',
|
|
15
16
|
args: copytext_json,
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const WithPosterteaser = {
|
|
20
|
+
render: Template.bind({}),
|
|
21
|
+
name: 'Posterteaser',
|
|
22
|
+
args: copytext_posterteaser_json,
|
|
16
23
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"copytextParagraph":[{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isHeadline":true,"text":"Speichermedien sowie Waffen und Munition sichergestellt"},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"text":{"split":[{"isText":true,"text":"In der rund 1.200 Einwohner großen Gemeinde Waldbrunn, rund 13 Kilometer vom rheinland-pfälzischen Westerburg entfernt, engagiert sich der 18-Jährige nach hr-Informationen bei der Freiwilligen Feuerwehr. Der Ortsvorsteher aus Waldbrunn beschrieb den Terrorverdächtigen als zurückhaltend, höflich und hilfsbereit."}]}},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"paragraphTeaserItem":{"isStory":true,"toModel":{"genericTeaser":{"byline":"Byline","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","headingFontVariant":"serif","extendedTitle":"","teaserType":"poster","teaserSize":"50","realTeaserSize":"50","isMobile1to1":false,"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"hasByline":true,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":false,"showTeaserInfoAll":false,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":false},"teaserImage":{"copyrightWithLinks":"","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/rueckkehr-nach-abschiebung-102_v-1to1__medium.jpg","sources":[{"sizes":"(min-width: 768px) 460px, (min-width: 640px) calc(100vw - 8.5rem), calc(100vw - 2.5rem)","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"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"moreThenOneEvent":false,"moreThenTwoEvents":false,"firstInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Do","day":"9"}},"lastInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Fr","day":"10"}},"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":"Gesellschaft","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","shorttext":"Vor einem Jahr wurde die syrische Familie Kheder aus Wolfhagen abgeschoben. Die Gemeinde setzte alle Hebel in Bewegung, um Mutter, Tochter und Sohn zurückzuholen. Im Fall der Kinder hat das nun zu einem Happy End geführt. Doch ihre Mutter fehlt.","hideBylineAndShorttext":false,"sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"Von Alf Haubitz und Alice Merton","teaserLead":{"avDocument":"","image":""},"geotag":[{"title":"Wolfhagen"}],"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"Zum Artikel"}},"showFullSize":{"isTrue":true}}}}},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"text":{"split":[{"isText":true,"text":"Nach der Festnahme in der vergangenen Woche hätten bereits Gespräche mit Mitschülerinnen und Mitschülern des 18 Jahre alten Oberstufenschülers stattgefunden. Auch die Eltern seien in Kenntnis gesetzt worden, sagte der Schulleiter."},{"isText":true,"text":"Nach Informationen der Rhein-Zeitung soll es im Frühjahr 2022 einen Zwischenfall an der Schule gegeben haben. Der heute 18-Jährige soll demnach einen Mitschüler beschimpft und nach einer verbalen Auseinandersetzung mit einer Flasche geschlagen haben."}]}},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"paragraphTeaserItem":{"isStory":true,"toModel":{"genericTeaser":{"byline":"Byline","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","headingFontVariant":"serif","extendedTitle":"","teaserType":"poster","teaserSize":"50","realTeaserSize":"50","isMobile1to1":false,"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"hasByline":true,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":false,"showTeaserInfoAll":false,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":false},"teaserImage":{"copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg","sources":[{"media":"all and (min-width: 480px)","sizes":"(min-width: 700px) 660px, 100vw","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.jpg 992w, images/rueckkehr-nach-abschiebung-102_v-16to9__retina.jpg 1920w"},{"media":"all and (max-width: 479px)","sizes":"100vw","srcset":"images/rueckkehr-nach-abschiebung-102_v-1to1__small.jpg 320w, images/rueckkehr-nach-abschiebung-102_v-1to1__medium.jpg 480w, images/rueckkehr-nach-abschiebung-102_v-1to1__medium__extended.jpg 640w, images/rueckkehr-nach-abschiebung-102_v-1to1.jpg 960w, images/rueckkehr-nach-abschiebung-102_v-1to1__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"moreThenOneEvent":false,"moreThenTwoEvents":false,"firstInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Do","day":"9"}},"lastInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Fr","day":"10"}},"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":"Gesellschaft","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","shorttext":"Vor einem Jahr wurde die syrische Familie Kheder aus Wolfhagen abgeschoben. Die Gemeinde setzte alle Hebel in Bewegung, um Mutter, Tochter und Sohn zurückzuholen. Im Fall der Kinder hat das nun zu einem Happy End geführt. Doch ihre Mutter fehlt.","hideBylineAndShorttext":false,"sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"Von Alf Haubitz und Alice Merton","teaserLead":{"avDocument":"","image":""},"geotag":[{"title":"Wolfhagen"}],"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"Zum Artikel"}},"showFullSize":{"isTrue":false}}}}},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"text":{"split":[{"isText":true,"text":"Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet. Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet. Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet."}]}},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isHeadline":true,"text":"Medienbericht: Flaschenangriff auf Mitschüler"},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"text":{"split":[{"isText":true,"text":"Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet. Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde."}]}},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"paragraphTeaserItem":{"isStory":true,"toModel":{"genericTeaser":{"byline":"Byline","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","headingFontVariant":"serif","extendedTitle":"","teaserType":"poster","teaserSize":"50","realTeaserSize":"50","isMobile1to1":false,"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"hasByline":true,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":false,"showTeaserInfoAll":false,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":false},"teaserImage":{"copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/rueckkehr-nach-abschiebung-102_v-16to7__medium.jpg","sources":[{"media":"all and (min-width: 480px)","sizes":"(min-width: 700px) 660px, 100vw","srcset":"images/rueckkehr-nach-abschiebung-102_v-16to7__small.jpg 320w, images/rueckkehr-nach-abschiebung-102_v-16to7__medium.jpg 480w, images/rueckkehr-nach-abschiebung-102_v-16to7.jpg 992w, images/rueckkehr-nach-abschiebung-102_v-16to7__retina.jpg 1920w"},{"media":"all and (max-width: 479px)","sizes":"100vw","srcset":"images/rueckkehr-nach-abschiebung-102_v-1to1__small.jpg 320w, images/rueckkehr-nach-abschiebung-102_v-1to1__medium.jpg 480w, images/rueckkehr-nach-abschiebung-102_v-1to1__medium__extended.jpg 640w, images/rueckkehr-nach-abschiebung-102_v-1to1.jpg 960w, images/rueckkehr-nach-abschiebung-102_v-1to1__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"moreThenOneEvent":false,"moreThenTwoEvents":false,"firstInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Do","day":"9"}},"lastInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Fr","day":"10"}},"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":"Gesellschaft","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","shorttext":"Vor einem Jahr wurde die syrische Familie Kheder aus Wolfhagen abgeschoben. Die Gemeinde setzte alle Hebel in Bewegung, um Mutter, Tochter und Sohn zurückzuholen. Im Fall der Kinder hat das nun zu einem Happy End geführt. Doch ihre Mutter fehlt.","hideBylineAndShorttext":false,"sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"Von Alf Haubitz und Alice Merton","teaserLead":{"avDocument":"","image":""},"geotag":[{"title":"Wolfhagen"}],"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"Zum Artikel"}},"showFullSize":{"isTrue":true},"showStretched":{"isTrue":true}}}}},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"text":{"split":[{"isText":true,"text":"Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet. Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet."}]}}]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<span class='cy-teaser-title block mt-0.5 font-title font-bold {{> components/teaser/components/teaser_title_classes _size=_size _teaserType=_teaserType _isMobile1to1=_isMobile1to1 _firstItem=_firstItem}}{{#if _css}} {{_css}}{{/if}}'>
|
|
1
|
+
<span class='cy-teaser-title block mt-0.5 font-title font-bold {{> components/teaser/components/teaser_title_classes _size=_size _teaserType=_teaserType _isMobile1to1=_isMobile1to1 _firstItem=_firstItem _isCopytext=_isCopytext}}{{#if _css}} {{_css}}{{/if}}'>
|
|
2
2
|
{{~_text~}}
|
|
3
3
|
</span>
|
|
@@ -10,7 +10,6 @@ the 4 parameters are:
|
|
|
10
10
|
- fontVariant
|
|
11
11
|
|
|
12
12
|
}}
|
|
13
|
-
|
|
14
13
|
{{~#switch _teaserType~}}
|
|
15
14
|
{{~#case 'standard'~}}
|
|
16
15
|
{{~#if _isMobile1to1~}}
|
|
@@ -79,7 +78,11 @@ the 4 parameters are:
|
|
|
79
78
|
~}}
|
|
80
79
|
{{~/case~}}
|
|
81
80
|
{{~#case 'poster'~}}
|
|
82
|
-
{{
|
|
81
|
+
{{#if _isCopytext~}}
|
|
82
|
+
{{~#if this.showFullSize.isTrue~}}text-2xl md:text-4xl{{else}}text-2xl{{~/if~}}
|
|
83
|
+
{{else}}
|
|
84
|
+
{{~inline-switch _size '["50","33"]' '["text-2xl md:text-4xl","text-2xl"]'~}}
|
|
85
|
+
{{/if}}
|
|
83
86
|
{{~/case~}}
|
|
84
87
|
{{~#case 'cluster'~}}
|
|
85
88
|
{{#if _firstItem}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
2
|
-
<figure class="ar-1-1" aria-hidden="true">
|
|
1
|
+
<article class="{{#if _isCopytext~}}mx-0{{else}}mx-5 sm:mx-0{{/if}} relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
2
|
+
<figure class="{{#if _isCopytext~}}{{#if this.showFullSize.isTrue }}{{#if this.showStretched.isTrue }}ar-1-1 sm480:ar-16-7{{else}}ar-1-1{{/if}}{{else}}ar-1-1 sm480:ar-16-9{{/if}}{{else}}ar-1-1{{/if}}" aria-hidden="true">
|
|
3
3
|
{{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
|
|
4
4
|
</figure>
|
|
5
5
|
<div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-hr rounded-br-hr">
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{{#if this.topline}}
|
|
16
16
|
{{> components/teaser/components/teaser_topline _css="!text-white" _text=this.topline}}
|
|
17
17
|
{{/if}}
|
|
18
|
-
{{> components/teaser/components/teaser_title _css="whitespace-pre-wrap" _text=this.title _size=this.realTeaserSize _teaserType=this.teaserType}}
|
|
18
|
+
{{> components/teaser/components/teaser_title _css="whitespace-pre-wrap" _text=this.title _size=this.realTeaserSize _teaserType=this.teaserType _isCopytext=_isCopytext}}
|
|
19
19
|
{{#if this.extendedTitle}}
|
|
20
20
|
{{> components/teaser/components/teaser_subline _text=this.extendedTitle}}
|
|
21
21
|
{{/if}}
|
|
@@ -23,9 +23,21 @@
|
|
|
23
23
|
{{/components/teaser/components/teaser_header}}
|
|
24
24
|
{{/components/base/link}}
|
|
25
25
|
<span class="absolute flex items-end justify-center w-full h-full ds-cta">
|
|
26
|
-
{{
|
|
27
|
-
{{
|
|
28
|
-
|
|
26
|
+
{{#if _isCopytext~}}
|
|
27
|
+
{{#if this.showFullSize.isTrue~}}
|
|
28
|
+
{{#> components/button/link_button _link=this.link _size="lg" _css=(inline-switch this.showStretched.isTrue '[false,true]' '["z-20 mb-7 md:mb-16","z-20 mb-7 sm480:mb-3 sm:mb-7","z-20 mb-7 md:mb-16"]') _variant="secondary" _isAriaHidden=true _onBackground=true}}
|
|
29
|
+
{{> components/button/components/button_label _css="" _label=this.link.readMoreText.readMoreLong}}
|
|
30
|
+
{{/components/button/link_button}}
|
|
31
|
+
{{else}}
|
|
32
|
+
{{#> components/button/link_button _link=this.link _size="lg" _css="z-20 mb-7 md:mb-3" _variant="secondary" _isAriaHidden=true _onBackground=true}}
|
|
33
|
+
{{> components/button/components/button_label _css="" _label=this.link.readMoreText.readMoreLong}}
|
|
34
|
+
{{/components/button/link_button}}
|
|
35
|
+
{{/if}}
|
|
36
|
+
{{else}}
|
|
37
|
+
{{#> components/button/link_button _link=this.link _size="lg" _css=(inline-switch this.realTeaserSize '["33","50"]' '["z-20 mb-7","z-20 mb-7 md:mb-16"]') _variant="secondary" _isAriaHidden=true _onBackground=true}}
|
|
38
|
+
{{> components/button/components/button_label _css="" _label=this.link.readMoreText.readMoreLong}}
|
|
39
|
+
{{/components/button/link_button}}
|
|
40
|
+
{{/if}}
|
|
29
41
|
</span>
|
|
30
42
|
</div>
|
|
31
43
|
</article>
|