How pavithran030/portfolio works
Pavithran Portfolio is a React single-page portfolio. Visitors enter the routed portfolio page to explore profile, skills, projects, achievements, experience, education, and contact content; the contact form posts to an email API. The page also coordinates SEO metadata, theme choices, and motion/timeline presentation. README documents responsive presentation and sitemap generation, but sitemap generation is build-time support rather than a runtime product component. The page excerpt is partial, so links for its unsampled content are limited to documented capabilities and visible imports.
Main entry points: Index.tsx Portfolio page · App.tsx Routes and providers · NotFound.tsx Not-found page · ThemeSwitcher.tsx Theme switcher
Components 20
Application shell
- React entry
src/main.tsx - Routes and providers
src/App.tsx - Not-found page
src/pages/NotFound.tsx
Portfolio content
- Portfolio page
src/pages/Index.tsx - About profile
src/pages/Index.tsx - Skills showcase
src/pages/Index.tsx - Project showcase
src/pages/Index.tsx - Experience
src/pages/Index.tsx - Achievements
src/pages/Index.tsx - Education timeline
src/pages/Index.tsx
Presentation systems
- Motion sections
src/components/MotionSection.tsx - Timeline renderer
src/components/ScrollTimeline.tsx - Motion variants
src/lib/motion-variants.ts - Theme switcher
src/components/ThemeSwitcher.tsx - Theme definitions
src/types/theme.ts - Tooltip primitives
src/components/ui/tooltip.tsx
Contact and metadata
- SEO metadata
src/components/SEO.tsx - Contact form
src/pages/Index.tsx - Email endpoint
api/send-email.ts
Other components
- Visitor
Connections 20
- React entry → Routes and providers: renders
src/main.tsx - Routes and providers → Portfolio page: routes to
src/App.tsx - Routes and providers → Not-found page: catches routes
src/App.tsx - Visitor → Portfolio page: visits
README.md - Portfolio page → About profile: presents
src/pages/Index.tsx - Portfolio page → Skills showcase: presents
src/pages/Index.tsx - Portfolio page → Project showcase: presents
src/pages/Index.tsx - Portfolio page → Experience: presents
README.md - Portfolio page → Achievements: presents
src/pages/Index.tsx - Portfolio page → Education timeline: presents
src/pages/Index.tsx - Portfolio page → Contact form: presents
src/pages/Index.tsx - Portfolio page → Motion sections: renders
src/pages/Index.tsx - Portfolio page → Timeline renderer: renders
src/pages/Index.tsx - Portfolio page → Motion variants: uses
src/pages/Index.tsx - Portfolio page → Theme switcher: includes
- Theme switcher → Theme definitions: uses types
src/components/ThemeSwitcher.tsx - Routes and providers → Tooltip primitives: provides
src/App.tsx - Portfolio page → SEO metadata: sets metadata
src/pages/Index.tsx - Not-found page → SEO metadata: sets metadata
src/pages/NotFound.tsx - Contact form → Email endpoint: posts message
src/pages/Index.tsx