How daangn/websites works
High-Level Architecture Components
a. Core Components Layer:
• Shared Gatsby themes (@karrotmarket/gatsby-theme-*) at the center
• Common components like website-team, post, prismic, and seed-design themes
b. Website Implementation Layer:
• Individual websites as separate modules:
• about.daangn.com
• careers.ca.karrotmarket.com
• careers.jp.karrotmarket.com
• careers.en.karrotmarket.com
• ir.daangn.com
c. Infrastructure Layer:
• Cloudflare Workers (_workers directory)
• greenhouse-proxy-worker
• websites-integration
• Deployment and integration flows
Component Relationships
• Theme inheritance and composition
• Data flow between components
• Integration points with external services
Key Architectural Elements
a. Content Management:
• Prismic integration (gatsby-theme-prismic)
• Job posting management (gatsby-transformer-job-post)
• Blog post handling (gatsby-transformer-post)
b. UI Components:
• Shared layouts and templates
• Common components (Header, Footer, etc.)
• Theme-specific components
Detailed Subsystems
• Theme composition and inheritance
• Content transformation pipeline
• Deployment workflow
• Internationalization structure
Integration Points
Clearly mark:
• API endpoints
• Worker interfaces
• Content management system connections
• Deployment hooks