chore: migrate sign in to domain relative path with clerk, add .env.example as well
This commit is contained in:
parent
d644edd3c4
commit
df4dfba31d
@ -20,3 +20,14 @@ PLAUSIBLE_DOMAIN=
|
||||
|
||||
NEXT_PUBLIC_POSTHOG_KEY="your-api-key"
|
||||
NEXT_PUBLIC_POSTHOG_HOST="your-ph-address"
|
||||
|
||||
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/auth/sign-in
|
||||
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/auth/sign-up
|
||||
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
|
||||
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
|
||||
|
||||
STRIPE_API_KEY="sk_test_"
|
||||
STRIPE_PR_PRO="price_"
|
||||
STRIPE_PR_ENTERPRISE="price_"
|
||||
STRIPE_PR_API="price_"
|
||||
STRIPE_WEBHOOK_SECRET="whsec_"
|
||||
|
9
web/src/app/(app)/auth/sign-in/[[...sign-in]]/page.tsx
Normal file
9
web/src/app/(app)/auth/sign-in/[[...sign-in]]/page.tsx
Normal file
@ -0,0 +1,9 @@
|
||||
import { SignIn } from "@clerk/nextjs";
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<div className="w-full h-full items-center flex justify-center">
|
||||
<SignIn />
|
||||
</div>
|
||||
);
|
||||
}
|
9
web/src/app/(app)/auth/sign-up/[[...sign-up]]/page.tsx
Normal file
9
web/src/app/(app)/auth/sign-up/[[...sign-up]]/page.tsx
Normal file
@ -0,0 +1,9 @@
|
||||
import { SignUp } from "@clerk/nextjs";
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<div className="w-full h-full items-center flex justify-center">
|
||||
<SignUp />
|
||||
</div>
|
||||
);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user