* chore: 🤖 remove hashi copyright .github headers and update config * chore: 🤖 remove remaining hashicorp copyright headers * Add missing copyright headers
57 lines
1.5 KiB
Handlebars
57 lines
1.5 KiB
Handlebars
{{!
|
|
Copyright IBM Corp. 2021, 2026
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
<li class='link-list-item'>
|
|
{{#if @route}}
|
|
{{#if (is-array @model)}}
|
|
<LinkTo @route={{@route}} @models={{@model}}>
|
|
<div class='link-list-item__info'>
|
|
{{#if @icon}}
|
|
<Hds::IconTile @color={{@color}} @icon={{@icon}} @size='small' />
|
|
{{/if}}
|
|
|
|
<div>
|
|
<Hds::Text::Body @tag='p' @size='300' class='link-list-item__text'>
|
|
{{@text}}
|
|
</Hds::Text::Body>
|
|
{{yield}}
|
|
</div>
|
|
</div>
|
|
|
|
<Hds::Icon @name='arrow-right' @isInline={{true}} />
|
|
</LinkTo>
|
|
{{else}}
|
|
<LinkTo @route={{@route}} @model={{@model}}>
|
|
<div class='link-list-item__info'>
|
|
{{#if @icon}}
|
|
<Hds::IconTile @color={{@color}} @icon={{@icon}} @size='small' />
|
|
{{/if}}
|
|
|
|
<div>
|
|
<Hds::Text::Body @tag='p' @size='300' class='link-list-item__text'>
|
|
{{@text}}
|
|
</Hds::Text::Body>
|
|
{{yield}}
|
|
</div>
|
|
</div>
|
|
|
|
<Hds::Icon @name='arrow-right' @isInline={{true}} />
|
|
</LinkTo>
|
|
{{/if}}
|
|
{{else}}
|
|
<div class='link-list-item__info'>
|
|
{{#if @icon}}
|
|
<Hds::IconTile @color={{@color}} @icon={{@icon}} @size='small' />
|
|
{{/if}}
|
|
|
|
<div>
|
|
<Hds::Text::Body @tag='p' @size='300' class='link-list-item__text'>
|
|
{{@text}}
|
|
</Hds::Text::Body>
|
|
{{yield}}
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
</li> |