mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +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 (
|
return (
|
||||||
<CardFrame fullPage={fullPage}>
|
<CardFrame fullPage={fullPage}>
|
||||||
<div style={{ textAlign: 'center', marginBottom: '1.5rem' }}>
|
<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>
|
<Text>
|
||||||
{"Don't have an account? "}
|
{"Don't have an account? "}
|
||||||
<Link href={stackApp.urls['signUp']}>
|
<Link href={stackApp.urls['signUp']}>
|
||||||
@ -31,7 +31,7 @@ export default function SignIn({ fullPage=false }: { fullPage?: boolean }) {
|
|||||||
</Text>
|
</Text>
|
||||||
</div>
|
</div>
|
||||||
<OAuthGroup type='signin'/>
|
<OAuthGroup type='signin'/>
|
||||||
{enableDivider && <DividerWithText text={'OR'} />}
|
{enableDivider && <DividerWithText text={'or continue with email'} />}
|
||||||
{project.credentialEnabled && <CredentialSignIn/>}
|
{project.credentialEnabled && <CredentialSignIn/>}
|
||||||
</CardFrame>
|
</CardFrame>
|
||||||
);
|
);
|
||||||
|
|||||||
@ -32,7 +32,7 @@ export default function SignUp({ fullPage=false }: { fullPage?: boolean }) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<OAuthGroup type='signup'/>
|
<OAuthGroup type='signup'/>
|
||||||
{enableDivider && <DividerWithText text={'OR'} />}
|
{enableDivider && <DividerWithText text={'or continue with email'} />}
|
||||||
{project.credentialEnabled && <CredentialSignUp/>}
|
{project.credentialEnabled && <CredentialSignUp/>}
|
||||||
</CardFrame>
|
</CardFrame>
|
||||||
);
|
);
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import { Divider, Text } from "../components-core";
|
|||||||
|
|
||||||
export default function DividerWithText({ text }: { text: string }) {
|
export default function DividerWithText({ text }: { text: string }) {
|
||||||
return (
|
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 }}>
|
<div style={{ flex: 1 }}>
|
||||||
<Divider />
|
<Divider />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user