da4ce99755
* Add dev target for TheoremOne * Restrict signups to theoremone.co emails * Add new indices * Forbid reads from unauthenticated users * Client-side render pages that need auth These pages are now client-side rendered: - /home - /leaderboards - /market/... - /fold/... * Hide 404 for private Manifolds * Brand instance for TheoremOne * Hide "Add Funds" and "Personalize your feed" * "M$" => "T$" * Hide Discord & About Page too * Update placeholders for teams * Update firestore.indexes.json * Switch /analytics to propz * Migrate per-env code into common/ * More migrations to PROJECT_ID * Conditionally use SSG depending on public vs private instance * Fix props to be empty object * Move more logic into access * Spin out config files for each environment * Generify most of the customizable brand stuff * Move IS_PRIVATE_MANIFOLD to access.ts * Rename access.ts to envs/constants.ts * Add "dev:dev" alias * Rever firestore rules to existing settings * Fixes according to James's review
27 lines
1.0 KiB
TypeScript
27 lines
1.0 KiB
TypeScript
import { EnvConfig, PROD_CONFIG } from './prod'
|
|
|
|
export const THEOREMONE_CONFIG: EnvConfig = {
|
|
domain: 'theoremone.manifold.markets',
|
|
firebaseConfig: {
|
|
apiKey: 'AIzaSyBSXL6Ys7InNHnCKSy-_E_luhh4Fkj4Z6M',
|
|
authDomain: 'theoremone-manifold.firebaseapp.com',
|
|
projectId: 'theoremone-manifold',
|
|
storageBucket: 'theoremone-manifold.appspot.com',
|
|
messagingSenderId: '698012149198',
|
|
appId: '1:698012149198:web:b342af75662831aa84b79f',
|
|
measurementId: 'G-Y3EZ1WNT6E',
|
|
},
|
|
adminEmails: [...PROD_CONFIG.adminEmails, 'david.glidden@theoremone.co'],
|
|
whitelistEmail: '@theoremone.co',
|
|
moneyMoniker: 'T$',
|
|
visibility: 'PRIVATE',
|
|
faviconPath: '/theoremone/logo.ico',
|
|
navbarLogoPath: '/theoremone/TheoremOne-Logo.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?',
|
|
],
|
|
}
|