Skip to content

Commit

Permalink
feat(mon-pix): prepare login form
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelleBonnemay committed Sep 20, 2024
1 parent a95ff6d commit ea912e4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.

This file was deleted.

9 changes: 6 additions & 3 deletions mon-pix/app/templates/authentication/login.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@

{{#if this.isNewAuthenticationDesignEnabled}}

<main class="authentication" role="main">
<main class="authentication">
<AuthenticationLayout>
{{outlet}}
<:header><PixButtonLink @variant="secondary" @route="inscription">{{t
"pages.authentication.login.signup-button"
}}</PixButtonLink></:header>
<:content><Authentication::LoginForm /></:content>
</AuthenticationLayout>
</main>
{{else}}

<main class="sign-form-page" role="main">
<main class="sign-form-page">
<section class="sign-form-page__container">
<SigninForm />

Expand Down
5 changes: 5 additions & 0 deletions mon-pix/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,11 @@
"header": "Your answers"
}
},
"authentication": {
"login": {
"signup-button": "Sign up to Pix"
}
},
"autonomous-course": {
"landing-page": {
"actions": {
Expand Down
5 changes: 5 additions & 0 deletions mon-pix/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,11 @@
"header": "Vos réponses"
}
},
"authentication": {
"login": {
"signup-button": "S'inscrire sur Pix"
}
},
"autonomous-course": {
"landing-page": {
"actions": {
Expand Down

0 comments on commit ea912e4

Please sign in to comment.