How yourchocomate/my-portfolio works
Main System Components
a) Client-Side Application (Single Page Application)
• This is a frontend-only application built with React and Vite
• No backend services are currently visible in the architecture
Key Structural Elements to Highlight
a) Application Core
• Entry Point (main.tsx, App.tsx)
• Router Layer (src/router)
• Page Components Layer (src/pages)
b) Component Architecture
• UI Component Library (src/components/ui)
• Feature Components (about, contact, projects, snake)
• Shared Components (BreadCrumb, FullscreenLoader, etc.)
c) State & Logic Layer
• Custom Hooks (src/hooks)
• Constants & Configuration (src/constants)
• Types (src/types)
d) Asset Management
• Static Assets (public/)
• Styles (src/styles)
• Assets (src/assets)
Specific Elements
[Application Core]
• Router
• Pages
• Home
• About
• Projects
• Contact
[Component Library]
• UI Components
• Typography
• Buttons
• Form
• Layout
• Elements
[Feature Components]
• Snake Game
• CodeMirror Integration
• Contact Form
• Project Showcase
Important Relationships
• Router → Pages
• Pages → Feature Components
• Feature Components → UI Components
• Hooks → Components
• Assets → Components
Technical Stack Layer
A section showing the technical foundation:
• Vite (Build Tool)
• React 18
• TypeScript
• Tailwind CSS
• Key plugins (framer-motion, codemirror)
The static asset management system
This will give other developers a clear understanding of how the portfolio application is structured and how its various parts work together.