add clerk

This commit is contained in:
Ishaan Dey
2024-04-09 01:20:15 -04:00
parent d874813586
commit 0d42bc6734
9 changed files with 659 additions and 18 deletions

11
app/(auth)/layout.tsx Normal file
View File

@ -0,0 +1,11 @@
export default function AuthLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<div className="w-screen flex items-center justify-center h-screen">
{children}
</div>
)
}

View File

@ -0,0 +1,17 @@
import { SignIn } from "@clerk/nextjs"
import { dark } from "@clerk/themes"
export default function Page() {
return (
<SignIn
appearance={{
baseTheme: dark,
elements: {
footerActionLink: {
color: "#fff",
},
},
}}
/>
)
}

View File

@ -0,0 +1,17 @@
import { SignUp } from "@clerk/nextjs"
import { dark } from "@clerk/themes"
export default function Page() {
return (
<SignUp
appearance={{
baseTheme: dark,
elements: {
footerActionLink: {
color: "#A3A3A3",
},
},
}}
/>
)
}