How 2602hoang/blogger_reactjs_antd works
Main Application Architecture Layer
a) Core Application Components:
• App Router/Navigation
• Dark Mode Context (DarkModeProvider)
• Language Context (LanguageProvider)
• i18n Configuration
b) Page Components Layer:
• Home
• About
• Contact
• Service
• Skill
• Error (404)
c) Shared Components Layer:
Reusable components:
• Header
• Navigation
• Footer
• Authentication Components (FromLogin, FromSigup)
• Utility Components (AgeCalculator, ProgressBar, Slide)
Data Flow and State Management
• Context providers and their consumers
• How i18n integration works with components
External Integrations
• Public assets handling
• Static file serving
• Build process flow
• Blue: Core application components
• Green: Page components
• Orange: Shared components
• Purple: Context providers
• Gray: External services/assets
Core Structure (Blue)
┌─ React Application ─────────────────┐
• ┌─ Context Providers ──┐ │
• Dark Mode │ │
• Language │ │
• ┘ │
• ┌─ i18n Config ───────┐ │
• ┘ │
• ┘
Component Hierarchy (Green & Orange)
┌─ Pages ─────┐ ┌─ Shared Components ─┐
• Home │ │ - Header │
• About │ │ - Nav │
• Contact │ │ - Footer │
• Service │ │ - Auth Forms │
• Skill │ └──────────────────────┘
• ┘
Important Elements to Include:
Build/deployment flow
Technical details in notes:
• React 18+ framework
• Tailwind CSS for styling
• i18n for internationalization
• Component-based architecture
• Public asset handling
Remember to:
• Notes about build optimization and deployment
• Relationship between components and their respective providers