forked from anti-work/shortest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create dedicated signup/signin pages (anti-work#74)
- Loading branch information
Showing
4 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from 'react'; | ||
import { SignIn } from "@clerk/nextjs"; | ||
|
||
export default function SignInPage() { | ||
return ( | ||
<main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12"> | ||
<div className="flex justify-center"> | ||
<SignIn appearance={{ | ||
elements: { | ||
headerTitle: 'sm:text-xl lg:text-lg xl:text-xl font-bold', | ||
headerSubtitle: 'text-base text-gray-600', | ||
footerActionText: 'text-sm', | ||
footerActionLink: 'text-orange-500 hover:text-orange-600 font-medium', | ||
socialButtonsBlockButtonText: 'text-sm', | ||
socialButtonsBlockButton: 'whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 shadow h-9 bg-white hover:bg-gray-100 border border-gray-200 rounded-full px-12 py-6 inline-flex items-center justify-center', | ||
footer: 'bg-gray-950' | ||
}, | ||
}} | ||
/> | ||
</div> | ||
</main> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from 'react'; | ||
import { SignUp } from "@clerk/nextjs"; | ||
|
||
export default function SignUpPage() { | ||
return ( | ||
<main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12"> | ||
<div className="flex justify-center"> | ||
<SignUp appearance={{ | ||
elements: { | ||
headerTitle: 'sm:text-xl lg:text-lg xl:text-xl font-bold', | ||
headerSubtitle: 'text-base text-gray-600', | ||
footerActionText: 'text-sm', | ||
footerActionLink: 'text-orange-500 hover:text-orange-600 font-medium', | ||
socialButtonsBlockButtonText: 'text-sm', | ||
socialButtonsBlockButton: 'whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 shadow h-9 bg-white hover:bg-gray-100 border border-gray-200 rounded-full px-12 py-6 inline-flex items-center justify-center', | ||
footer: 'bg-gray-950' | ||
}, | ||
}}/> | ||
</div> | ||
</main> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters