hr-design-system-handlebars 1.50.16 → 1.50.18
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/brand/_default/conf/locatags.json +1 -0
- package/dist/assets/brand/hr1/icons/logo/svgmap.min.svg +1 -1
- package/dist/assets/brand/you-fm/icons/logo/svgmap.min.svg +1 -1
- package/dist/assets/icons/icons/svgmap/copyright.svg +13 -0
- package/dist/assets/icons/icons/svgmap.min.svg +1 -1
- package/dist/assets/index.css +354 -5
- package/dist/assets/js/alpine.js +4 -0
- package/dist/views/components/banner/banner.storybook.hbs +126 -0
- package/dist/views/components/banner/copyright/tooltip.hbs +17 -0
- package/dist/views/components/banner/header/additional_info.hbs +1 -0
- package/dist/views/components/banner/header/banner_image.hbs +13 -0
- package/dist/views/components/banner/header/banner_overlay.hbs +3 -0
- package/dist/views/components/banner/header/banner_wrapper.hbs +7 -0
- package/dist/views/components/banner/header/breadcrumb_wrapper.hbs +6 -0
- package/dist/views/components/banner/header/byline.hbs +1 -0
- package/dist/views/components/banner/header/headline.hbs +3 -0
- package/dist/views/components/banner/header/special_info.hbs +3 -0
- package/dist/views/components/banner/header/title_background.hbs +3 -0
- package/dist/views/components/banner/header/topline.hbs +1 -0
- package/dist/views/components/banner/structure_nav/structure_nav.hbs +34 -0
- package/dist/views/components/base/image/responsive_image.hbs +5 -4
- package/dist/views/components/content/copytext/components/additionalinfo.hbs +5 -0
- package/dist/views/components/content/copytext/components/audio.hbs +9 -0
- package/dist/views/components/content/copytext/components/audioeventlivestream.hbs +9 -0
- package/dist/views/components/content/copytext/components/cite.hbs +20 -0
- package/dist/views/components/content/copytext/components/downloadbox.hbs +5 -0
- package/dist/views/components/content/copytext/components/externalservice.hbs +61 -0
- package/dist/views/components/content/copytext/components/faq.hbs +5 -0
- package/dist/views/components/content/copytext/components/filedownload.hbs +5 -0
- package/dist/views/components/content/copytext/components/gallery.hbs +7 -0
- package/dist/views/components/content/copytext/components/headline.hbs +1 -0
- package/dist/views/components/content/copytext/components/image.hbs +41 -0
- package/dist/views/components/content/copytext/components/infobox.hbs +5 -0
- package/dist/views/components/content/copytext/components/jobposting.hbs +5 -0
- package/dist/views/components/content/copytext/components/livestream.hbs +9 -0
- package/dist/views/components/content/copytext/components/map.hbs +46 -0
- package/dist/views/components/content/copytext/components/newsletter.hbs +5 -0
- package/dist/views/components/content/copytext/components/paragraph.hbs +11 -0
- package/dist/views/components/content/copytext/components/podcastepisode.hbs +9 -0
- package/dist/views/components/content/copytext/components/posterteaser.hbs +5 -0
- package/dist/views/components/content/copytext/components/radioplaylist.hbs +11 -0
- package/dist/views/components/content/copytext/components/tweet.hbs +7 -0
- package/dist/views/components/content/copytext/components/video.hbs +9 -0
- package/dist/views/components/content/copytext/components/voting.hbs +9 -0
- package/dist/views/components/content/copytext/components/webform.hbs +5 -0
- package/dist/views/components/content/copytext/copytext.hbs +129 -0
- package/dist/views/components/footer/page_footer.hbs +2 -1
- package/dist/views/components/navigation/breadcrumb/breadcrumb.hbs +5 -4
- package/dist/views/components/top_button/top_button.hbs +24 -0
- package/dist/views_static/components/banner/banner.storybook.hbs +126 -0
- package/dist/views_static/components/banner/copyright/tooltip.hbs +17 -0
- package/dist/views_static/components/banner/header/additional_info.hbs +1 -0
- package/dist/views_static/components/banner/header/banner_image.hbs +13 -0
- package/dist/views_static/components/banner/header/banner_overlay.hbs +3 -0
- package/dist/views_static/components/banner/header/banner_wrapper.hbs +7 -0
- package/dist/views_static/components/banner/header/breadcrumb_wrapper.hbs +6 -0
- package/dist/views_static/components/banner/header/byline.hbs +1 -0
- package/dist/views_static/components/banner/header/headline.hbs +3 -0
- package/dist/views_static/components/banner/header/special_info.hbs +3 -0
- package/dist/views_static/components/banner/header/title_background.hbs +3 -0
- package/dist/views_static/components/banner/header/topline.hbs +1 -0
- package/dist/views_static/components/banner/structure_nav/structure_nav.hbs +34 -0
- package/dist/views_static/components/base/image/responsive_image.hbs +5 -4
- package/dist/views_static/components/content/copytext/components/additionalinfo.hbs +5 -0
- package/dist/views_static/components/content/copytext/components/audio.hbs +9 -0
- package/dist/views_static/components/content/copytext/components/audioeventlivestream.hbs +9 -0
- package/dist/views_static/components/content/copytext/components/cite.hbs +20 -0
- package/dist/views_static/components/content/copytext/components/downloadbox.hbs +5 -0
- package/dist/views_static/components/content/copytext/components/externalservice.hbs +61 -0
- package/dist/views_static/components/content/copytext/components/faq.hbs +5 -0
- package/dist/views_static/components/content/copytext/components/filedownload.hbs +5 -0
- package/dist/views_static/components/content/copytext/components/gallery.hbs +7 -0
- package/dist/views_static/components/content/copytext/components/headline.hbs +1 -0
- package/dist/views_static/components/content/copytext/components/image.hbs +41 -0
- package/dist/views_static/components/content/copytext/components/infobox.hbs +5 -0
- package/dist/views_static/components/content/copytext/components/jobposting.hbs +5 -0
- package/dist/views_static/components/content/copytext/components/livestream.hbs +9 -0
- package/dist/views_static/components/content/copytext/components/map.hbs +46 -0
- package/dist/views_static/components/content/copytext/components/newsletter.hbs +5 -0
- package/dist/views_static/components/content/copytext/components/paragraph.hbs +11 -0
- package/dist/views_static/components/content/copytext/components/podcastepisode.hbs +9 -0
- package/dist/views_static/components/content/copytext/components/posterteaser.hbs +5 -0
- package/dist/views_static/components/content/copytext/components/radioplaylist.hbs +11 -0
- package/dist/views_static/components/content/copytext/components/tweet.hbs +7 -0
- package/dist/views_static/components/content/copytext/components/video.hbs +9 -0
- package/dist/views_static/components/content/copytext/components/voting.hbs +9 -0
- package/dist/views_static/components/content/copytext/components/webform.hbs +5 -0
- package/dist/views_static/components/content/copytext/copytext.hbs +129 -0
- package/dist/views_static/components/footer/page_footer.hbs +2 -1
- package/dist/views_static/components/navigation/breadcrumb/breadcrumb.hbs +5 -4
- package/dist/views_static/components/top_button/top_button.hbs +24 -0
- package/package.json +3 -1
- package/src/assets/brand/_default/conf/locatags.json +1 -0
- package/src/assets/brand/hessenschau/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-bigband/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-werbung/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr1/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr1/icons/logo/svgmap.min.svg +1 -1
- package/src/assets/brand/hr2/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr3/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr4/conf/locatags.merged.json +1 -0
- package/src/assets/brand/you-fm/conf/locatags.merged.json +1 -0
- package/src/assets/brand/you-fm/icons/logo/svgmap.min.svg +1 -1
- package/src/assets/css/custom-utilities.css +33 -0
- package/src/assets/fixtures/banner/banner.json +37 -0
- package/src/assets/fixtures/banner/bannerImages.inc.json +28 -0
- package/src/assets/fixtures/banner/structureNav.json +48 -0
- package/src/assets/fixtures/content/copytext/copytext.inc.json +100 -0
- package/src/assets/fixtures/content/copytext/copytext.json +4 -0
- package/src/assets/icons/icons/svgmap/copyright.svg +13 -0
- package/src/assets/icons/icons/svgmap.min.svg +1 -1
- package/src/assets/images/rueckkehr-nach-abschiebung-102_v-100to27.jpg +0 -0
- package/src/assets/images/rueckkehr-nach-abschiebung-102_v-100to27__medium.jpg +0 -0
- package/src/assets/images/rueckkehr-nach-abschiebung-102_v-100to27__retina.jpg +0 -0
- package/src/assets/images/rueckkehr-nach-abschiebung-102_v-100to27__small.jpg +0 -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__small.jpg +0 -0
- package/src/assets/js/alpine.js +4 -0
- package/src/assets/tailwind.css +42 -1
- package/src/stories/views/components/banner/banner.storybook.hbs +126 -0
- package/src/stories/views/components/banner/copyright/tooltip.hbs +17 -0
- package/src/stories/views/components/banner/fixtures/banner.json +1 -0
- package/src/stories/views/components/banner/fixtures/structureNav.json +1 -0
- package/src/stories/views/components/banner/header/additional_info.hbs +1 -0
- package/src/stories/views/components/banner/header/banner_image.hbs +13 -0
- package/src/stories/views/components/banner/header/banner_overlay.hbs +3 -0
- package/src/stories/views/components/banner/header/banner_wrapper.hbs +7 -0
- package/src/stories/views/components/banner/header/breadcrumb_wrapper.hbs +6 -0
- package/src/stories/views/components/banner/header/byline.hbs +1 -0
- package/src/stories/views/components/banner/header/headline.hbs +3 -0
- package/src/stories/views/components/banner/header/special_info.hbs +3 -0
- package/src/stories/views/components/banner/header/title_background.hbs +3 -0
- package/src/stories/views/components/banner/header/topline.hbs +1 -0
- package/src/stories/views/components/banner/header.stories.js +36 -0
- package/src/stories/views/components/banner/structure_nav/structureNav.stories.js +32 -0
- package/src/stories/views/components/banner/structure_nav/structure_nav.hbs +34 -0
- package/src/stories/views/components/base/image/responsive_image.hbs +5 -4
- package/src/stories/views/components/content/copytext/components/additionalinfo.hbs +5 -0
- package/src/stories/views/components/content/copytext/components/audio.hbs +9 -0
- package/src/stories/views/components/content/copytext/components/audioeventlivestream.hbs +9 -0
- package/src/stories/views/components/content/copytext/components/cite.hbs +20 -0
- package/src/stories/views/components/content/copytext/components/downloadbox.hbs +5 -0
- package/src/stories/views/components/content/copytext/components/externalservice.hbs +61 -0
- package/src/stories/views/components/content/copytext/components/faq.hbs +5 -0
- package/src/stories/views/components/content/copytext/components/filedownload.hbs +5 -0
- package/src/stories/views/components/content/copytext/components/gallery.hbs +7 -0
- package/src/stories/views/components/content/copytext/components/headline.hbs +1 -0
- package/src/stories/views/components/content/copytext/components/image.hbs +41 -0
- package/src/stories/views/components/content/copytext/components/infobox.hbs +5 -0
- package/src/stories/views/components/content/copytext/components/jobposting.hbs +5 -0
- package/src/stories/views/components/content/copytext/components/livestream.hbs +9 -0
- package/src/stories/views/components/content/copytext/components/map.hbs +46 -0
- package/src/stories/views/components/content/copytext/components/newsletter.hbs +5 -0
- package/src/stories/views/components/content/copytext/components/paragraph.hbs +11 -0
- package/src/stories/views/components/content/copytext/components/podcastepisode.hbs +9 -0
- package/src/stories/views/components/content/copytext/components/posterteaser.hbs +5 -0
- package/src/stories/views/components/content/copytext/components/radioplaylist.hbs +11 -0
- package/src/stories/views/components/content/copytext/components/tweet.hbs +7 -0
- package/src/stories/views/components/content/copytext/components/video.hbs +9 -0
- package/src/stories/views/components/content/copytext/components/voting.hbs +9 -0
- package/src/stories/views/components/content/copytext/components/webform.hbs +5 -0
- package/src/stories/views/components/content/copytext/copytext.hbs +129 -0
- package/src/stories/views/components/content/copytext/copytext.mdx +25 -0
- package/src/stories/views/components/content/copytext/copytext.stories.js +16 -0
- package/src/stories/views/components/content/copytext/fixtures/copytext.json +1 -0
- package/src/stories/views/components/footer/fixtures/footer_hessenschau.json +1 -242
- package/src/stories/views/components/footer/page_footer.hbs +2 -1
- package/src/stories/views/components/navigation/breadcrumb/breadcrumb.hbs +5 -4
- package/src/stories/views/components/top_button/top_button.hbs +24 -0
- package/tailwind.config.js +5 -2
package/src/assets/tailwind.css
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
@import 'css/custom-components.css';
|
|
5
5
|
@import 'tailwindcss/utilities';
|
|
6
6
|
@import 'css/custom-utilities.css';
|
|
7
|
-
|
|
8
7
|
/*! purgecss start ignore */
|
|
9
8
|
:root,
|
|
10
9
|
[data-theme='default'] {
|
|
@@ -136,6 +135,24 @@
|
|
|
136
135
|
--color-ticker-teaser-headline-underline : theme('colors.white.DEFAULT');
|
|
137
136
|
--color-toggle-confirmation: #2c7e13;
|
|
138
137
|
--color-toggle-default: #797979;
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
--banner__background-color: theme('colors.white.DEFAULT');
|
|
141
|
+
--banner__background-color--with-image:theme('colors.transparent');
|
|
142
|
+
--banner-overlay_background-color: theme('colors.white.DEFAULT');
|
|
143
|
+
--banner-overlay__background-color--rgba: rgba(--banner-overlay_background-color, 0.85);
|
|
144
|
+
--banner-topline__color: theme('colors.black.DEFAULT');
|
|
145
|
+
|
|
146
|
+
--banner-specialinfo__background-color: theme('colors.white.DEFAULT');
|
|
147
|
+
--banner-specialinfo__color: theme('colors.black.DEFAULT');
|
|
148
|
+
--banner-specialinfo__background-color--invert: theme('colors.black.DEFAULT');
|
|
149
|
+
--banner-specialinfo__color--invert: theme('colors.white.DEFAULT');
|
|
150
|
+
|
|
151
|
+
--structure-nav-background: var(--color-primary-ds);
|
|
152
|
+
--structure-nav-text: theme('colors.white.DEFAULT');
|
|
153
|
+
--structure-nav-text-mobile: var(--color-primary-ds);
|
|
154
|
+
|
|
155
|
+
--feature-box-height: 0;
|
|
139
156
|
}
|
|
140
157
|
|
|
141
158
|
[data-theme='hessenschau'] {
|
|
@@ -382,6 +399,10 @@
|
|
|
382
399
|
/* Font */
|
|
383
400
|
--font-title: theme('fontFamily.heading');
|
|
384
401
|
--font-weight-title: theme('fontWeight.bold');
|
|
402
|
+
/* Structure Navigation */
|
|
403
|
+
--structure-nav-background: theme('colors.blue.astronautBlue');
|
|
404
|
+
|
|
405
|
+
--feature-box-height: 96px;
|
|
385
406
|
}
|
|
386
407
|
|
|
387
408
|
[data-theme='hr-rundfunkrat'] {
|
|
@@ -464,6 +485,8 @@
|
|
|
464
485
|
/* Font */
|
|
465
486
|
--font-title: theme('fontFamily.heading');
|
|
466
487
|
--font-weight-title: theme('fontWeight.bold');
|
|
488
|
+
/* Structure Navigation */
|
|
489
|
+
--structure-nav-background: theme('colors.blue.deepCerulean');
|
|
467
490
|
}
|
|
468
491
|
|
|
469
492
|
[data-theme='hr-werbung'] {
|
|
@@ -844,6 +867,12 @@
|
|
|
844
867
|
/* Font */
|
|
845
868
|
--font-title: theme('fontFamily.heading');
|
|
846
869
|
--font-weight-title: theme('fontWeight.bold');
|
|
870
|
+
/* Structure Nav */
|
|
871
|
+
--structure-nav-background: var(--color-primary-ds);
|
|
872
|
+
--structure-nav-text: #433d37;
|
|
873
|
+
--structure-nav-text-mobile: theme('colors.yellow.olive');
|
|
874
|
+
|
|
875
|
+
--feature-box-height: 96px;
|
|
847
876
|
}
|
|
848
877
|
|
|
849
878
|
[data-theme='hr2'] {
|
|
@@ -922,6 +951,8 @@
|
|
|
922
951
|
--color-ticker-teaser-timeline-score: theme('colors.pink.rose');
|
|
923
952
|
|
|
924
953
|
--search-border-color-desktop: var(--color-navigation-icons);
|
|
954
|
+
|
|
955
|
+
--feature-box-height: 96px;
|
|
925
956
|
}
|
|
926
957
|
|
|
927
958
|
[data-theme='hr3'] {
|
|
@@ -1000,6 +1031,8 @@
|
|
|
1000
1031
|
--font-weight-title: theme('fontWeight.bold');
|
|
1001
1032
|
|
|
1002
1033
|
--search-border-color-desktop: theme('colors.gray.scorpion');
|
|
1034
|
+
|
|
1035
|
+
--feature-box-height: 96px;
|
|
1003
1036
|
}
|
|
1004
1037
|
|
|
1005
1038
|
[data-theme='hr4'] {
|
|
@@ -1077,6 +1110,9 @@
|
|
|
1077
1110
|
--font-weight-title: theme('fontWeight.bold');
|
|
1078
1111
|
/* Border */
|
|
1079
1112
|
--border-radius-hr: theme('borderRadius.3xl');
|
|
1113
|
+
/* Structure Navigation */
|
|
1114
|
+
--structure-nav-background: theme('colors.green.genoa');
|
|
1115
|
+
--feature-box-height: 96px;
|
|
1080
1116
|
}
|
|
1081
1117
|
|
|
1082
1118
|
[data-theme='you-fm'] {
|
|
@@ -1161,6 +1197,11 @@
|
|
|
1161
1197
|
--font-weight-title: theme('fontWeight.bold');
|
|
1162
1198
|
|
|
1163
1199
|
--search-border-color-desktop: var(--color-navigation-icons);
|
|
1200
|
+
/* Structure Navigation */
|
|
1201
|
+
--structure-nav-background: theme('colors.yellow.goldenSand');
|
|
1202
|
+
--structure-nav-text: theme('colors.black.DEFAULT');
|
|
1203
|
+
--structure-nav-text-mobile: theme('colors.blue.lightCerulean');
|
|
1204
|
+
--feature-box-height: 96px;
|
|
1164
1205
|
}
|
|
1165
1206
|
|
|
1166
1207
|
/*! purgecss end ignore */
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
<div class="flex flex-col py-6 bg-slate-500">
|
|
2
|
+
<div class="grid grid-page">
|
|
3
|
+
<h1 class="text-3xl font-title col-full sm:col-main">Maximalausprägung mit Struktur Navigation</h1>
|
|
4
|
+
</div>
|
|
5
|
+
{{#> components/banner/header/breadcrumb_wrapper _hasContentNav=true }}
|
|
6
|
+
{{> components/navigation/breadcrumb/breadcrumb }}
|
|
7
|
+
{{/components/banner/header/breadcrumb_wrapper }}
|
|
8
|
+
|
|
9
|
+
{{#> components/banner/header/banner_wrapper _hasImage=true _hideOnMobile=false}}
|
|
10
|
+
{{#> components/banner/header/banner_overlay _hasBackground=true}}
|
|
11
|
+
{{#> components/banner/header/special_info _invert="true"}}
|
|
12
|
+
Montag bis Freitag von 5 bis 11.00 Uhr
|
|
13
|
+
{{/components/banner/header/special_info }}
|
|
14
|
+
{{#> components/banner/header/title_background _hasBackground=true}}
|
|
15
|
+
{{#> components/banner/header/topline }}
|
|
16
|
+
Diese Sendung bringt euch gut in den Tag
|
|
17
|
+
{{/components/banner/header/topline }}
|
|
18
|
+
{{#> components/banner/header/headline ~}}
|
|
19
|
+
Die hr3 Morningshow
|
|
20
|
+
{{~#> components/banner/header/additional_info ~}}
|
|
21
|
+
AdditionalInfo
|
|
22
|
+
{{~/components/banner/header/additional_info ~}}
|
|
23
|
+
{{/components/banner/header/headline }}
|
|
24
|
+
{{#> components/banner/header/byline }}
|
|
25
|
+
Aktualisiert am 03.11.23 um 12:33 Uhr
|
|
26
|
+
{{/components/banner/header/byline }}
|
|
27
|
+
{{/components/banner/header/title_background }}
|
|
28
|
+
{{/components/banner/header/banner_overlay }}
|
|
29
|
+
{{~> components/banner/header/banner_image _hideOnMobile=true }}
|
|
30
|
+
{{/components/banner/header/banner_wrapper }}
|
|
31
|
+
{{~#with this.structureNav}}
|
|
32
|
+
{{> components/banner/structure_nav/structure_nav}}
|
|
33
|
+
{{/with}}
|
|
34
|
+
</div>
|
|
35
|
+
<div class="flex flex-col py-6 bg-orange-500">
|
|
36
|
+
<div class="grid grid-page">
|
|
37
|
+
<h1 class="text-3xl font-title col-full sm:col-main">Maximalausprägung ohne Struktur Navigation</h1>
|
|
38
|
+
</div>
|
|
39
|
+
{{#> components/banner/header/breadcrumb_wrapper _hasContentNav=false }}
|
|
40
|
+
{{> components/navigation/breadcrumb/breadcrumb }}
|
|
41
|
+
{{/components/banner/header/breadcrumb_wrapper }}
|
|
42
|
+
|
|
43
|
+
{{#> components/banner/header/banner_wrapper _hasImage=true _hideOnMobile=false}}
|
|
44
|
+
{{#> components/banner/header/banner_overlay _hasBackground=true}}
|
|
45
|
+
{{#> components/banner/header/special_info _invert="true"}}
|
|
46
|
+
Montag bis Freitag von 5 bis 11.00 Uhr
|
|
47
|
+
{{/components/banner/header/special_info }}
|
|
48
|
+
{{#> components/banner/header/title_background _hasBackground=true}}
|
|
49
|
+
{{#> components/banner/header/topline }}
|
|
50
|
+
Diese Sendung bringt euch gut in den Tag
|
|
51
|
+
{{/components/banner/header/topline }}
|
|
52
|
+
{{#> components/banner/header/headline ~}}
|
|
53
|
+
Die hr3 Morningshow
|
|
54
|
+
{{~#> components/banner/header/additional_info ~}}
|
|
55
|
+
AdditionalInfo
|
|
56
|
+
{{~/components/banner/header/additional_info ~}}
|
|
57
|
+
{{/components/banner/header/headline }}
|
|
58
|
+
{{#> components/banner/header/byline }}
|
|
59
|
+
Aktualisiert am 03.11.23 um 12:33 Uhr
|
|
60
|
+
{{/components/banner/header/byline }}
|
|
61
|
+
{{/components/banner/header/title_background }}
|
|
62
|
+
{{/components/banner/header/banner_overlay }}
|
|
63
|
+
|
|
64
|
+
{{~> components/banner/header/banner_image }}
|
|
65
|
+
{{/components/banner/header/banner_wrapper }}
|
|
66
|
+
</div>
|
|
67
|
+
<div class="flex flex-col py-6 bg-green-800">
|
|
68
|
+
<div class="grid grid-page">
|
|
69
|
+
<h1 class="text-3xl font-title col-full sm:col-main">Maximalausprägung Mobil kein Bild</h1>
|
|
70
|
+
</div>
|
|
71
|
+
{{#> components/banner/header/breadcrumb_wrapper _hasContentNav=false}}
|
|
72
|
+
{{> components/navigation/breadcrumb/breadcrumb }}
|
|
73
|
+
{{/components/banner/header/breadcrumb_wrapper }}
|
|
74
|
+
|
|
75
|
+
{{#> components/banner/header/banner_wrapper _hasImage=true _hideOnMobile=true}}
|
|
76
|
+
{{#> components/banner/header/banner_overlay _hasBackground=true _hideOnMobile=true}}
|
|
77
|
+
{{#> components/banner/header/title_background _hasBackground=true}}
|
|
78
|
+
{{#> components/banner/header/topline }}
|
|
79
|
+
Diese Sendung bringt euch gut in den Tag
|
|
80
|
+
{{/components/banner/header/topline }}
|
|
81
|
+
{{#> components/banner/header/headline ~}}
|
|
82
|
+
Die hr3 Morningshow
|
|
83
|
+
{{~#> components/banner/header/additional_info ~}}
|
|
84
|
+
AdditionalInfo
|
|
85
|
+
{{~/components/banner/header/additional_info ~}}
|
|
86
|
+
{{/components/banner/header/headline }}
|
|
87
|
+
{{#> components/banner/header/byline }}
|
|
88
|
+
Aktualisiert am 03.11.23 um 12:33 Uhr
|
|
89
|
+
{{/components/banner/header/byline }}
|
|
90
|
+
{{/components/banner/header/title_background }}
|
|
91
|
+
{{/components/banner/header/banner_overlay }}
|
|
92
|
+
{{~> components/banner/header/banner_image _hideOnMobile=true }}
|
|
93
|
+
|
|
94
|
+
{{/components/banner/header/banner_wrapper }}
|
|
95
|
+
</div>
|
|
96
|
+
<div class="flex flex-col py-6 bg-white dark:bg-black ">
|
|
97
|
+
<div class="grid grid-page">
|
|
98
|
+
<h1 class="text-3xl font-title col-full sm:col-main">Maximalausprägung kein Bild</h1>
|
|
99
|
+
</div>
|
|
100
|
+
{{#> components/banner/header/breadcrumb_wrapper _hasContentNav=false }}
|
|
101
|
+
{{> components/navigation/breadcrumb/breadcrumb }}
|
|
102
|
+
{{/components/banner/header/breadcrumb_wrapper }}
|
|
103
|
+
{{#> components/banner/header/banner_wrapper _hasImage=false _hideOnMobile=false}}
|
|
104
|
+
{{#> components/banner/header/banner_overlay _hasBackground=false}}
|
|
105
|
+
{{#> components/banner/header/special_info _invert="true"}}
|
|
106
|
+
Montag bis Freitag von 5 bis 11.00 Uhr
|
|
107
|
+
{{/components/banner/header/special_info }}
|
|
108
|
+
{{#> components/banner/header/title_background _hasBackground=false}}
|
|
109
|
+
{{#> components/banner/header/topline }}
|
|
110
|
+
Diese Sendung bringt euch gut in den Tag
|
|
111
|
+
{{/components/banner/header/topline }}
|
|
112
|
+
{{#> components/banner/header/headline ~}}
|
|
113
|
+
Die hr3 Morningshow
|
|
114
|
+
{{~#> components/banner/header/additional_info ~}}
|
|
115
|
+
AdditionalInfo
|
|
116
|
+
{{~/components/banner/header/additional_info ~}}
|
|
117
|
+
{{/components/banner/header/headline }}
|
|
118
|
+
{{#> components/banner/header/byline }}
|
|
119
|
+
Aktualisiert am 03.11.23 um 12:33 Uhr
|
|
120
|
+
{{/components/banner/header/byline }}
|
|
121
|
+
{{/components/banner/header/title_background }}
|
|
122
|
+
{{/components/banner/header/banner_overlay }}
|
|
123
|
+
{{/components/banner/header/banner_wrapper }}
|
|
124
|
+
</div>
|
|
125
|
+
{{> components/top_button/top_button }}
|
|
126
|
+
{{> components/footer/page_footer }}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<div class="absolute top-0 right-0 z-50 p-1 {{#if _hideOnMobile}}hidden lg:flex{{/if}}">
|
|
2
|
+
<figcaption class="relative flex flex-row group">
|
|
3
|
+
<div class="absolute items-center h-6 px-2 py-1 m-1 text-xs font-medium rounded opacity-0 pointer-events-none w-max font-headingSerif bg-white/60 dark:bg-black/60 dark:text-text-dark text-text group-hover:opacity-100 group-hover:static">
|
|
4
|
+
{{#if _captionText}}
|
|
5
|
+
<span class="block mr-1">{{_captionText}}</span>
|
|
6
|
+
{{/if}}
|
|
7
|
+
{{#if _copyrightText}}
|
|
8
|
+
<footer class="block">
|
|
9
|
+
<small class="text-xs">{{~loca "banner_image_copyright"}} {{_copyrightText}}</small>
|
|
10
|
+
</footer>
|
|
11
|
+
{{/if}}
|
|
12
|
+
</div>
|
|
13
|
+
<button aria-hidden="true" class="inline-flex items-center justify-center w-6 h-6 m-1 leading-7 rounded text-text font-heading bg-white/80 dark:bg-black/60 dark:text-text-dark">
|
|
14
|
+
{{> components/base/image/icon _icon="copyright" _addClass="w-4 h-4 fill-text dark:fill-text-dark"}}
|
|
15
|
+
</button>
|
|
16
|
+
</figcaption>
|
|
17
|
+
</div>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"bannerImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/rueckkehr-nach-abschiebung-102_v-16to7.jpg","sources":[{"media":"all and (min-width: 800px)","sizes":"(min-width: 1022px) 1022px, 100vw","srcset":"images/rueckkehr-nach-abschiebung-102_v-100to27__small.jpg 250w, images/rueckkehr-nach-abschiebung-102_v-100to27__medium.jpg 660w, images/rueckkehr-nach-abschiebung-102_v-100to27.jpg 1000w, images/rueckkehr-nach-abschiebung-102_v-100to27__retina.jpg 1920w"},{"media":"all and (max-width: 479px)","sizes":"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__medium__extended.jpg 640w, images/rueckkehr-nach-abschiebung-102_v-16to9.jpg 960w"},{"media":"all and (max-width: 799px)","sizes":"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"}]}},"structureNav":{"contentNav":{"title":"Die hr3 Morningshow","contentNavEntries":[{"content":{"title":"Arbeitsmarkt","link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern"}}},{"content":{"title":"Banken","link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern"}}},{"content":{"title":"Energie"},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern"}}]}},"breadcrumbSsi":{"breadcrumb":[{"url":"item-1","title":"Start"},{"url":"shows","title":"Shows"}]}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"contentNav":{"title":"Die hr3 Morningshow","contentNavEntries":[{"content":{"title":"Arbeitsmarkt","link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern"}}},{"content":{"title":"Banken","link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern"}}},{"content":{"title":"Energie"},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern"}}]}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<span class="block mt-2 text-lg font-normal sm480:text-xl md:ml-3 font-heading md:inline">{{> @partial-block }}</span>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{{#with this.bannerImage}}
|
|
2
|
+
{{#if ../bannerLink}}
|
|
3
|
+
<a href="{{../bannerLink}}">
|
|
4
|
+
{{/if}}
|
|
5
|
+
{{#unless ../_hideOnMobile }}
|
|
6
|
+
{{~> components/base/image/responsive_image _type="banner" _variant="default" _addClass="" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
7
|
+
{{else}}
|
|
8
|
+
{{~> components/base/image/responsive_image _type="banner" _variant="mobileHidden" _addClass="hidden lg:block" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
9
|
+
{{/unless}}
|
|
10
|
+
{{#if ../bannerLink}}
|
|
11
|
+
</a>
|
|
12
|
+
{{/if}}
|
|
13
|
+
{{/with}}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<div class="grid grid-page w-full order-2{{#if _hasImage}} overflow-hidden -image{{else}} -text{{/if}}{{~#if _hideOnMobile}} -hideOnMobile{{/if}}">
|
|
2
|
+
<div role="banner" class="grid col-full sm:col-main relative{{#unless _hasImage}} mx-4 md:mx-5 lg:mx-10 border-b border-gray-boulder pb-4{{/unless}}">
|
|
3
|
+
<div class="relative {{#if _hasImage}}-hasImage{{~#if _hideOnMobile}} aspect-auto bg-white dark:bg-black{{else}} ar-16-9 sm480:ar-16-7 md:ar-100-27{{/if}}{{/if}}">
|
|
4
|
+
{{> @partial-block }}
|
|
5
|
+
</div>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<div class="grid grid-page {{#if _hasContentNav }}order-4{{else}}order-1 py-2 [&:has(+.-image)]:order-4 lg:[&:has(+.-image.-hideOnMobile)]:order-1 [&:has(+.-image.-hideOnMobile)]:order-1 lg:[&:has(+.-image)]:py-0 lg:[&:has(+.-image)]:-mb-9 lg:[&:has(+.-image)]:order-1 lg:[&:has(+.-image)]:pt-3 z-10 bg-white lg:bg-transparent{{/if}}">
|
|
2
|
+
<div class="col-full sm:col-main{{#if _hasContentNav }} bg-white py-2{{else}}{{/if}}">
|
|
3
|
+
{{> @partial-block }}
|
|
4
|
+
</div>
|
|
5
|
+
</div>
|
|
6
|
+
{{!-- --}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<p class="block mt-3 text-xs sm480:text-sm font-headingSerif text-byline dark:text-text-dark ">{{> @partial-block }}</p>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<span class="px-5 md:px-5 lg:px-10 py-1.5 text-sm rounded-tr-lg inline-block leading-5 font-headingSerif {{inline-switch _invert '["true","false"]' '["text-structure-nav-text bg-structure-nav","text-primary bg-white","text-primary bg-white"]'}}">
|
|
2
|
+
{{> @partial-block }}
|
|
3
|
+
</span>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<span class="font-title text-lg sm480:text-xl block mt-3.5 text-text dark:text-text-dark">{{> @partial-block }}</span>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import header from './banner.storybook.hbs'
|
|
2
|
+
import bannerData from './fixtures/banner.json'
|
|
3
|
+
|
|
4
|
+
const TemplateHeader = (args, { globals: { theme } }) => {
|
|
5
|
+
// You can either use a function to create DOM elements or use a plain html string!
|
|
6
|
+
// return `<div>${label}</div>`;
|
|
7
|
+
let brand = undefined !== theme ? theme : 'hessenschau'
|
|
8
|
+
return header({ brand, ...args })
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
title: 'Komponenten/Banner',
|
|
13
|
+
argTypes: {},
|
|
14
|
+
|
|
15
|
+
parameters: {
|
|
16
|
+
chromatic: {
|
|
17
|
+
viewports: [360, 768, 1024],
|
|
18
|
+
},
|
|
19
|
+
layout: 'fullscreen',
|
|
20
|
+
docs: {
|
|
21
|
+
inlineStories: false,
|
|
22
|
+
iframeHeight: 400,
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export const Seitenfooter = {
|
|
28
|
+
render: TemplateHeader.bind({}),
|
|
29
|
+
name: 'BannerHeader',
|
|
30
|
+
args: {
|
|
31
|
+
...bannerData,
|
|
32
|
+
_currentPageUrl: '#currentPage',
|
|
33
|
+
_currentPageTitle: 'Der hr3 Nachmittag'
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import structureNav from './structure_nav.hbs'
|
|
2
|
+
import structureNavData from '../fixtures/structureNav.json'
|
|
3
|
+
|
|
4
|
+
const TemplateStructureNav = (args, { globals: { theme } }) => {
|
|
5
|
+
// You can either use a function to create DOM elements or use a plain html string!
|
|
6
|
+
// return `<div>${label}</div>`;
|
|
7
|
+
let brand = undefined !== theme ? theme : 'hessenschau'
|
|
8
|
+
return structureNav({ brand, ...args })
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
title: 'Komponenten/Banner/StructureNav',
|
|
13
|
+
argTypes: {},
|
|
14
|
+
|
|
15
|
+
parameters: {
|
|
16
|
+
chromatic: {
|
|
17
|
+
viewports: [360, 768, 1024],
|
|
18
|
+
},
|
|
19
|
+
layout: 'fullscreen',
|
|
20
|
+
docs: {
|
|
21
|
+
inlineStories: false,
|
|
22
|
+
iframeHeight: 400,
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export const Seitenfooter = {
|
|
28
|
+
render: TemplateStructureNav.bind({}),
|
|
29
|
+
name: 'StructureNav',
|
|
30
|
+
args: structureNavData
|
|
31
|
+
|
|
32
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{{#with this.contentNav}}
|
|
2
|
+
<div class="grid order-3 grid-page">
|
|
3
|
+
<nav class="md:px-5 lg:px-10 col-full sm:col-main bg-structure-nav"
|
|
4
|
+
x-data="{ isOpen: false}">
|
|
5
|
+
<div class="relative flex flex-wrap items-center mx-auto" @click.outside="isOpen = false">
|
|
6
|
+
{{#> components/button/button _size="lg" _variant="tertiary" _disableButtonPress=true _alpineClick="isOpen = !isOpen" _css="md:hidden mr-2" _onBackground=true}}
|
|
7
|
+
<span class="hidden" :class="{ 'hidden': isOpen }">
|
|
8
|
+
{{> components/button/components/button_icon _icon="burger--weiss" _iconmap="icons" _css="fill-structure-nav-text" }}
|
|
9
|
+
</span>
|
|
10
|
+
<span class="hidden" :class="{ 'hidden': !isOpen }">
|
|
11
|
+
{{> components/button/components/button_icon _icon="close" _iconmap="icons" _css="fill-structure-nav-text" }}
|
|
12
|
+
</span>
|
|
13
|
+
{{/components/button/button}}
|
|
14
|
+
<span class="md:hidden text-structure-nav-text">{{this.title}}</span>
|
|
15
|
+
<div class="absolute z-10 w-full top-9 md:static md:block md:w-auto" id="navbar-default"
|
|
16
|
+
:class="isOpen ? '' : 'hidden'"
|
|
17
|
+
>
|
|
18
|
+
<ul class="flex flex-col font-medium bg-white md:bg-transparent md:flex-row md:space-x-3 rtl:space-x-reverse">
|
|
19
|
+
{{~#each this.contentNavEntries~}}
|
|
20
|
+
<li class="border-b border-structure-nav md:border-b-0">
|
|
21
|
+
{{#> "components/base/link" _link=this.link _css="block w-full px-3 py-2 text-base font-bold break-words text-structure-nav-text-mobile md:text-structure-nav-text hover:underline"}}
|
|
22
|
+
{{this.content.title}}
|
|
23
|
+
{{/components/base/link}}
|
|
24
|
+
{{#*inline "css"~}}
|
|
25
|
+
{{#if @first }}md:pl-0{{/if}}
|
|
26
|
+
{{~/inline}}
|
|
27
|
+
</li>
|
|
28
|
+
{{~/each~}}
|
|
29
|
+
</ul>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</nav>
|
|
33
|
+
</div>
|
|
34
|
+
{{/with}}
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
'_disableNoScript' don't add no script fallback
|
|
11
11
|
|
|
12
12
|
--}}
|
|
13
|
-
|
|
14
13
|
{{#withParam this.responsiveImage _type _variant }}
|
|
15
14
|
{{#if this.asPicture}}
|
|
16
15
|
<picture class="{{~#if ../_addClass}} {{../_addClass}}{{/if}}">
|
|
@@ -26,7 +25,7 @@
|
|
|
26
25
|
{{#with this.srcset}} srcset="{{this}}"{{/with}}>
|
|
27
26
|
{{/each}}
|
|
28
27
|
{{/with}}
|
|
29
|
-
<img class="w-full{{~#if ../_addClassImg}} {{../_addClassImg}}{{/if}}" loading="{{#if ../_noDelay}}auto{{else}}lazy{{/if}}" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt="{{#if ../_alttext}}{{../_alttext}}{{else}}{{../this.alttext}}{{/if}}" {{~#if ../_errorHandler }} onerror="this.onerror=null; {{../_errorHandler}}"{{/if}}>
|
|
28
|
+
<img class="w-full{{~#if ../_addClassImg}} {{../_addClassImg}}{{/if}}" loading="{{#if ../_noDelay}}auto{{else}}lazy{{/if}}" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt="{{#if ../_alttext}}{{../_alttext}}{{else}}{{../this.alttext}}{{/if}}" {{~#if ../_title}} title="{{../_title}}"{{~/if}} {{~#if ../_errorHandler }} onerror="this.onerror=null; {{../_errorHandler}}"{{/if}}>
|
|
30
29
|
</picture>
|
|
31
30
|
{{/if}}
|
|
32
31
|
|
|
@@ -42,9 +41,11 @@
|
|
|
42
41
|
loading="{{#if ../../_noDelay}}auto{{else}}lazy{{/if}}"
|
|
43
42
|
{{#with this.srcset}} {{#if ../../../_noDelay}}srcset{{else}}data-srcset{{/if}}="{{this}}"{{/with}}
|
|
44
43
|
src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="
|
|
45
|
-
alt="{{#if ../../_alttext}}{{../../_alttext}}{{else}}{{../../this.alttext}}{{/if}}"
|
|
44
|
+
alt="{{#if ../../_alttext}}{{../../_alttext}}{{else}}{{../../this.alttext}}{{/if}}"
|
|
45
|
+
class="w-full{{~#with ../../_addClassImg }} {{this}}{{/with}}"
|
|
46
|
+
{{~#if ../../_title}} title="{{../../_title}}"{{~/if}}
|
|
47
|
+
{{~#if ../../_errorHandler}} onerror="this.onerror=null; {{../../_errorHandler}}" {{~/if}}>
|
|
46
48
|
{{~#with ../../_addClass }}</div>{{/with}}
|
|
47
49
|
{{/with}}
|
|
48
|
-
|
|
49
50
|
{{/if}}
|
|
50
51
|
{{/withParam}}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{{~#if (isStorybook)~}}
|
|
2
|
+
<div class="mt-6 italic text-gray-dark">coming soon: Audio-component</div>
|
|
3
|
+
{{~else~}}
|
|
4
|
+
{{#if this.showFullSize.isTrue }}
|
|
5
|
+
{{> modules/media/media_figure _addClass="copytext__clearBox dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
|
|
6
|
+
{{else}}
|
|
7
|
+
{{> modules/media/media_figure _addClass="copytext__box dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
|
|
8
|
+
{{/if}}
|
|
9
|
+
{{~/if~}}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{{~#if (isStorybook)~}}
|
|
2
|
+
<div class="mt-6 italic text-gray-dark">coming soon: Audioevent-Livestream-component</div>
|
|
3
|
+
{{~else~}}
|
|
4
|
+
{{#if this.showFullSize.isTrue }}
|
|
5
|
+
{{> modules/media/media_figure _addClass="copytext__clearBox dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
|
|
6
|
+
{{else}}
|
|
7
|
+
{{> modules/media/media_figure _addClass="copytext__box dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
|
|
8
|
+
{{/if}}
|
|
9
|
+
{{~/if~}}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{{~#if (isStorybook)~}}
|
|
2
|
+
<div class="mt-6 italic text-gray-dark">coming soon: Cite-component</div>
|
|
3
|
+
{{~else~}}
|
|
4
|
+
<div class="{{#if this.paragraphProperties.[0].showFullSize }}copytext__clearBox {{else}}copytext__box{{/if}}">
|
|
5
|
+
{{~> base/a11y/hiddenText _locaTag="story_cite_intro_sr" ~}}
|
|
6
|
+
<blockquote class="cite copytext__cite">
|
|
7
|
+
<cite class="cite__text">„{{{this.text}}}“</cite>
|
|
8
|
+
{{#with this.paragraphProperties}}
|
|
9
|
+
{{#with this.[0]}}
|
|
10
|
+
{{#with this.citeAuthor}}
|
|
11
|
+
<span class="cite__author">
|
|
12
|
+
{{~> base/a11y/hiddenText _locaTag="story_cite_author_sr" ~}}
|
|
13
|
+
{{this}}</span>
|
|
14
|
+
{{/with}}
|
|
15
|
+
{{/with}}
|
|
16
|
+
{{/with}}
|
|
17
|
+
</blockquote>
|
|
18
|
+
{{~> base/a11y/hiddenText _locaTag="story_cite_outro_sr" ~}}
|
|
19
|
+
</div>
|
|
20
|
+
{{~/if~}}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{{~#if (isStorybook)~}}
|
|
2
|
+
<div class="mt-6 italic text-gray-dark">coming soon: External-service-component</div>
|
|
3
|
+
{{~else~}}
|
|
4
|
+
{{#with this.toModel.externalService}}
|
|
5
|
+
{{#if this.externalServiceConfig.makeConfigurable}}
|
|
6
|
+
{{~> modules/externalService/externalService~}}
|
|
7
|
+
{{else}}
|
|
8
|
+
{{#if this.externalServiceConfig.embedAsIFrame}}
|
|
9
|
+
{{#if this.fixedHeight}}
|
|
10
|
+
{{#if this.serviceUrl}}
|
|
11
|
+
<div class="copytext__externalService">
|
|
12
|
+
{{~> base/a11y/hiddenText _locaTag="story_externalservice_intro_sr" ~}}
|
|
13
|
+
<div class="copytext__scrollWrapper -fixedHeight"
|
|
14
|
+
style="height:{{this.fixedHeight}}px;">
|
|
15
|
+
<iframe frameborder="0" width="100%" height="100%"
|
|
16
|
+
src="{{{this.serviceUrl}}}" webkitallowfullscreen mozallowfullscreen
|
|
17
|
+
allowfullscreen scrolling='no'></iframe>
|
|
18
|
+
</div>
|
|
19
|
+
{{~> base/a11y/hiddenText _locaTag="story_externalservice_outro_sr" ~}}
|
|
20
|
+
{{#with this.externalServiceCaption}}
|
|
21
|
+
<div class="copytext__captionLine">
|
|
22
|
+
<span class="figcaption">{{this}}</span>
|
|
23
|
+
</div>
|
|
24
|
+
{{/with}}
|
|
25
|
+
</div>
|
|
26
|
+
{{/if}}
|
|
27
|
+
{{else}}
|
|
28
|
+
{{#if this.serviceUrl}}
|
|
29
|
+
<div class="copytext__externalService">
|
|
30
|
+
{{~> base/a11y/hiddenText _locaTag="story_externalservice_intro_sr" ~}}
|
|
31
|
+
<div class="copytext__scrollWrapper">
|
|
32
|
+
<div class="ar--{{defaultIfEmpty this.aspectRatio "auto"}}">
|
|
33
|
+
<iframe frameborder="0" class="ar__content" width="100%" height="100%"
|
|
34
|
+
src="{{{this.serviceUrl}}}" webkitallowfullscreen
|
|
35
|
+
mozallowfullscreen allowfullscreen></iframe>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
{{#with this.externalServiceCaption}}
|
|
39
|
+
<div class="copytext__captionLine">
|
|
40
|
+
<span class="figcaption">{{this}}</span>
|
|
41
|
+
</div>
|
|
42
|
+
{{/with}}
|
|
43
|
+
{{~> base/a11y/hiddenText _locaTag="story_externalservice_outro_sr" ~}}
|
|
44
|
+
</div>
|
|
45
|
+
{{/if}}
|
|
46
|
+
{{/if}}
|
|
47
|
+
{{else}}
|
|
48
|
+
<div class="copytext__externalService">
|
|
49
|
+
<div class="c-externalService__{{this.externalServiceConfig.externalServiceId}} js-load"
|
|
50
|
+
data-hr-external-service='{"id":"{{this.externalServiceConfig.externalServiceId}}","embedCode":"{{this.serviceUrl}}", "embedType": "{{this.externalServiceConfig.externalServiceEmbedType}}", "dataPolicyCheck": false, "iFrameConfig":{}}'>
|
|
51
|
+
</div>
|
|
52
|
+
{{#with this.externalServiceCaption}}
|
|
53
|
+
<div class="copytext__captionLine js-externalservice__caption">
|
|
54
|
+
<span class="figcaption">{{this}}</span>
|
|
55
|
+
</div>
|
|
56
|
+
{{/with}}
|
|
57
|
+
</div>
|
|
58
|
+
{{/if}}
|
|
59
|
+
{{/if}}
|
|
60
|
+
{{/with}}
|
|
61
|
+
{{~/if~}}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{{~#if (isStorybook)~}}
|
|
2
|
+
<div class="mt-6 italic text-gray-dark">coming soon: File-download-component</div>
|
|
3
|
+
{{~else~}}
|
|
4
|
+
{{> modules/media/media_figure _addClass="copytext__box" _a11yIntro-loca="story_download_intro_sr" _a11yOutro-loca="story_download_outro_sr" }}
|
|
5
|
+
{{~/if~}}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{{~#if (isStorybook)~}}
|
|
2
|
+
<div class="mt-6 italic text-gray-dark">coming soon: Gallery-component</div>
|
|
3
|
+
{{~else~}}
|
|
4
|
+
{{#with this.toModel.galleryPage}}
|
|
5
|
+
{{> modules/media/media_figure _addClass="copytext__clearBox dontPrint" _a11yIntro-loca="story_gallery_intro_sr" _a11yOutro-loca="story_gallery_outro_sr" }}
|
|
6
|
+
{{/with}}
|
|
7
|
+
{{~/if~}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<h2 class="clear-both text-lg sm480:text-2xl font-headingSerif mt-11 dark:text-text-dark">{{{this.text}}}</h2>
|