-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.ts
35 lines (26 loc) · 1.06 KB
/
constants.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
export const dev = process.env.NEXT_PUBLIC_VERCEL_ENV === "development";
export const preview = process.env.NEXT_PUBLIC_VERCEL_ENV === "preview";
export const prod = process.env.NEXT_PUBLIC_VERCEL_ENV === "production";
export const AWS_REGION = "eu-central-1";
export const EMAIL_COOKIE = "auth-email";
export const SESSION_COOKIE = "session_token";
export const LOCAL_USER = "local-user";
export const LONG_SESSION_COOKIE = "long-session";
export const SECS_IN_DAY = 86400;
export const SIGN_UP_PATH = "/sign-up";
export const SIGN_IN_PATH = "/sign-in";
export const SIGN_OUT_PATH = "/sign-out";
export const SESSION_PATH = "/session";
export const WIDGET_IDS = {
COVER: 1,
BENEFITS: 2,
TESTIMONIALS: 3,
};
export const RECAPTCHA_VERIFICATION_URL =
"https://challenges.cloudflare.com/turnstile/v0/siteverify";
// 'https://www.google.com/recaptcha/api/siteverify';
export const RECAPTCHA_FORM_FIELD_NAME = "cf-turnstile-response";
export const POST_AUTH_REDIRECT_URL = "/dash";
export const HEADER = "header";
export const FOOTER = "footer";
export const SIDEBAR = "sidebar";