How andrew-app/folio-website works
Main Components Identification
a. Frontend Layer
• Astro Static Site Generation
• Solid.js Components
• Content Management (MDX)
• Asset Management
b. Build/Deploy Layer
• Firebase Hosting
• GitHub Actions CI/CD
• CloudFront Integration
Structural Organization
a. Content Layer
• /src/content directory structure
• Blogs and MDX processing
• To the content configuration system
b. Component Architecture
• Component hierarchy starting from pages
• Relationship between Astro and Solid.js components
• How components like NavBar integrate with pages
c. Asset Pipeline
• Demonstrate the integration of scripts and animations
Specific Implementation Details
• Pages (src/pages/*)
• Components (src/components/*)
• Content (src/content/*)
• Assets (src/assets/*)
• Astro Components (.astro files) - Use hexagons
• Solid.js Components (.tsx files) - Use rectangles
Flow Representation
• Build-time content processing
• Runtime component rendering
• Asset loading and optimization
• Deployment pipeline
Integration Points
Integration points:
• GitHub Actions CI/CD workflow
• Firebase hosting configuration
• CloudFront event handling
• WASM integration points (based on WasmIcon component)
Use a top-down approach
[Build & Deploy Layer]
• ↓
[Static Site Generation]
• ↓
[Component Layer]
• ↓
[Content Layer]
• ↓
[Asset Layer]