Skip to content

Commit

Permalink
feat: sign in link in sign up page
Browse files Browse the repository at this point in the history
  • Loading branch information
paring-chan committed Dec 24, 2023
1 parent 58dbc32 commit 89d4140
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/assets
Submodule assets updated 1 files
+4 −0 locales/en/sign-up.ftl
2 changes: 1 addition & 1 deletion src/components/atoms/auth/AuthTitle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<style lang="scss">
.auth-title {
font-size: 36px;
font-weight: 400;
font-size: 36px;
text-align: center;
}
</style>
24 changes: 24 additions & 0 deletions src/routes/auth/signup/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@
}}
/>

<div class="signin-question-container">
<div class="signin-question-text">
<Translation key="sign-up:sign-in-question" />
</div>
<a class="signin-link" href="/auth/signin">
<Translation key="sign-up:sign-in-link" />
</a>
</div>

<style lang="scss">
.form-fields {
display: flex;
Expand All @@ -89,4 +98,19 @@
color: rgba(255, 255, 255, 0.6);
font-size: 14px;
}
.signin-question-container {
display: flex;
gap: 12px;
align-items: center;
justify-content: center;
}
.signin-question-text {
color: rgba(255, 255, 255, 0.6);
}
.signin-link {
text-decoration: underline;
}
</style>

0 comments on commit 89d4140

Please sign in to comment.