|
1 |
| -import PixCheckbox from '@1024pix/pix-ui/components/pix-checkbox'; |
2 |
| -import { on } from '@ember/modifier'; |
3 |
| -import { action } from '@ember/object'; |
4 |
| -import Component from '@glimmer/component'; |
5 |
| -import { tracked } from '@glimmer/tracking'; |
6 | 1 | import { t } from 'ember-intl';
|
7 | 2 |
|
8 |
| -export default class StepFive extends Component { |
9 |
| - @tracked checked = false; |
| 3 | +<template> |
| 4 | + <div class="instructions-content" tabindex="0"> |
| 5 | + <span class="instructions-content__title">{{t "pages.certification-instructions.steps.5.text"}}</span> |
| 6 | + <ul class="instructions-content__list"> |
| 7 | + <li>{{t "pages.certification-instructions.steps.5.list.1" htmlSafe=true}}</li> |
| 8 | + <li>{{t "pages.certification-instructions.steps.5.list.2" htmlSafe=true}}</li> |
| 9 | + <li>{{t "pages.certification-instructions.steps.5.list.3" htmlSafe=true}}</li> |
| 10 | + <li>{{t "pages.certification-instructions.steps.5.list.4" htmlSafe=true}}</li> |
| 11 | + <li>{{t "pages.certification-instructions.steps.5.list.5" htmlSafe=true}}</li> |
| 12 | + <li>{{t "pages.certification-instructions.steps.5.list.6" htmlSafe=true}}</li> |
| 13 | + <li>{{t "pages.certification-instructions.steps.5.list.7" htmlSafe=true}}</li> |
| 14 | + </ul> |
| 15 | + <p class="instructions-content__paragraph--light"> |
| 16 | + <em>{{t "pages.certification-instructions.steps.5.pix-companion"}}</em> |
| 17 | + </p> |
10 | 18 |
|
11 |
| - @action |
12 |
| - onChange(event) { |
13 |
| - this.checked = !!event.target.checked; |
14 |
| - this.args.enableNextButton(this.checked); |
15 |
| - } |
16 |
| - |
17 |
| - <template> |
18 |
| - <div class="instructions-content" tabindex="0"> |
19 |
| - <span class="instructions-content__title">{{t "pages.certification-instructions.steps.5.text"}}</span> |
20 |
| - <ul class="instructions-content__list"> |
21 |
| - <li>{{t "pages.certification-instructions.steps.5.list.1" htmlSafe=true}}</li> |
22 |
| - <li>{{t "pages.certification-instructions.steps.5.list.2" htmlSafe=true}}</li> |
23 |
| - <li>{{t "pages.certification-instructions.steps.5.list.3" htmlSafe=true}}</li> |
24 |
| - <li>{{t "pages.certification-instructions.steps.5.list.4" htmlSafe=true}}</li> |
25 |
| - <li>{{t "pages.certification-instructions.steps.5.list.5" htmlSafe=true}}</li> |
26 |
| - <li>{{t "pages.certification-instructions.steps.5.list.6" htmlSafe=true}}</li> |
27 |
| - <li>{{t "pages.certification-instructions.steps.5.list.7" htmlSafe=true}}</li> |
28 |
| - </ul> |
29 |
| - <p class="instructions-content__paragraph--light"> |
30 |
| - <em>{{t "pages.certification-instructions.steps.5.pix-companion"}}</em> |
31 |
| - </p> |
32 |
| - <PixCheckbox {{on "change" this.onChange}}> |
33 |
| - <:label>{{t "pages.certification-instructions.steps.5.checkbox-label"}}</:label> |
34 |
| - </PixCheckbox> |
35 |
| - </div> |
36 |
| - </template> |
37 |
| -} |
| 19 | + </div> |
| 20 | +</template> |
0 commit comments