add clerk
This commit is contained in:
11
app/(auth)/layout.tsx
Normal file
11
app/(auth)/layout.tsx
Normal 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>
|
||||
)
|
||||
}
|
17
app/(auth)/sign-in/[[...sign-in]]/page.tsx
Normal file
17
app/(auth)/sign-in/[[...sign-in]]/page.tsx
Normal 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",
|
||||
},
|
||||
},
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}
|
17
app/(auth)/sign-up/[[...sign-up]]/page.tsx
Normal file
17
app/(auth)/sign-up/[[...sign-up]]/page.tsx
Normal 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",
|
||||
},
|
||||
},
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user