Skip to content

Commit 030b9e7

Browse files
[FEATURE] Mise à jour du wording des écrans d'instruction (PIX-14884)
#10383
2 parents ce8bf37 + aca59d1 commit 030b9e7

21 files changed

+674
-643
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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+
import { t } from 'ember-intl';
7+
8+
export default class StepFive extends Component {
9+
@tracked checked = false;
10+
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+
}

mon-pix/app/components/certification-instructions/step-five.hbs

-30
This file was deleted.

mon-pix/app/components/certification-instructions/step-five.js

-13
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { t } from 'ember-intl';
2+
3+
<template>
4+
<div class="instructions-content" tabindex="0">
5+
<p class="instructions-content__paragraph">
6+
{{t "pages.certification-instructions.steps.4.text" htmlSafe=true}}
7+
</p>
8+
<ol class="instructions-content__list instructions-content__list--decimal">
9+
<li>{{t "pages.certification-instructions.steps.4.list.1"}}</li>
10+
<li>{{t "pages.certification-instructions.steps.4.list.2"}}</li>
11+
<li>{{t "pages.certification-instructions.steps.4.list.3"}}</li>
12+
<li>{{t "pages.certification-instructions.steps.4.list.4"}}</li>
13+
</ol>
14+
</div>
15+
</template>

mon-pix/app/components/certification-instructions/step-four.hbs

-7
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { t } from 'ember-intl';
2+
3+
<template>
4+
<div class="instructions-content" tabindex="0">
5+
<h3 class="instructions-content__title">
6+
{{t "pages.certification-instructions.steps.1.question"}}
7+
</h3>
8+
9+
<p class="instructions-content__paragraph">
10+
{{t "pages.certification-instructions.steps.1.paragraphs.1" htmlSafe=true}}
11+
</p>
12+
13+
<p class="instructions-content__paragraph">
14+
{{t "pages.certification-instructions.steps.1.paragraphs.2" htmlSafe=true}}
15+
</p>
16+
17+
<p class="instructions-content__paragraph">
18+
{{t "pages.certification-instructions.steps.1.paragraphs.3" htmlSafe=true}}
19+
</p>
20+
21+
<p class="instructions-content__paragraph">
22+
{{t "pages.certification-instructions.steps.1.paragraphs.4" htmlSafe=true}}
23+
</p>
24+
</div>
25+
</template>

mon-pix/app/components/certification-instructions/step-one.hbs

-21
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import { t } from 'ember-intl';
2+
3+
<template>
4+
<div class="instructions-content" tabindex="0">
5+
<div class="instructions-content__illustration--type-columns">
6+
<img src="/images/illustrations/certification-instructions-steps/regular-challenge-round.svg" alt="" />
7+
8+
<div>
9+
<p class="instructions-content__title">
10+
{{t "pages.certification-instructions.steps.3.paragraphs.1.title"}}
11+
</p>
12+
13+
<p class="instructions-content__paragraph">
14+
{{t "pages.certification-instructions.steps.3.paragraphs.1.text" htmlSafe=true}}
15+
</p>
16+
</div>
17+
</div>
18+
19+
<div class="instructions-content__illustration--type-columns">
20+
<img src="/images/illustrations/certification-instructions-steps/focus-challenge-round.svg" alt="" />
21+
22+
<div>
23+
<p class="instructions-content__title">
24+
{{t "pages.certification-instructions.steps.3.paragraphs.2.title"}}
25+
</p>
26+
27+
<p class="instructions-content__paragraph">
28+
{{t "pages.certification-instructions.steps.3.paragraphs.2.text" htmlSafe=true}}
29+
</p>
30+
</div>
31+
</div>
32+
</div>
33+
</template>

mon-pix/app/components/certification-instructions/step-three.hbs

-33
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import { t } from 'ember-intl';
2+
3+
<template>
4+
<div class="instructions-content instructions-content--type-columns" tabindex="0">
5+
<div class="instructions-content__illustration">
6+
<img src="/images/illustrations/certification-instructions-steps/clock.svg" alt="" />
7+
8+
<p class="instructions-content__legend--bold">
9+
{{t "pages.certification-instructions.steps.2.legend.strong-text"}}
10+
</p>
11+
12+
<p class="instructions-content__legend">{{t "pages.certification-instructions.steps.2.legend.text"}}</p>
13+
</div>
14+
15+
<div class="instructions-content__text">
16+
<p>
17+
{{t "pages.certification-instructions.steps.2.paragraphs.1" htmlSafe=true}}
18+
</p>
19+
20+
<p>
21+
{{t "pages.certification-instructions.steps.2.paragraphs.2" htmlSafe=true}}
22+
23+
<br />
24+
<span class="instructions-content__paragraph--light">
25+
<em>{{t "pages.certification-instructions.steps.2.paragraphs.3"}}</em>
26+
</span>
27+
</p>
28+
29+
<p>
30+
<em>{{t "pages.certification-instructions.steps.2.paragraphs.4" htmlSafe=true}}</em>
31+
</p>
32+
</div>
33+
</div>
34+
</template>

mon-pix/app/components/certification-instructions/step-two.hbs

-42
This file was deleted.

0 commit comments

Comments
 (0)