How chadlizakaria/portfolio works
Main Components of the System
• Frontend Application: Built with React.js, it serves as the user interface.
• Public Assets: Static files (HTML, manifest, PDF, etc.) served to the user.
• Components: Modular React components such as Navbar, Carousel, Skills, Certifications, etc.
• Pages: High-level pages like Home, AboutMe, Projects, and ContactMe.
• Context and Translations: Singletons like LanguageContext (for multi-language support) and translation files (global JSONs for English and French).
Understand Relationships and Interactions
• The entry point (src/index.js) loads the main App component.
• App.js then integrates multiple components and renders pages based on routing (even if routing isn’t explicit, the structure clearly separates different page views).
• The Navbar is used across pages for navigation.
• Each page (in src/pages) composes multiple components, such as the AboutMe page using the AboutMeDescription component.
• The LanguageContext manages global state impacting translations and multi-language support, influencing how components render text.
• Data and assets from directories like src/images and src/data.js are used by multiple components.
Architectural Patterns and Design Principles
• Component-based architecture: Each UI piece is isolated in its own folder (e.g., Certifications, Carousel).
• Separation of Concerns: Pages, components, context, and static assets are clearly separated.
• Reusability: Common elements (like animations from tsParticles and navigation) are reused across different views.
• Modular Design: Each component has its own CSS/SCSS and JS files, making it easier to maintain and update.