Skip to content

Commit 4f985be

Browse files
authored
Fixed wrong Sign In page title (stack-auth#8)
* fixed sign in title bug * addec changeset
1 parent 7ef7349 commit 4f985be

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

.changeset/nice-queens-press.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@stackframe/stack": patch
3+
---
4+
5+
Fixed signin title bug

packages/stack/src/components-page/sign-in.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function SignIn({ fullPage=false }: { fullPage?: boolean }) {
2222
return (
2323
<CardFrame fullPage={fullPage}>
2424
<div style={{ textAlign: 'center', marginBottom: '1.5rem' }}>
25-
<Text size="xl" as='h2'>Reset Your Password</Text>
25+
<Text size="xl" as='h2'>Sign into Your Account</Text>
2626
<Text>
2727
{"Don't have an account? "}
2828
<Link href={stackApp.urls['signUp']}>
@@ -31,7 +31,7 @@ export default function SignIn({ fullPage=false }: { fullPage?: boolean }) {
3131
</Text>
3232
</div>
3333
<OAuthGroup type='signin'/>
34-
{enableDivider && <DividerWithText text={'OR'} />}
34+
{enableDivider && <DividerWithText text={'or continue with email'} />}
3535
{project.credentialEnabled && <CredentialSignIn/>}
3636
</CardFrame>
3737
);

packages/stack/src/components-page/sign-up.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function SignUp({ fullPage=false }: { fullPage?: boolean }) {
3232
</div>
3333

3434
<OAuthGroup type='signup'/>
35-
{enableDivider && <DividerWithText text={'OR'} />}
35+
{enableDivider && <DividerWithText text={'or continue with email'} />}
3636
{project.credentialEnabled && <CredentialSignUp/>}
3737
</CardFrame>
3838
);

packages/stack/src/components/divider-with-text.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Divider, Text } from "../components-core";
44

55
export default function DividerWithText({ text }: { text: string }) {
66
return (
7-
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center', marginTop: '16px', marginBottom: '16px' }}>
7+
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center', marginTop: '1.5rem', marginBottom: '1.5rem' }}>
88
<div style={{ flex: 1 }}>
99
<Divider />
1010
</div>

0 commit comments

Comments
 (0)