2022-07-05 13:41:31 -04:00
|
|
|
<div class="previews {{if this.draggingActive "dragging"}}">
|
2022-07-26 21:23:01 -04:00
|
|
|
<div class="wizard-container__preview topic-preview">
|
2022-07-05 13:41:31 -04:00
|
|
|
<canvas width={{this.elementWidth}} height={{this.elementHeight}} style={{this.canvasStyle}}>
|
2021-08-25 17:10:12 -04:00
|
|
|
</canvas>
|
|
|
|
</div>
|
2022-07-26 21:23:01 -04:00
|
|
|
<div class="wizard-container__preview homepage-preview">
|
2022-07-05 13:41:31 -04:00
|
|
|
<HomepagePreview @wizard={{this.wizard}} @step={{this.step}} />
|
2021-08-25 17:10:12 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="preview-nav">
|
2022-07-05 13:41:31 -04:00
|
|
|
<a href class="preview-nav-button {{if this.previewTopic "active"}}" {{action "setPreviewTopic"}}>
|
2021-08-25 17:10:12 -04:00
|
|
|
{{i18n "wizard.previews.topic_preview"}}
|
|
|
|
</a>
|
2022-07-05 13:41:31 -04:00
|
|
|
<a href class="preview-nav-button {{unless this.previewTopic "active"}}" {{action "setPreviewHomepage"}}>
|
2021-08-25 17:10:12 -04:00
|
|
|
{{i18n "wizard.previews.homepage_preview"}}
|
|
|
|
</a>
|
|
|
|
</div>
|