-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconstants.ts
More file actions
47 lines (38 loc) · 1.96 KB
/
constants.ts
File metadata and controls
47 lines (38 loc) · 1.96 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
export const MIN_INT = Number.MIN_SAFE_INTEGER
export const MAX_INT = Number.MAX_SAFE_INTEGER
export const supportEmail = 'hello@compassmeet.com'
// export const marketingEmail = 'hello@compassmeet.com'
export const githubRepoSlug = 'CompassConnections/Compass'
export const githubRepo = `https://github.com/${githubRepoSlug}`
export const githubIssues = `${githubRepo}/issues`
export const paypalLink = 'https://www.paypal.com/paypalme/CompassConnections'
export const openCollectiveLink = 'https://opencollective.com/compass-connection'
export const liberapayLink = 'https://liberapay.com/CompassConnections'
export const patreonLink = 'https://patreon.com/CompassMeet'
export const discordLink = 'https://discord.gg/8Vd7jzqjun'
export const stoatLink = 'https://stt.gg/YKQp81yA'
export const redditLink = 'https://www.reddit.com/r/CompassConnect'
export const xLink = 'https://x.com/compassmeet'
export const instagramLink = 'https://www.instagram.com/compassmeet/'
export const formLink = 'https://forms.gle/tKnXUMAbEreMK6FC6'
export const ANDROID_APP_URL =
'https://play.google.com/store/apps/details?id=com.compassconnections.app'
export const IS_MAINTENANCE = false // set to true to enable the maintenance mode banner
export const MIN_BIO_LENGTH = 250
export const WEB_GOOGLE_CLIENT_ID =
'253367029065-khkj31qt22l0vc3v754h09vhpg6t33ad.apps.googleusercontent.com'
// export const ANDROID_GOOGLE_CLIENT_ID = '253367029065-s9sr5vqgkhc8f7p5s6ti6a4chqsrqgc4.apps.googleusercontent.com'
export const GOOGLE_CLIENT_ID = WEB_GOOGLE_CLIENT_ID
export const defaultLocale = 'en'
export const LOCALES = {
en: 'English',
fr: 'Français',
de: 'Deutsch',
// es: "Español",
} as const
export const supportedLocales = Object.keys(LOCALES)
export type Locale = (typeof supportedLocales)[number]
//Exported types for test files to use when referencing the keys of the choices objects
export type LocaleTuple = {
[K in keyof typeof LOCALES]: [K, (typeof LOCALES)[K]]
}[keyof typeof LOCALES]