Skip to content

Commit 71020be

Browse files
authored
Merge pull request #1865 from mertbagt/update-login-component
updated text and graphic
2 parents 2fa4cba + 7217a11 commit 71020be

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

components/Login/login.tsx

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,28 @@ export default function LoginPage() {
1414
return (
1515
<StyledContainer>
1616
<div className={`bg-white my-3 overflow-hidden rounded-3`}>
17-
<div className={`align-items-center d-flex px-2 pt-2 pb-0`}>
17+
<div
18+
className={`align-items-center d-flex justify-content-center px-2 pt-2 pb-0`}
19+
>
1820
<div className={`px-3 py-0`}>
19-
<div className={`align-items-start fs-5 lh-sm mb-1 text-secondary`}>
20-
{t("probablySignedOut")}
21+
<div
22+
className={`align-items-center d-flex fs-5 justify-content-center lh-sm mb-1 text-secondary`}
23+
>
24+
<div className={`pe-2`}>
25+
<img
26+
alt="closed lock with key"
27+
src={`/closed-lock-with-key.png`}
28+
width="32"
29+
height="32"
30+
/>{" "}
31+
</div>
32+
{t("almostThere")}
2133
</div>
2234
<br />
23-
<div className={`align-items-start fs-5 lh-sm mb-1 text-secondary`}>
24-
{t("pleaseConsider")}
35+
<div
36+
className={`align-items-start d-flex fs-5 justify-content-center lh-sm mb-1 text-secondary`}
37+
>
38+
{t("justLogIn")}
2539
</div>
2640
<br />
2741
<div className={`justify-content-center d-flex w-100`}>

public/closed-lock-with-key.png

4.28 KB
Loading

public/locales/en/auth.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@
5555
"verifyEmail": "Verify your email address",
5656
"verifyLinkSent": "Please verify your email for your account by clicking the verification link we sent to your email. You will be required to verify your email before submitting testimony.",
5757
"setUpProfile": "Set Up Your Profile",
58-
"probablySignedOut": "You were possibly signed out while trying to go to a page that needs to be signed in to function",
59-
"pleaseConsider": "Please consider logging in first:"
58+
"almostThere": "Almost there!",
59+
"justLogIn": "Just log in to see the page we sent you. You’ll be redirected automatically after logging in."
6060
}

0 commit comments

Comments
 (0)