How sjoleee/sjoleee-blog works
Main Components
a. Frontend Layer:
• Next.js Application (Core)
• React Components (src/components)
• Client-side Features (Theme, Search, Comments)
b. Content Management Layer:
• ContentLayer Integration
• MDX Processing
• Static Assets
c. Build & Configuration Layer:
• Next.js Config
• Tailwind CSS
• TypeScript
• ESLint/Prettier
Key Architectural Elements
┌─ Client Layer ─────────────────────┐
• Next.js Pages & App Router │
• React Components │
• Client-side Features │
• ┬───────────────────┘
┌───────────────▼───────────────────┐
• Content Processing Layer │
• ContentLayer │
• MDX Processing │
• Image Processing │
• ┬───────────────────┘
┌───────────────▼───────────────────┐
• Static Assets & Build │
• Public Assets │
• Build Configuration │
• Styling (Tailwind) │
• ┘
Data Flow Indicators
• Content flow from MDX files to rendered pages
• Theme state management
• Search functionality
• Comment system integration
Key Features to Highlight
• App Router structure (/src/app)
• Component organization (/src/components)
• Content management (/src/content)
• Static asset handling (/public)
• Build configuration (next.config.js, tailwind.config.ts)
Integration Points
Connections for:
• Giscus comments integration
• Theme switching mechanism
• Search functionality
• MDX content processing
Development Tools
A section for:
• TypeScript configuration
• ESLint/Prettier setup
• Template generation (_templates)
Build and deployment flow
This architecture represents a modern static blog with enhanced features like theme switching, search, and comments, built on Next.js with strong TypeScript integration and robust content management through ContentLayer.