Skip to content

Commit

Permalink
[FEATURE] Changement du logo sur la page d'erreur (Pix-15030)
Browse files Browse the repository at this point in the history
  • Loading branch information
pix-service-auto-merge authored Nov 29, 2024
2 parents 696ca67 + 80885b8 commit 46040bd
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{{#if @answerHasBeenValidated}}
<PixButton
class="pix1d-button pix1d-button--success"
@iconAfter="arrow-right"
@iconAfter="arrowRight"
@triggerAction={{@nextAction}}
@size="large"
>
Expand All @@ -20,7 +20,7 @@
{{else if @isLesson}}
<PixButton
class="pix1d-button"
@iconAfter="arrow-right"
@iconAfter="arrowRight"
@isDisabled={{@disableLessonButton}}
@triggerAction={{@skipChallenge}}
@size="large"
Expand Down
6 changes: 3 additions & 3 deletions junior/app/components/issue.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default class Issue extends Component {
</RobotDialog>
<div class="issue-buttons">
{{#if @refreshAction}}
<PixButton class="issue-button" @triggerAction={{@refreshAction}} @iconBefore="arrows-rotate" @size="large">
<PixButton class="issue-button" @triggerAction={{@refreshAction}} @iconBefore="refresh" @size="large">
{{t "pages.error.refresh"}}
</PixButton>
{{/if}}
Expand All @@ -54,10 +54,10 @@ export default class Issue extends Component {
class="issue-button"
@size="large"
@triggerAction={{this.goToHome}}
@iconBefore="arrow-left"
@iconBefore="arrowLeft"
>{{t "pages.error.backHome"}}</PixButton>
</div>
</div>
<img src="/images/logo.svg" alt="Pix Junior" class="issue-logo" />
<img src="/images/logo-in-one-line.svg" alt="Pix Junior" class="issue-logo" />
</template>
}
6 changes: 3 additions & 3 deletions junior/app/styles/components/issue.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@

.issue-logo {
position: absolute;
bottom: 15px;
bottom: 40px;
align-self: center;
width: 129px;
height: 80px;
width: 182px;
height: 50px;
}
81 changes: 81 additions & 0 deletions junior/public/images/logo-in-one-line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 46040bd

Please sign in to comment.