How imanelawadi90-glitch/eman_portofolio works
This repository is a personal portfolio site: visitors browse the creator’s profile and video work, then can submit a contact message. The client entry and page composition are shown directly; the portfolio reads a local video catalog, and the contact form reports outcomes through toast state. API and server files are present, but their wiring to the form is not established by the excerpts or README, so that relationship is left out. The README is empty; unsampled component behavior is represented only where the source index documents composition.
Main entry points: Index.tsx Home Page · App.tsx App Router · main.tsx React Entry · Navigation.tsx Navigation
Components 23
Client Shell
- React Entry
src/main.tsx - App Router
src/App.tsx - Home Page
src/pages/Index.tsx - Not Found
src/pages/NotFound.tsx
Portfolio Content
- Navigation
src/components/Navigation.tsx - Hero
src/components/Hero.tsx - About
src/components/About.tsx - Video Portfolio
src/components/Portfolio.tsx - Video Catalog
src/data/videos.ts - Slides
src/components/Slides.tsx - Contact Form
src/components/Contact.tsx - Footer
src/components/Footer.tsx
Shared UI
- Theme Provider
src/components/theme-provider.tsx - Theme Toggle
src/components/theme-toggle.tsx - Toast State
src/hooks/use-toast.ts - Toast Renderer
src/components/ui/toaster.tsx - UI Primitives
src/components/ui - Class Utilities
src/lib/utils.ts
Contact API
- Message Handler
api/send.js - Health Endpoint
api/health.js - Response Headers
api/headers.js - Server Runtime
server/index.js
Other components
- Visitor
Connections 19
- Visitor → React Entry: opens site
src/main.tsx - React Entry → App Router: renders
src/main.tsx - App Router → Home Page: routes home
src/App.tsx - App Router → Not Found: routes fallback
src/App.tsx - Home Page → Navigation: renders
src/pages/Index.tsx - Home Page → Hero: renders
src/pages/Index.tsx - Home Page → About: renders
src/pages/Index.tsx - Home Page → Video Portfolio: renders
src/pages/Index.tsx - Home Page → Slides: renders
src/pages/Index.tsx - Home Page → Contact Form: renders
src/pages/Index.tsx - Home Page → Footer: renders
src/pages/Index.tsx - Video Portfolio → Video Catalog: reads catalog
src/components/Portfolio.tsx - Contact Form → Toast State: reports status
src/components/Contact.tsx - Toast Renderer → Toast State: reads state
src/components/ui/toaster.tsx - App Router → Toast Renderer: mounts renderer
src/App.tsx - Navigation → Theme Toggle: renders
src/components/Navigation.tsx - Theme Toggle → Theme Provider: uses theme
src/components/theme-toggle.tsx - App Router → Theme Provider: provides theme
src/App.tsx - UI Primitives → Class Utilities: uses classes
src/components/ui/select.tsx