mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-12 12:20:23 +01:00
clerk sign in
This commit is contained in:
@@ -1,19 +1,9 @@
|
|||||||
// import { SignInClient } from "@/components/custom/clerk/sign-in-client"
|
import { SignInClient } from "@/components/custom/clerk/sign-in-client"
|
||||||
|
|
||||||
// export default async function Page() {
|
|
||||||
// return (
|
|
||||||
// <div className="flex justify-center py-24">
|
|
||||||
// <SignInClient />
|
|
||||||
// </div>
|
|
||||||
// )
|
|
||||||
// }
|
|
||||||
|
|
||||||
import { SignUpClient } from "@/components/custom/clerk/sign-up-client"
|
|
||||||
|
|
||||||
export default async function Page() {
|
export default async function Page() {
|
||||||
return (
|
return (
|
||||||
<div className="flex justify-center py-24">
|
<div className="flex justify-center py-24">
|
||||||
<SignUpClient />
|
<SignInClient />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { SignUp } from "@clerk/nextjs"
|
import { SignIn } from "@clerk/nextjs"
|
||||||
|
|
||||||
export const SignUpClient = () => {
|
export const SignInClient = () => {
|
||||||
return (
|
return (
|
||||||
<div className="flex justify-center">
|
<div className="flex justify-center">
|
||||||
<SignUp
|
<SignIn
|
||||||
appearance={{
|
appearance={{
|
||||||
elements: {
|
elements: {
|
||||||
formButtonPrimary: "bg-primary text-primary-foreground",
|
formButtonPrimary: "bg-primary text-primary-foreground",
|
||||||
|
|||||||
Reference in New Issue
Block a user