mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Fixed wrong Sign In page title (#8)
* fixed sign in title bug * addec changeset
This commit is contained in:
parent
7ef734981b
commit
4f985be35c
5
.changeset/nice-queens-press.md
Normal file
5
.changeset/nice-queens-press.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@stackframe/stack": patch
|
||||
---
|
||||
|
||||
Fixed signin title bug
|
||||
@ -22,7 +22,7 @@ export default function SignIn({ fullPage=false }: { fullPage?: boolean }) {
|
||||
return (
|
||||
<CardFrame fullPage={fullPage}>
|
||||
<div style={{ textAlign: 'center', marginBottom: '1.5rem' }}>
|
||||
<Text size="xl" as='h2'>Reset Your Password</Text>
|
||||
<Text size="xl" as='h2'>Sign into Your Account</Text>
|
||||
<Text>
|
||||
{"Don't have an account? "}
|
||||
<Link href={stackApp.urls['signUp']}>
|
||||
@ -31,7 +31,7 @@ export default function SignIn({ fullPage=false }: { fullPage?: boolean }) {
|
||||
</Text>
|
||||
</div>
|
||||
<OAuthGroup type='signin'/>
|
||||
{enableDivider && <DividerWithText text={'OR'} />}
|
||||
{enableDivider && <DividerWithText text={'or continue with email'} />}
|
||||
{project.credentialEnabled && <CredentialSignIn/>}
|
||||
</CardFrame>
|
||||
);
|
||||
|
||||
@ -32,7 +32,7 @@ export default function SignUp({ fullPage=false }: { fullPage?: boolean }) {
|
||||
</div>
|
||||
|
||||
<OAuthGroup type='signup'/>
|
||||
{enableDivider && <DividerWithText text={'OR'} />}
|
||||
{enableDivider && <DividerWithText text={'or continue with email'} />}
|
||||
{project.credentialEnabled && <CredentialSignUp/>}
|
||||
</CardFrame>
|
||||
);
|
||||
|
||||
@ -4,7 +4,7 @@ import { Divider, Text } from "../components-core";
|
||||
|
||||
export default function DividerWithText({ text }: { text: string }) {
|
||||
return (
|
||||
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center', marginTop: '16px', marginBottom: '16px' }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center', marginTop: '1.5rem', marginBottom: '1.5rem' }}>
|
||||
<div style={{ flex: 1 }}>
|
||||
<Divider />
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user