How sanju1098/sanjay-portfolio works
This is Sanjay Kumar S R’s React portfolio: visitors navigate a shared site shell to explore the home page, biography and contact details, project work, skills, and career history, then follow résumé or external profile links. The route layout supplies navigation, page metadata, loading and error handling; page components present content datasets and reusable project visuals. README-documented capabilities include responsive themed design, accessibility, lazy routes and imagery, and SEO metadata. Unsampled page details are represented at their source paths; edges reflect only shown imports, calls, or README statements.
Main entry points: routes.tsx Routes and layout · Index.tsx Home page · About.tsx About and contact · Projects.tsx Projects page
Components 29
Navigation and shell
- Router provider
src/App.tsx - Routes and layout
src/content/routes.tsx - Header and theme
src/layout/Header.tsx - Footer
src/layout/Footer.tsx - Error boundary
src/layout/ErrorBoundary.tsx - Route loader
src/layout/Loader.tsx - Scroll handling
src/layout/ScrollToTop.tsx
Portfolio pages
- Home page
src/pages/Index.tsx - About and contact
src/pages/About.tsx - Projects page
src/pages/Projects.tsx - Skills page
src/pages/Skills.tsx - Experience page
src/pages/Experience.tsx - Not-found page
src/pages/NotFound.tsx
Portfolio content
- Home content
src/content/home.tsx - About content
src/content/about.ts - Project catalog
src/content/project.tsx - Skills content
src/content/skills.tsx - Career content
src/content/experience.tsx - Navigation content
src/content/layout.tsx - Résumé PDF
src/assets/Resume.pdf
Visual components
- Project card
src/components/project-card.tsx - Image carousel
src/components/project-carousel.tsx - Hero visual
src/components/hero-visual.tsx - Hero backdrop
src/components/hero-backdrop.tsx - Section header
src/components/page-section-header.tsx - Button
src/components/ui/button.tsx - Badge
src/components/ui/badge.tsx - Image URL optimizer
src/lib/cloudinary.ts
Other components
- Site visitor
Connections 44
- Site visitor → Router provider: opens site
README.md - Router provider → Routes and layout: provides router
src/App.tsx - Routes and layout → Header and theme: renders
src/content/routes.tsx - Routes and layout → Footer: renders
src/content/routes.tsx - Routes and layout → Error boundary: wraps layout
src/content/routes.tsx - Routes and layout → Route loader: loads pages
src/content/routes.tsx - Routes and layout → Scroll handling: renders
src/content/routes.tsx - Routes and layout → Home page: routes to
src/content/routes.tsx - Routes and layout → About and contact: routes to
src/content/routes.tsx - Routes and layout → Projects page: routes to
src/content/routes.tsx - Routes and layout → Skills page: routes to
src/content/routes.tsx - Routes and layout → Experience page: routes to
src/content/routes.tsx - Routes and layout → Not-found page: routes to
src/content/routes.tsx - Header and theme → Navigation content: reads navigation
src/layout/Header.tsx - Home page → Home content: reads
src/pages/Index.tsx - Home page → Project catalog: reads
src/pages/Index.tsx - Home page → Hero visual: renders
src/pages/Index.tsx - Home page → Hero backdrop: loads
src/pages/Index.tsx - Home page → Project card: renders
src/pages/Index.tsx - Home page → Résumé PDF: links résumé
src/pages/Index.tsx - About and contact → About content: reads
src/pages/About.tsx - About and contact → Résumé PDF: links résumé
src/pages/About.tsx - About and contact → Image URL optimizer: optimizes images
src/pages/About.tsx - Projects page → Project catalog: reads
src/pages/Projects.tsx - Projects page → Image carousel: renders
src/pages/Projects.tsx - Skills page → Skills content: reads
src/pages/Skills.tsx - Experience page → Career content: reads
src/pages/Experience.tsx - Experience page → Image URL optimizer: optimizes images
src/pages/Experience.tsx - Home page → Section header: uses
src/pages/Index.tsx - About and contact → Section header: uses
src/pages/About.tsx - Projects page → Section header: uses
src/pages/Projects.tsx - Skills page → Section header: uses
src/pages/Skills.tsx - Experience page → Section header: uses
src/pages/Experience.tsx - Home page → Button: uses
src/pages/Index.tsx - Projects page → Button: uses
src/pages/Projects.tsx - About and contact → Button: uses
src/pages/About.tsx - Home page → Badge: uses
src/pages/Index.tsx - Projects page → Badge: uses
src/pages/Projects.tsx - Project card → Project catalog: renders project
src/components/project-card.tsx - Project card → Image URL optimizer: optimizes images
src/components/project-card.tsx - Project card → Badge: uses
src/components/project-card.tsx - Project card → Button: uses
src/components/project-card.tsx - Image carousel → Image URL optimizer: optimizes images
src/components/project-carousel.tsx - Hero visual → Home content: reads visual data
src/components/hero-visual.tsx