added signup and signin pages
This commit is contained in:
parent
39e2caf39a
commit
9dd01e1291
5
app/(auth)/(routes)/sign-in/[[...sign-in]]/page.tsx
Normal file
5
app/(auth)/(routes)/sign-in/[[...sign-in]]/page.tsx
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import { SignIn } from "@clerk/nextjs";
|
||||||
|
|
||||||
|
export default function Page() {
|
||||||
|
return <SignIn />;
|
||||||
|
}
|
5
app/(auth)/(routes)/sign-up/[[...sign-up]]/page.tsx
Normal file
5
app/(auth)/(routes)/sign-up/[[...sign-up]]/page.tsx
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import { SignUp } from "@clerk/nextjs";
|
||||||
|
|
||||||
|
export default function Page() {
|
||||||
|
return <SignUp />;
|
||||||
|
}
|
9
app/(auth)/layout.tsx
Normal file
9
app/(auth)/layout.tsx
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
const AuthLayout = ({ children }: { children: React.ReactNode}) => {
|
||||||
|
return (
|
||||||
|
<div className="h-full flex items-center justify-center">
|
||||||
|
{children}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default AuthLayout;
|
Loading…
x
Reference in New Issue
Block a user