open-vault/ui/app/templates/components/wizard-section.hbs
Angel Garbarino 178292f807
Glimmerize components using outer-html (#15744)
* alert-popup glimmerize:

* glimmerize block-error

* logo splash and wizard section

* remove template only

* pr comments
2022-06-02 14:40:17 -06:00

21 lines
493 B
Handlebars

<div class="wizard-section {{@class}}">
<h2 class="title is-6">
{{#if @headerIcon}}
<Icon @name={{@headerIcon}} aria-hidden="true" />
{{/if}}
{{@headerText}}
</h2>
{{yield}}
{{#if @instructions}}
<div class="wizard-instructions">
<h2 class="title is-6">What to do</h2>
<p>{{@instructions}}</p>
</div>
{{/if}}
{{#if @docText}}
<DocLink @path={{@docPath}}>
<Icon @name="learn-link" />
{{@docText}}
</DocLink>
{{/if}}
</div>