How achrafelmakaoui/achrafdev_portfolio works
Project type and purpose
• This is a single-page React front-end application (bootstrapped with Create React App) serving as a personal/portfolio website.
• Key features: landing page, about section (with globe and ripple animations), career history (education & experience), skills showcase, project gallery (driven by projects.json), contact form, theming via React Context, scroll-to-top behavior, responsive navbar, static assets and images.
File structure
• Top-level:
• public/ – static host files (index.html, manifest.json, robots.txt, sitemap.xml)
• src/ – application source
• package.json / lock – dependency definitions
• src/:
• index.js & index.css – entry point mounting App into DOM
• App.js – root component wrapping Routes, ThemeContext Provider, ScrollToTop, Navbar, Footer
• ScrollToTop.js – custom hook to reset scroll on route change
• ThemeContext.jsx – React Context for light/dark mode
• components/ – feature-based subfolders (About, Career, Contact, Footer, Intro, LandingPage, Navbar, ProjectPage, SkillsPage)
• assets: components/images and projects.json under ProjectPage
README for additional insights
• Standard Create React App instructions only; no backend or external service integrations.
Detail without overthinking
• Break the React App into as many logical components and layers as you see in the folder structure (App/container, context, hooks, each feature)
• Build vs. runtime separation
• How static JSON and images feed into components