Skip to content

Commit

Permalink
template
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauryD committed May 28, 2024
1 parent f4538fb commit 5501c76
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/templates/404.gts
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ class NotFoundRouteComponent extends Component<NotFoundRouteComponentSignature>
<div data-test-page="404" class="mt-36 flex flex-col items-center mb-20">
<img class="w-1/2" src="/assets/images/page-404.svg" alt="" />
<h1 class="text-5xl font-semibold">
{{t "components.pages.404.title"}}
{{t "components.templates.404.title"}}
</h1>
<p class="text-xl mt-5">
{{t "components.pages.404.content"}}
{{t "components.templates.404.content"}}
</p>
<button
data-test-btn-back
type="button"
class="mt-12 bg-primary py-2 px-4 rounded-lg font-xl font-extralight text-black"
{{on "click" this.comeback}}
>
{{t "components.pages.404.back"}}
{{t "components.templates.404.back"}}
</button>
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/login.gts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class PagesLogin extends Component<PagesLoginArgs> {
}

<template>
<LoginLayout @title={{t "components.pages.login.title"}}>
<LoginLayout @title={{t "components.templates.login.title"}}>
<FormsLogin
@validationSchema={{this.validationSchema}}
@changeset={{this.changeset}}
Expand Down
4 changes: 2 additions & 2 deletions app/templates/register.gts
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ class RegisterRouteComponent extends Component<RegisterRouteComponentSignature>
return this.errorHandler.handle(user.error.message);
}

return this.flashMessages.success('components.pages.register.success_message');
return this.flashMessages.success('components.templates.register.success_message');
}

<template>
<LoginLayout @title={{t "components.pages.register.title"}}>
<LoginLayout @title={{t "components.templates.register.title"}}>
<RegisterForm
@changeset={{this.changeset}}
@validationSchema={{this.validationSchema}}
Expand Down
2 changes: 1 addition & 1 deletion app/templates/reset-password.gts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class ResetPasswordRouteComponent extends Component<ResetPasswordRouteComponentS
}

<template>
<LoginLayout @title={{t "components.pages.reset-password.title"}}>
<LoginLayout @title={{t "components.templates.reset-password.title"}}>
<FormsPasswordRecovery
@validationSchema={{this.validationSchema}}
@changeset={{this.changeset}}
Expand Down

0 comments on commit 5501c76

Please sign in to comment.