Add Salem Center contants

This commit is contained in:
James Grugett 2022-07-14 23:13:35 -05:00
parent 590c63e911
commit 0f77b08319
2 changed files with 25 additions and 0 deletions

View File

@ -2,6 +2,7 @@ import { escapeRegExp } from 'lodash'
import { DEV_CONFIG } from './dev'
import { EnvConfig, PROD_CONFIG } from './prod'
import { THEOREMONE_CONFIG } from './theoremone'
import { SALEM_CENTER_CONFIG } from './salemcenter'
export const ENV = process.env.NEXT_PUBLIC_FIREBASE_ENV ?? 'PROD'
@ -9,6 +10,7 @@ const CONFIGS: { [env: string]: EnvConfig } = {
PROD: PROD_CONFIG,
DEV: DEV_CONFIG,
THEOREMONE: THEOREMONE_CONFIG,
SALEM_CENTER: SALEM_CENTER_CONFIG,
}
export const ENV_CONFIG = CONFIGS[ENV]

View File

@ -0,0 +1,23 @@
import { EnvConfig, PROD_CONFIG } from './prod'
export const SALEM_CENTER_CONFIG: EnvConfig = {
domain: 'salemcenter.manifold.markets',
firebaseConfig: {
apiKey: 'AIzaSyBxisXMHPJDtM7ZseaOOlLAM_T7QHP_QvA',
authDomain: 'salem-center-manifold.firebaseapp.com',
projectId: 'salem-center-manifold',
region: 'us-central1',
storageBucket: 'salem-center-manifold.appspot.com',
messagingSenderId: '522400938664',
appId: '1:522400938664:web:300eaedb8446818d61a09d',
measurementId: 'G-Y3EZ1WNT6E',
},
cloudRunId: 'nggbo3neva', // TODO: fill in real ID for T1
cloudRunRegion: 'uc',
adminEmails: [...PROD_CONFIG.adminEmails, 'richardh0828@gmail.com'],
moneyMoniker: 'S$',
visibility: 'PRIVATE',
faviconPath: '/theoremone/logo.ico',
navbarLogoPath: '/theoremone/TheoremOne-Logo.svg',
newQuestionPlaceholders: [],
}