clerk sign in

This commit is contained in:
marshennikovaolga
2024-09-08 19:02:05 +03:00
parent c87ae5c329
commit 9032601c77
3 changed files with 5 additions and 15 deletions

BIN
bun.lockb

Binary file not shown.

View File

@@ -1,19 +1,9 @@
// 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"
import { SignInClient } from "@/components/custom/clerk/sign-in-client"
export default async function Page() {
return (
<div className="flex justify-center py-24">
<SignUpClient />
<SignInClient />
</div>
)
}

View File

@@ -1,9 +1,9 @@
import { SignUp } from "@clerk/nextjs"
import { SignIn } from "@clerk/nextjs"
export const SignUpClient = () => {
export const SignInClient = () => {
return (
<div className="flex justify-center">
<SignUp
<SignIn
appearance={{
elements: {
formButtonPrimary: "bg-primary text-primary-foreground",