diff --git a/common/envs/atlas3.ts b/common/envs/atlas3.ts new file mode 100644 index 00000000..ab490cbd --- /dev/null +++ b/common/envs/atlas3.ts @@ -0,0 +1,36 @@ +import { EnvConfig } from './prod' + +export const ATLAS3_CONFIG: EnvConfig = { + domain: 'atlas2.manifold.markets', + firebaseConfig: { + apiKey: 'AIzaSyAAsJPN_4HAvmWtsdW2EIY2iRRbyTxEZQI', + authDomain: 'atlas3-manifold.firebaseapp.com', + projectId: 'atlas3-manifold', + storageBucket: 'atlas3-manifold.appspot.com', + messagingSenderId: '453445191752', + appId: '1:453445191752:web:f7a899553e702d6d48b07d', + measurementId: 'G-0F3F5X37YN', + }, + + cloudRunId: 'todo', + cloudRunRegion: 'uc', + + adminEmails: [ + 'akrolsmir@gmail.com', + 'ricki.heicklen@gmail.com', + 'ross@ftx.org', + 'gpimpale29@gmail.com', + ], + whitelistEmail: '', + moneyMoniker: '📎', + fixedAnte: 25, + startingBalance: 0, + visibility: 'PRIVATE', + navbarLogoPath: '/atlas/atlas-logo-white.svg', + newQuestionPlaceholders: [ + 'Will we have at least 5 new team members by the end of this quarter?', + 'Will we meet or exceed our goals this sprint?', + 'Will we sign on 3 or more new clients this month?', + 'Will Paul shave his beard by the end of the month?', + ], +} diff --git a/common/envs/constants.ts b/common/envs/constants.ts index 7092d711..d3db041a 100644 --- a/common/envs/constants.ts +++ b/common/envs/constants.ts @@ -1,4 +1,5 @@ import { escapeRegExp } from 'lodash' +import { ATLAS3_CONFIG } from './atlas3' import { DEV_CONFIG } from './dev' import { EnvConfig, PROD_CONFIG } from './prod' import { THEOREMONE_CONFIG } from './theoremone' @@ -9,6 +10,7 @@ const CONFIGS: { [env: string]: EnvConfig } = { PROD: PROD_CONFIG, DEV: DEV_CONFIG, THEOREMONE: THEOREMONE_CONFIG, + ATLAS3: ATLAS3_CONFIG, } export const ENV_CONFIG = CONFIGS[ENV] diff --git a/firestore.rules b/firestore.rules index 96378d8b..7779c93d 100644 --- a/firestore.rules +++ b/firestore.rules @@ -8,9 +8,9 @@ service cloud.firestore { function isAdmin() { return request.auth.token.email in [ 'akrolsmir@gmail.com', - 'jahooma@gmail.com', - 'taowell@gmail.com', - 'manticmarkets@gmail.com' + 'ricki.heicklen@gmail.com', + 'ross@ftx.org', + 'gpimpale29@gmail.com' ] } diff --git a/functions/.env b/functions/.env index 0c4303df..5e9a52d5 100644 --- a/functions/.env +++ b/functions/.env @@ -1,3 +1,3 @@ # This sets which EnvConfig is deployed to Firebase Cloud Functions -NEXT_PUBLIC_FIREBASE_ENV=PROD +NEXT_PUBLIC_FIREBASE_ENV=ATLAS3 diff --git a/web/package.json b/web/package.json index f8e1881b..148d1bb7 100644 --- a/web/package.json +++ b/web/package.json @@ -6,6 +6,7 @@ "dev": "concurrently -n NEXT,TS -c magenta,cyan \"next dev -p 3000\" \"yarn ts --watch\"", "devdev": "cross-env NEXT_PUBLIC_FIREBASE_ENV=DEV concurrently -n NEXT,TS -c magenta,cyan \"cross-env FIREBASE_ENV=DEV next dev -p 3000\" \"cross-env FIREBASE_ENV=DEV yarn ts --watch\"", "dev:dev": "yarn devdev", + "dev:atlas3": "cross-env NEXT_PUBLIC_FIREBASE_ENV=ATLAS3 concurrently -n NEXT,TS -c magenta,cyan \"cross-env FIREBASE_ENV=ATLAS3 next dev -p 3000\" \"cross-env FIREBASE_ENV=ATLAS3 yarn ts --watch\"", "dev:the": "cross-env NEXT_PUBLIC_FIREBASE_ENV=THEOREMONE concurrently -n NEXT,TS -c magenta,cyan \"cross-env FIREBASE_ENV=THEOREMONE next dev -p 3000\" \"cross-env FIREBASE_ENV=THEOREMONE yarn ts --watch\"", "dev:emulate": "cross-env NEXT_PUBLIC_FIREBASE_EMULATE=TRUE yarn devdev", "ts": "tsc --noEmit --incremental --preserveWatchOutput --pretty", diff --git a/web/public/atlas/atlas-logo-white.svg b/web/public/atlas/atlas-logo-white.svg new file mode 100644 index 00000000..d90f3006 --- /dev/null +++ b/web/public/atlas/atlas-logo-white.svg @@ -0,0 +1 @@ + \ No newline at end of file