How webenred/portfolio works
This is a bilingual personal portfolio and project-showcase website. Visitors land on a localized portfolio page, browse profile, experience and project sections, open project case studies, and can submit a contact form. Locale routing supports English and French; the contact form posts to a configured external endpoint. Project detail pages select locale-specific MDX, but those content files are not in the supplied tree. The graph reflects documented imports and visible calls; unsampled connections are omitted.
Main entry points: page.tsx Portfolio landing · image-carousel.tsx Image carousel · contact-me-form.tsx Contact form · LangSwitcher.tsx Language switcher
Components 21
Portfolio pages
- Portfolio landing
src/app/[locale]/page.tsx - Profile
src/app/[locale]/components/profile.tsx - About
src/app/[locale]/components/about.tsx - Project listing
src/app/[locale]/components/projects.tsx - Experience
src/app/[locale]/components/experience.tsx - Contact section
src/app/[locale]/components/contact.tsx - Project case studies
src/app/[locale]/projects/best-tour-travel-agency-website/page.tsx - Localized site layout
src/app/[locale]/layout.tsx
Locale and navigation
- Navigation bar
src/app/[locale]/components/navbar.tsx - Language switcher
src/components/common/LangSwitcher.tsx - Locale routing
src/i18n/routing.ts - Locale middleware
src/middleware.ts
Contact workflow
- Contact form
src/app/[locale]/components/contact-me-form.tsx - Configured form endpoint
Interactive UI
- Image carousel
src/components/image-carousel.tsx - Carousel controls
src/components/ui/carousel.tsx - Dialog primitives
src/components/ui/dialog.tsx - Button primitive
src/components/ui/button.tsx - Dropdown menu
src/components/ui/dropdown-menu.tsx - Form and UI primitives
src/components/ui/form.tsx
Other components
- Visitor
Connections 20
- Visitor → Portfolio landing: opens
src/app/[locale]/page.tsx - Portfolio landing → Profile: renders
src/app/[locale]/page.tsx - Portfolio landing → About: renders
src/app/[locale]/page.tsx - Portfolio landing → Project listing: renders
src/app/[locale]/page.tsx - Portfolio landing → Experience: renders
src/app/[locale]/page.tsx - Portfolio landing → Contact section: renders
src/app/[locale]/page.tsx - Localized site layout → Navigation bar: renders
src/app/[locale]/layout.tsx - Contact section → Contact form: renders
src/app/[locale]/components/contact.tsx - Contact form → Configured form endpoint: posts data
src/app/[locale]/components/contact-me-form.tsx - Navigation bar → Language switcher: renders
src/app/[locale]/components/navbar.tsx - Language switcher → Locale routing: uses locale navigation
src/components/common/LangSwitcher.tsx - Locale middleware → Locale routing: uses locale config
src/middleware.ts - Image carousel → Carousel controls: uses controls
src/components/image-carousel.tsx - Image carousel → Dialog primitives: opens dialog
src/components/image-carousel.tsx - Image carousel → Button primitive: uses buttons
src/components/image-carousel.tsx - Image carousel → Project listing: may display imagery
- Language switcher → Dropdown menu: uses menu
src/components/common/LangSwitcher.tsx - Contact form → Form and UI primitives: uses form controls
src/app/[locale]/components/contact-me-form.tsx - Contact form → Button primitive: uses button
src/app/[locale]/components/contact-me-form.tsx - Project case studies → Locale routing: selects locale