How sgtslaughter1/my-portfolio works
Purpose and Runtime
Single-page React portfolio for Habeeb Abdulsalam, presenting developer identity, experience, skills, projects, certificates, and contact information. It runs as a Vite client application; production output is static assets suitable for CDN/static hosting. Core entry documents are index.html, src/main.jsx, and src/App.jsx.
Application Composition
src/App.jsx is the page orchestrator: it composes the portfolio’s vertically ordered sections and global interaction elements. There is no indicated backend, router, API layer, authentication, or persistent data store; portfolio content is embedded in React components.
Primary sections are grounded in:
• src/components/Home.jsx
• src/components/About.jsx
• src/components/Experience.jsx
• src/components/Skills.jsx
• src/components/Portfolio.jsx
• src/components/Certificates.jsx
• src/components/Contact.jsx
Navigation and Page-Level Interaction
src/components/Navbar.jsx provides navigation across in-page sections, making anchor/scroll positioning the primary navigation boundary rather than route transitions. src/components/ScrollToTop.jsx supplies page-level scroll recovery, while src/components/CustomCursor.jsx adds a global pointer interaction layer.
Motion System
GSAP is the dedicated animation runtime, used for hero reveals, staggered content entrance, and scroll-driven effects. Animation behavior is centralized where reusable in src/utils/gsap-animations.js, while section-specific lifecycle integration resides in components such as src/components/Home.jsx and src/components/Experience.jsx.
The experience view is a significant responsive boundary: its pinned scrolling timeline is intended for desktop behavior and is managed using GSAP ScrollTrigger/media-query capabilities.
Portfolio and Content Presentation
src/components/Portfolio.jsx owns the project-gallery stage and delegates individual project rendering to src/components/PortfolioCard.jsx. This separates collection-level layout/animation orchestration from reusable card presentation. Certificates are rendered separately by src/components/Certificates.jsx, with static certificate media under public/assets/certificates.
Styling and Design System
src/index.css is the global styling boundary: it establishes fluid clamp() typography/spacing, CSS design tokens, responsive behavior, dark/cyan visual identity, glassmorphism, and shared interaction styles. Components combine this custom CSS system with Bootstrap 5 layout/UI facilities; Bootstrap Icons provide iconography.
Delivery and External Surfaces
Vite configuration in vite.config.js controls local development and production bundling. Static public-facing files—including crawl/discovery artifacts and Google verification—are served directly from public/robots.txt, public/sitemap.xml, and public/googlec3e5371e97d2aae4.html. No external runtime services are identified beyond browser-loaded frontend dependencies and static hosting.
Main entry points: App.jsx Page orchestrator · main.jsx React bootstrap · Navbar.jsx Anchor navigation · Home.jsx Home hero
Components 18
Client runtime
Browser-rendered single-page portfolio.
- HTML entry
index.html - React bootstrap
src/main.jsx - Page orchestrator · Composes global elements and ordered portfolio sections.
src/App.jsx
Portfolio sections
Vertically ordered content views composed by the app.
- Home hero
src/components/Home.jsx - About
src/components/About.jsx - Experience timeline · Desktop pinned timeline uses scroll-triggered motion.
src/components/Experience.jsx - Skills
src/components/Skills.jsx - Project gallery · Owns project collection layout and animation.
src/components/Portfolio.jsx - Project card
src/components/PortfolioCard.jsx - Certificates
src/components/Certificates.jsx - Contact
src/components/Contact.jsx
Presentation systems
Shared navigation, interaction, styling, and motion.
- Anchor navigation · Navigates to in-page section anchors.
src/components/Navbar.jsx - Scroll to top
src/components/ScrollToTop.jsx - Custom cursor
src/components/CustomCursor.jsx - GSAP animations · Reusable reveal, stagger, and scroll animation behavior.
src/utils/gsap-animations.js - Global design system · Tokens, responsive layout, glass styling, and shared interactions.
src/index.css
Build and static delivery
Vite bundles the client app and serves public artifacts.
- Vite build · Controls development and production bundling.
vite.config.js - Public static artifacts · Certificate media plus robots, sitemap, and Google verification files.
public/robots.txt
Connections 21
- HTML entry → React bootstrap: loads
- React bootstrap → Page orchestrator: mounts
- React bootstrap → Global design system: loads
- Page orchestrator → Anchor navigation: renders
- Page orchestrator → Home hero: composes
- Page orchestrator → About: composes
- Page orchestrator → Experience timeline: composes
- Page orchestrator → Skills: composes
- Page orchestrator → Project gallery: composes
- Page orchestrator → Certificates: composes
- Page orchestrator → Contact: composes
- Page orchestrator → Scroll to top: renders
- Page orchestrator → Custom cursor: renders
- Anchor navigation → Home hero: anchors to
- Anchor navigation → Contact: anchors to sections
- Project gallery → Project card: renders
- Home hero → GSAP animations: uses
- Experience timeline → GSAP animations: uses ScrollTrigger
- Certificates → Public static artifacts: uses certificate media
- Vite build → HTML entry: builds entry
- Vite build → Public static artifacts: serves directly