chore(ui): update capitalization of Sign In and Sign Up to match UI s… (#8136)

Co-authored-by: Pablo Lara <larabjj@gmail.com>
This commit is contained in:
sumit-tft
2025-07-02 16:01:29 +02:00
committed by GitHub
co-authored by Pablo Lara
parent 4a6d7a5be2
commit eea6d07259
2 changed files with 17 additions and 8 deletions
+7 -7
View File
@@ -176,9 +176,9 @@ export const AuthForm = ({
<p className="pb-2 text-xl font-medium">
{type === "sign-in"
? isSamlMode
? "Sign In with SAML SSO"
: "Sign In"
: "Sign Up"}
? "Sign in with SAML SSO"
: "Sign in"
: "Sign up"}
</p>
<ThemeSwitch aria-label="Toggle theme" />
</div>
@@ -300,7 +300,7 @@ export const AuthForm = ({
)}
<CustomButton
type="submit"
ariaLabel={type === "sign-in" ? "Log In" : "Sign Up"}
ariaLabel={type === "sign-in" ? "Log in" : "Sign up"}
ariaDisabled={isLoading}
className="w-full"
variant="solid"
@@ -313,7 +313,7 @@ export const AuthForm = ({
{isLoading ? (
<span>Loading</span>
) : (
<span>{type === "sign-in" ? "Log In" : "Sign Up"}</span>
<span>{type === "sign-in" ? "Log in" : "Sign up"}</span>
)}
</CustomButton>
</form>
@@ -426,12 +426,12 @@ export const AuthForm = ({
{type === "sign-in" ? (
<p className="text-center text-small">
Need to create an account?&nbsp;
<Link href="/sign-up">Sign Up</Link>
<Link href="/sign-up">Sign up</Link>
</p>
) : (
<p className="text-center text-small">
Already have an account?&nbsp;
<Link href="/sign-in">Log In</Link>
<Link href="/sign-in">Log in</Link>
</p>
)}
</div>