hr-design-system-handlebars 0.119.2 → 0.120.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,14 @@
1
- {{#>components/grid/grid_group _backgroundColor=this.backgroundColor }}
2
- {{~#if this.hasGroupTitle}}
3
- <{{if this.headlineTag this.headlineTag "h2"}} class="text-2xl{{#unless this.isRelatedContent}} md:text-4xl{{/unless}} col-span-full py-0 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
4
- {{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-link" href="{{this.link.url}}">{{/if~}}
5
- {{this.groupTitle}}
6
- {{~#if this.hasLink}}</a>{{/if~}}
7
- </{{if this.headlineTag this.headlineTag "h2"}}>
8
- {{/if}}
9
- <div class="grid items-start content-start grid-cols-12 col-span-12 gap-x-6 gap-y-10 md:gap-y-14">
10
- {{~> components/teaser/teaser_logic/teaser_logic ~}}
11
- </div>
12
- {{/components/grid/grid_group}}
1
+ {{#if this.hasGroupItems}}
2
+ {{#>components/grid/grid_group _backgroundColor=this.backgroundColor }}
3
+ {{~#if this.hasGroupTitle}}
4
+ <{{if this.headlineTag this.headlineTag "h2"}} class="text-2xl{{#unless this.isRelatedContent}} md:text-4xl{{/unless}} col-span-full py-0 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
5
+ {{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-link" href="{{this.link.url}}">{{/if~}}
6
+ {{this.groupTitle}}
7
+ {{~#if this.hasLink}}</a>{{/if~}}
8
+ </{{if this.headlineTag this.headlineTag "h2"}}>
9
+ {{/if}}
10
+ <div class="grid items-start content-start grid-cols-12 col-span-12 gap-x-6 gap-y-10 md:gap-y-14">
11
+ {{~> components/teaser/teaser_logic/teaser_logic ~}}
12
+ </div>
13
+ {{/components/grid/grid_group}}
14
+ {{/if}}
@@ -1,12 +1,14 @@
1
- {{#>components/grid/grid_group size=this.teaserSize }}
2
- <div class="grid items-start content-start h-auto grid-cols-12 col-span-12 p-8 rounded-tr-none rounded-bl-none bg-highlight-1 rounded-3xl gap-x-6 gap-y-5">
3
- {{~#if this.hasGroupTitle}}
4
- <h2 class="text-2xl md:text-4xl col-span-full pt-0 pb-4 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
5
- {{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-blue-science" href="{{this.link.url}}">{{/if~}}
6
- {{this.groupTitle}}
7
- {{~#if this.hasLink}}</a>{{/if~}}
8
- </h2>
9
- {{/if}}
10
- {{~> components/teaser/teaser_logic/teaser_logic ~}}
11
- </div>
12
- {{/components/grid/grid_group}}
1
+ {{#if this.hasGroupItems}}
2
+ {{#>components/grid/grid_group size=this.teaserSize }}
3
+ <div class="grid items-start content-start h-auto grid-cols-12 col-span-12 p-8 rounded-tr-none rounded-bl-none bg-highlight-1 rounded-3xl gap-x-6 gap-y-5">
4
+ {{~#if this.hasGroupTitle}}
5
+ <h2 class="text-2xl md:text-4xl col-span-full pt-0 pb-4 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
6
+ {{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-blue-science" href="{{this.link.url}}">{{/if~}}
7
+ {{this.groupTitle}}
8
+ {{~#if this.hasLink}}</a>{{/if~}}
9
+ </h2>
10
+ {{/if}}
11
+ {{~> components/teaser/teaser_logic/teaser_logic ~}}
12
+ </div>
13
+ {{/components/grid/grid_group}}
14
+ {{/if}}