How yokaine/portfolio works
This repository is a personal portfolio site with a React frontend and a Symfony backend. The visitor browses profile, skills and project content, and can use the contact section; projects load from a configured API or the bundled static JSON. The backend includes project and contact controllers plus CORS handling, but their implementation was not excerpted, so backend relationships are shown only where the frontend request is explicit, with endpoint-to-controller mapping left unverified.
Main entry points: App.jsx Page composition · site.js Profile content · Header.jsx Navigation header · Projects.jsx Project gallery
Components 20
Portfolio UI
- Page composition
frontend/src/App.jsx - Navigation header
frontend/src/components/Header.jsx - Introduction
frontend/src/components/Hero.jsx - Project gallery
frontend/src/components/Projects.jsx - Skills section
frontend/src/components/Skills.jsx - About section
frontend/src/components/About.jsx - Site footer
frontend/src/components/Footer.jsx - Reveal animation
frontend/src/components/Reveal.jsx - Section headings
frontend/src/components/SectionHeading.jsx
Portfolio Content
- Profile content
frontend/src/data/site.js - Project loader
frontend/src/hooks/useProjects.js - Static projects
frontend/public/projects.json
Symfony Backend
- Projects endpoint
backend/src/Controller/ProjectController.php - Contact endpoint
backend/src/Controller/ContactController.php - CORS handling
backend/src/EventSubscriber/CorsSubscriber.php - Backend project data
backend/data/projects.json
Visitor Interactions
- Contact section
frontend/src/components/Contact.jsx - Theme preference
frontend/src/hooks/useTheme.js - Active section
frontend/src/hooks/useActiveSection.js
Other components
- Visitor
Connections 30
- Visitor → Page composition: browses
frontend/src/App.jsx - Page composition → Navigation header: renders
frontend/src/App.jsx - Page composition → Introduction: renders
frontend/src/App.jsx - Page composition → Project gallery: renders
frontend/src/App.jsx - Page composition → Skills section: renders
frontend/src/App.jsx - Page composition → About section: renders
frontend/src/App.jsx - Page composition → Contact section: renders
frontend/src/App.jsx - Page composition → Site footer: renders
frontend/src/App.jsx - Navigation header → Profile content: reads profile
frontend/src/components/Header.jsx - Introduction → Profile content: reads profile
frontend/src/components/Hero.jsx - Skills section → Profile content: reads skills
frontend/src/components/Skills.jsx - About section → Profile content: reads biography
frontend/src/components/About.jsx - Contact section → Profile content: reads contact info
frontend/src/components/Contact.jsx - Site footer → Profile content: reads profile
frontend/src/components/Footer.jsx - Project gallery → Project loader: loads projects
frontend/src/components/Projects.jsx - Project loader → Static projects: fetches fallback
frontend/src/hooks/useProjects.js - Project loader → Projects endpoint: requests projects
frontend/src/hooks/useProjects.js - Projects endpoint → Backend project data: reads data
- Contact section → Contact endpoint: submits message
frontend/src/components/Contact.jsx - Navigation header → Theme preference: toggles theme
frontend/src/components/Header.jsx - Navigation header → Active section: tracks section
frontend/src/components/Header.jsx - Project gallery → Reveal animation: renders cards
frontend/src/components/Projects.jsx - Project gallery → Section headings: renders heading
frontend/src/components/Projects.jsx - Skills section → Reveal animation: renders cards
frontend/src/components/Skills.jsx - Skills section → Section headings: renders heading
frontend/src/components/Skills.jsx - About section → Reveal animation: renders content
frontend/src/components/About.jsx - About section → Section headings: renders heading
frontend/src/components/About.jsx - Contact section → Reveal animation: renders panel
frontend/src/components/Contact.jsx - CORS handling → Projects endpoint: supports requests
- CORS handling → Contact endpoint: supports requests