2023-04-18 10:58:04 -07:00
|
|
|
<li class='link-list-item'>
|
|
|
|
|
{{#if @route}}
|
2023-04-24 08:17:27 -07:00
|
|
|
{{#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}}
|
2023-04-18 10:58:04 -07:00
|
|
|
|
2023-04-24 08:17:27 -07:00
|
|
|
<div>
|
|
|
|
|
<p class='link-list-item__text'>{{@text}}</p>
|
|
|
|
|
{{yield}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<FlightIcon @name='arrow-right' />
|
|
|
|
|
</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>
|
|
|
|
|
<p class='link-list-item__text'>{{@text}}</p>
|
|
|
|
|
{{yield}}
|
|
|
|
|
</div>
|
2023-04-18 10:58:04 -07:00
|
|
|
</div>
|
|
|
|
|
|
2023-04-24 08:17:27 -07:00
|
|
|
<FlightIcon @name='arrow-right' />
|
|
|
|
|
</LinkTo>
|
|
|
|
|
{{/if}}
|
2023-04-18 10:58:04 -07:00
|
|
|
{{else}}
|
2023-04-03 18:12:44 -07:00
|
|
|
<div class='link-list-item__info'>
|
|
|
|
|
{{#if @icon}}
|
|
|
|
|
<Hds::IconTile @color={{@color}} @icon={{@icon}} @size='small' />
|
|
|
|
|
{{/if}}
|
2023-04-18 10:58:04 -07:00
|
|
|
|
2023-04-03 18:12:44 -07:00
|
|
|
<div>
|
|
|
|
|
<p class='link-list-item__text'>{{@text}}</p>
|
|
|
|
|
{{yield}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-04-18 10:58:04 -07:00
|
|
|
{{/if}}
|
2023-04-03 18:12:44 -07:00
|
|
|
</li>
|