How rahul-at-dev/portfolio-website works
This repository implements a single-page personal portfolio site. A visitor enters through the React app, which routes the home page to a composed portfolio of profile, skills, projects, certificates, and contact sections; a catch-all route handles unknown paths. The page also triggers scroll-reveal behavior. Shared UI components provide notifications and other interface primitives. The README is a placeholder, so the portfolio’s purpose and capabilities are inferred from the page components; several UI modules are represented by their source paths without claiming unsampled behavior.
Main entry points: Index.tsx Portfolio page · App.tsx App and routes · SectionHeading.tsx Section heading · sidebar.tsx Sidebar primitive
Components 23
App and routing
- React entry
src/main.tsx - App and routes
src/App.tsx - Not found page
src/pages/NotFound.tsx
Portfolio content
- Portfolio page
src/pages/Index.tsx - Navigation
src/components/portfolio/Navbar.tsx - Introduction
src/components/portfolio/Hero.tsx - About
src/components/portfolio/About.tsx - Skills
src/components/portfolio/Skills.tsx - Projects
src/components/portfolio/Projects.tsx - Certificates
src/components/portfolio/Certificates.tsx - Contact
src/components/portfolio/Contact.tsx - Footer
src/components/portfolio/Footer.tsx - Section heading
src/components/portfolio/SectionHeading.tsx
Page interaction
- Scroll reveal
src/hooks/useReveal.ts
Shared UI
- Button primitive
src/components/ui/button.tsx - Toast state
src/hooks/use-toast.ts - Toast view
src/components/ui/toast.tsx - Toast renderer
src/components/ui/toaster.tsx - Sonner renderer
src/components/ui/sonner.tsx - Tooltip primitives
src/components/ui/tooltip.tsx - Sidebar primitive
src/components/ui/sidebar.tsx - Sheet primitive
src/components/ui/sheet.tsx
Other components
- Visitor
Connections 28
- Visitor → React entry: opens site
src/main.tsx - React entry → App and routes: renders
src/main.tsx - App and routes → Portfolio page: routes home
src/App.tsx - App and routes → Not found page: routes fallback
src/App.tsx - App and routes → Toast renderer: renders
src/App.tsx - App and routes → Sonner renderer: renders
src/App.tsx - App and routes → Tooltip primitives: provides
src/App.tsx - Portfolio page → Navigation: renders
src/pages/Index.tsx - Portfolio page → Introduction: renders
src/pages/Index.tsx - Portfolio page → About: renders
src/pages/Index.tsx - Portfolio page → Skills: renders
src/pages/Index.tsx - Portfolio page → Projects: renders
src/pages/Index.tsx - Portfolio page → Certificates: renders
src/pages/Index.tsx - Portfolio page → Contact: renders
src/pages/Index.tsx - Portfolio page → Footer: renders
src/pages/Index.tsx - Portfolio page → Scroll reveal: invokes
src/pages/Index.tsx - About → Section heading: renders
src/components/portfolio/About.tsx - Skills → Section heading: renders
src/components/portfolio/Skills.tsx - Projects → Section heading: renders
src/components/portfolio/Projects.tsx - Certificates → Section heading: renders
src/components/portfolio/Certificates.tsx - Contact → Section heading: renders
src/components/portfolio/Contact.tsx - Introduction → Button primitive: uses
src/components/portfolio/Hero.tsx - Toast renderer → Toast state: subscribes
src/components/ui/toaster.tsx - Toast renderer → Toast view: renders
src/components/ui/toaster.tsx - Toast state → Toast view: types with
src/hooks/use-toast.ts - Sidebar primitive → Sheet primitive: uses
src/components/ui/sidebar.tsx - Sidebar primitive → Button primitive: uses
src/components/ui/sidebar.tsx - Sidebar primitive → Tooltip primitives: uses
src/components/ui/sidebar.tsx