How tejamedi23/portfoli works
Teja Medi is a personal portfolio website. Visitors browse the landing, about, project, and contact sections; the contact form validates configuration, sends submissions through EmailJS, and reports outcomes with toasts. The app also provides section navigation and a catch-all not-found route. The graph includes the principal content and contact workflow, plus the toast state/rendering layer. Source excerpts establish routing, composition, submission, and notification behavior; README documents EmailJS setup. Other section details are represented only where the supplied index confirms their use.
Main entry points: Index.tsx Portfolio page · ContactSection.tsx Contact form · App.tsx App and routes · PortfolioSection.tsx Project portfolio
Components 22
App and routing
- React entry
src/main.tsx - App and routes
src/App.tsx - Not found page
src/pages/NotFound.tsx - Tooltip provider
src/components/ui/tooltip.tsx
Portfolio content
- Portfolio page
src/pages/Index.tsx - Section navigation
src/components/ui/navigation.tsx - Hero section
src/components/sections/HeroSection.tsx - About section
src/components/sections/AboutSection.tsx - Project portfolio
src/components/sections/PortfolioSection.tsx - Footer
src/components/sections/Footer.tsx - Project badges
src/components/ui/badge.tsx
Contact workflow
- Contact form
src/components/sections/ContactSection.tsx - Button control
src/components/ui/button.tsx - Text input
src/components/ui/input.tsx - Message input
src/components/ui/textarea.tsx - Form labels
src/components/ui/label.tsx
Toast feedback
- Toast state
src/hooks/use-toast.ts - Toast renderer
src/components/ui/toaster.tsx - Toast primitives
src/components/ui/toast.tsx - Sonner renderer
src/components/ui/sonner.tsx
Other components
- Visitor
- EmailJS service
Connections 25
- 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: mounts
src/App.tsx - App and routes → Sonner renderer: mounts
src/App.tsx - App and routes → Tooltip provider: provides
src/App.tsx - Portfolio page → Section navigation: renders
src/pages/Index.tsx - Portfolio page → Hero section: renders
src/pages/Index.tsx - Portfolio page → About section: renders
src/pages/Index.tsx - Portfolio page → Project portfolio: renders
src/pages/Index.tsx - Portfolio page → Contact form: renders
src/pages/Index.tsx - Portfolio page → Footer: renders
src/pages/Index.tsx - Hero section → Button control: uses
src/components/sections/HeroSection.tsx - Project portfolio → Button control: uses
src/components/sections/PortfolioSection.tsx - Project portfolio → Project badges: uses
src/components/sections/PortfolioSection.tsx - Contact form → Button control: uses
src/components/sections/ContactSection.tsx - Contact form → Text input: uses
src/components/sections/ContactSection.tsx - Contact form → Message input: uses
src/components/sections/ContactSection.tsx - Contact form → Form labels: uses
src/components/sections/ContactSection.tsx - Contact form → EmailJS service: sends message
src/components/sections/ContactSection.tsx - Contact form → Toast state: reports status
src/components/sections/ContactSection.tsx - Toast renderer → Toast state: reads state
src/components/ui/toaster.tsx - Toast renderer → Toast primitives: renders
src/components/ui/toaster.tsx - Toast state → Toast primitives: uses types
src/hooks/use-toast.ts