design upgrade
This commit is contained in:
@@ -37,33 +37,33 @@ const VerifyAccount = () => {
|
||||
className="max-w-sm w-full flex flex-col items-center text-center gap-y-4"
|
||||
data-testid="verify-account-page"
|
||||
>
|
||||
<h1 className="text-large-semi uppercase">Email verification</h1>
|
||||
<h1 className="text-lg font-medium uppercase">Email verification</h1>
|
||||
|
||||
{state === "verifying" && (
|
||||
<p className="text-base-regular text-ui-fg-base">
|
||||
Verifying your email...
|
||||
<p className="text-base text-foreground">
|
||||
Potvrđujemo vašu email adresu…
|
||||
</p>
|
||||
)}
|
||||
|
||||
{state === "success" && (
|
||||
<>
|
||||
<p className="text-base-regular text-ui-fg-base">
|
||||
Your email is verified. You can now sign in to your account.
|
||||
<p className="text-base text-foreground">
|
||||
Email adresa je potvrđena. Sada se možete prijaviti na svoj račun.
|
||||
</p>
|
||||
<LocalizedClientLink href="/account">
|
||||
<Button variant="primary">Go to sign in</Button>
|
||||
<Button variant="primary">Na prijavu</Button>
|
||||
</LocalizedClientLink>
|
||||
</>
|
||||
)}
|
||||
|
||||
{state === "error" && (
|
||||
<>
|
||||
<p className="text-base-regular text-ui-fg-base">
|
||||
This verification link is invalid or has expired. Sign in to receive
|
||||
a new verification email.
|
||||
<p className="text-base text-foreground">
|
||||
Link za potvrdu nije ispravan ili je istekao. Prijavite se da dobijete
|
||||
novi email za potvrdu.
|
||||
</p>
|
||||
<LocalizedClientLink href="/account">
|
||||
<Button variant="secondary">Go to sign in</Button>
|
||||
<Button variant="secondary">Na prijavu</Button>
|
||||
</LocalizedClientLink>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user