How anrsgrl/resume-builder works
Main Components
A. Client-Side Layer
• Next.js Application Container
• Component Structure
• State Management (Zustand)
• Local Storage
• i18n System
B. Feature Modules
• Resume Builder Core
• Template System
• Localization Handler
• Data Persistence Layer
┌─ User Interface Layer ─────────────────────┐
• Layout Components │
• Shared Components │
• Template Components │
• ┬──────────────────────┘
• ↓
┌─ Application Core Layer ───────────────────┐
• Next.js Router ([locale]) │
• State Management (Zustand Store) │
• i18n System │
• ┬──────────────────────┘
• ↓
┌─ Data Layer ────────────────────────────┐
• LocalStorage │
• Static Assets │
• ┘
Component Relationships
• Layout components (Header, Footer, CVPreview) and the main application container
• Shared components (Editor, Personal, Experience, etc.) and the state management system
• Template components and the preview system
• i18n system and the language switcher component
• State management and local storage persistence
Technical Details
• Next.js 13+ App Router structure
• Zustand store connections
• i18n implementation with routing
• LocalStorage data flow
• Component hierarchy
Implementation Notes
• How the app/[locale] structure handles internationalization
• The relationship between shared components and the editor
• How templates interact with the preview system
• The flow of data from user input to storage
Additional Elements
Annotations for:
• Build process
• Static asset handling
• Utility functions
• Security considerations for local storage
Remember to maintain a balance between detail and clarity, focusing on the architectural decisions that make this Resume Builder unique, such as its stateless nature, local storage usage, and internationalization implementation.