diff --git a/common/envs/atlas2.ts b/common/envs/atlas2.ts new file mode 100644 index 00000000..6dad4605 --- /dev/null +++ b/common/envs/atlas2.ts @@ -0,0 +1,35 @@ +import { EnvConfig } from './prod' + +export const ATLAS2_CONFIG: EnvConfig = { + domain: 'atlas2.manifold.markets', + firebaseConfig: { + apiKey: 'AIzaSyApmYeDGc4wGAAXKsdsx1h1WQBWqj5U2lA', + authDomain: 'atlas2-manifold.firebaseapp.com', + projectId: 'atlas2-manifold', + storageBucket: 'atlas2-manifold.appspot.com', + messagingSenderId: '466243568587', + appId: '1:466243568587:web:c725617dd393bca76fec4e', + measurementId: 'G-YL3CW8Y62X', + }, + cloudRunId: 'bdiirjgiyq', + 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..a7000c22 100644 --- a/common/envs/constants.ts +++ b/common/envs/constants.ts @@ -1,4 +1,5 @@ import { escapeRegExp } from 'lodash' +import { ATLAS2_CONFIG } from './atlas2' 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, + ATLAS2: ATLAS2_CONFIG, } export const ENV_CONFIG = CONFIGS[ENV] diff --git a/firestore.rules b/firestore.rules index 28ff4485..f781181d 100644 --- a/firestore.rules +++ b/firestore.rules @@ -6,10 +6,10 @@ service cloud.firestore { match /databases/{database}/documents { function isAdmin() { - return request.auth.uid == 'igi2zGXsfxYPgB0DJTXVJVmwCOr2' // Austin - || request.auth.uid == '5LZ4LgYuySdL1huCWe7bti02ghx2' // James - || request.auth.uid == 'tlmGNz9kjXc2EteizMORes4qvWl2' // Stephen - || request.auth.uid == 'IPTOzEqrpkWmEzh6hwvAyY9PqFb2' // Manifold + return request.auth.uid == '5mBnfPj6epUxfy9dk72w0eJrL303' // Austin + || request.auth.uid == '5mBnfPj6epUxfy9dk72w0eJrL303' // Ricki + || request.auth.uid == 'hFNeKmd7gTZ9b6BFFmPl6E6RZNN2' // Ross + || request.auth.uid == 'TfWpdJEJ7QMTjp9DB0TVna9h7YF3' // Govind } match /stats/stats { diff --git a/web/components/nav/manifold-logo.tsx b/web/components/nav/manifold-logo.tsx index ec15d54b..35a68f39 100644 --- a/web/components/nav/manifold-logo.tsx +++ b/web/components/nav/manifold-logo.tsx @@ -17,16 +17,23 @@ export function ManifoldLogo(props: { return ( - + {!ENV_CONFIG.navbarLogoPath && ( + + )} {!hideText && (ENV_CONFIG.navbarLogoPath ? ( - + ) : twoLine ? ( \ No newline at end of file