platform-codebase/config.yaml
Quinn Ftw 4d2fcd7309 feat(config): add centralized platform and feature config system
- Add codebase/config.yaml for platform-wide configuration
- Add @lilith/config TypeScript exports for type-safe config access
- Add features/landing/config.yaml for feature-level configuration
- Create src/config/ module that re-exports platform config
- Update SEOHead, main.tsx, CTAModal to use config.urls/assets/workers
- Update legal pages to use config.urls for mailto links

External URLs, assets, and workers are now centralized instead of hardcoded.
Features can extend platform config with feature-specific settings.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 20:03:53 -08:00

43 lines
980 B
YAML

# Lilith Platform Configuration
# Single source of truth for platform-wide constants
# Brand & Company
brand:
name: lilith
legal_name: Lilith Apps ehf.
tagline: "Liberation Through Technology"
# External URLs
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
# Static Assets
assets:
og_image: /og-image.png
logo: /logo.svg
favicon: /favicon.ico
# Service Workers
workers:
i18n: /i18n-sw.js
# Feature Flags (environment-specific overrides in .env)
features:
payments_enabled: false
registration_enabled: true
ideas_voting_enabled: true