How fossnss/website works
Main Components
a) Build-time Components:
• Gatsby Build System
• Content Sources
• Markdown Files (blogs, events, members)
• Static Assets (images)
• GraphQL Data Layer
• Template Engine
b) Runtime Components:
• Client-side React Application
• Browser Runtime
• Static Assets Server
┌─ Content Layer ─────────────────────┐
• Markdown Files │
• Blog Posts │
• Events │
• Member Profiles │
• Static Assets │
• ┘
┌─ Build Layer ──────────────────────┐
• Gatsby Build System │
• GraphQL Data Layer │
• Template Processing │
• SCSS Processing │
• Static Site Generation │
• ┘
┌─ Runtime Layer ────────────────────┐
• React Components │
• Pages │
• Templates │
• Shared Components │
• Browser Runtime │
• ┘
Key Relationships to Highlight
• How content flows from Markdown files through the GraphQL layer
• Template application to content
• Demonstrate component composition
• Build-time vs. runtime boundaries
Implementation Details
• The src/components directory structure
• The content organization (blog, events, members)
• The templates system
• The styling system with SCSS modules
Component Relationships
Relationships between:
• Pages and their templates
• Components and their styles
• Content and its presentation layer