How twinemukama/twine works
Twine Portfolio is a React personal portfolio. A visitor enters through the browser app, views the portfolio’s introduction and work sections, and can navigate to a longer personal story. The source excerpts show the entry-point routing and the portfolio page’s section composition; the README adds no further product capabilities. The UI primitives are a supporting layer, not a separate product workflow. Some listed UI components were not sampled, so their internal usage is not mapped.
Main entry points: Index.tsx Portfolio page · SectionHeader.tsx Section heading · main.tsx Browser entry · toaster.tsx Toast renderer
Components 18
App entry
- Browser entry
src/main.tsx - Not found page
src/pages/NotFound.tsx
Portfolio content
- Portfolio page
src/pages/Index.tsx - Introduction
src/components/Hero.tsx - Skills
src/components/Skills.tsx - Experience
src/components/Experience.tsx - Projects
src/components/Projects.tsx - Education
src/components/Education.tsx - Section heading
src/components/SectionHeader.tsx - Navigation link
src/components/NavLink.tsx
Personal story
- Story page
src/pages/Story.tsx
UI support
- UI primitives
src/components/ui - Toast state
src/hooks/use-toast.ts - Toast renderer
src/components/ui/toaster.tsx - Toast components
src/components/ui/toast.tsx - Sonner renderer
src/components/ui/sonner.tsx - Tooltip provider
src/components/ui/tooltip.tsx
Other components
- Portfolio visitor
Connections 15
- Portfolio visitor → Browser entry: opens
src/main.tsx - Browser entry → Portfolio page: routes to
src/main.tsx - Browser entry → Story page: routes to
src/main.tsx - Portfolio page → Introduction: renders
src/pages/Index.tsx - Portfolio page → Skills: renders
src/pages/Index.tsx - Portfolio page → Experience: renders
src/pages/Index.tsx - Portfolio page → Projects: renders
src/pages/Index.tsx - Portfolio page → Education: renders
src/pages/Index.tsx - Experience → Section heading: renders
src/components/Experience.tsx - Projects → Section heading: renders
src/components/Projects.tsx - Education → Section heading: renders
src/components/Education.tsx - Skills → Section heading: renders
src/components/Skills.tsx - Toast state → Toast components: uses types
src/hooks/use-toast.ts - Toast renderer → Toast state: reads state
src/components/ui/toaster.tsx - Toast renderer → Toast components: renders
src/components/ui/toaster.tsx