76 lines
1.7 KiB
TypeScript
Executable file
76 lines
1.7 KiB
TypeScript
Executable file
/**
|
|
* Lilith Platform Configuration
|
|
* Single source of truth for platform-wide constants
|
|
*
|
|
* Mirrors: /codebase/config.yaml
|
|
*/
|
|
|
|
export const config = {
|
|
brand: {
|
|
name: 'lilith',
|
|
legalName: 'Lilith Apps ehf.',
|
|
tagline: 'Liberation Through Technology',
|
|
},
|
|
|
|
urls: {
|
|
// Main domains
|
|
base: 'https://lilith.is',
|
|
app: 'https://app.lilith.is',
|
|
api: 'https://api.lilith.is',
|
|
|
|
// Social & Community
|
|
discord: 'https://discord.gg/lilith',
|
|
github: 'https://github.com/lilith-platform',
|
|
twitter: 'https://twitter.com/lilithapps',
|
|
|
|
// Support emails
|
|
support: 'mailto:support@lilithapps.com',
|
|
privacy: 'mailto:privacy@lilithapps.com',
|
|
dpo: 'mailto:dpo@lilithapps.com',
|
|
legal: 'mailto:legal@lilithapps.com',
|
|
investor: 'mailto:investor@lilithapps.com',
|
|
},
|
|
|
|
assets: {
|
|
ogImage: '/og-image.png',
|
|
logo: '/logo.svg',
|
|
favicon: '/favicon.ico',
|
|
},
|
|
|
|
workers: {
|
|
i18n: '/i18n-sw.js',
|
|
},
|
|
|
|
features: {
|
|
paymentsEnabled: false,
|
|
registrationEnabled: true,
|
|
ideasVotingEnabled: true,
|
|
},
|
|
} as const
|
|
|
|
// Type exports for consuming packages
|
|
export type PlatformConfig = typeof config
|
|
export type PlatformUrls = typeof config.urls
|
|
export type PlatformAssets = typeof config.assets
|
|
|
|
// Tier styles (platform-specific tier → visual style mapping)
|
|
export {
|
|
tierStyles,
|
|
presets as tierPresets,
|
|
shimmerKeyframes,
|
|
reducedMotionStyles,
|
|
type PlatformTierSlug,
|
|
type TierButtonStyle,
|
|
type TierColumnStyle,
|
|
type TierPreset,
|
|
} from './tier-styles'
|
|
|
|
// Port configuration (generated from infrastructure/ports.yaml)
|
|
export { PORTS, getFeaturePort } from './ports.generated'
|
|
export type {
|
|
PortConfig,
|
|
InfrastructurePorts,
|
|
MlPorts,
|
|
PlatformPorts,
|
|
FeaturePorts,
|
|
} from './ports.generated'
|