How mohamedyaakoubi/mohamedyakoubi works
This is a multilingual personal portfolio whose main visitor journey is browsing localized portfolio content, projects, services, and blog posts; it also presents SheetDiff documentation and pricing. Separate runtime branches provide an AI CV chatbot, a diff API, and SEO discovery through sitemap and IndexNow. The graph includes the documented simulator and API-guide subsystems, with edges limited to relationships visible in excerpts or the README; unsampled route wiring is not inferred.
Main entry points: [locale] Localized pages · index.tsx Diff simulator · chat/route.ts Chat endpoint · indexnow/route.ts IndexNow endpoint
Components 31
Portfolio experience
- Localized pages
src/app/[locale] - Portfolio home
src/components/HomeClient.tsx - Experience
src/components/ExperienceClient.tsx - Services
src/components/ServicesClient.tsx - Projects
src/components/ProjectsClient.tsx - Multilingual blog
src/app/[locale]/blog - Contact page
src/app/[locale]/contact/page.tsx
SheetDiff product
- SheetDiff landing
src/components/SheetDiffClient.tsx - Product content
src/data/sheetdiff-i18n.ts - Structural API guide
src/components/StructuralApiClient.tsx - API doc primitives
src/components/ApiDocPrimitives.tsx - Diff simulator
src/components/LiveSimulator/index.tsx - Simulator views
src/components/LiveSimulator/ResultRow.tsx - Simulator samples
src/components/LiveSimulator/samples.ts - Simulator translations
src/data/live-simulator-i18n.ts - Product guides
src/components/ParametersGuideClient.tsx - Guide translations
src/data/parameters-guide-i18n.ts - Diff API endpoint
src/app/api/diff/route.ts - Engine precision guide
src/components/EnginePrecisionClient.tsx - Precision content
src/data/engine-precision-i18n.ts
AI assistant
- Chat interface
src/components/Chat.tsx - Chat endpoint
src/app/api/chat/route.ts - Localized CV
src/data/cv
Search discovery
- Dynamic sitemap
src/app/sitemap.ts - IndexNow endpoint
src/app/api/indexnow/route.ts - Offline cache
public/service-worker.js
Localization
- Language context
src/context/language-context.tsx - Locale translations
src/lib/translations.ts
Other components
- Site visitor
- Mistral AI
- Search engines
Connections 30
- Site visitor → Localized pages: browses
- Localized pages → Portfolio home: renders
src/app/[locale]/page.tsx - Localized pages → Experience: renders
src/app/[locale]/experience/page.tsx - Localized pages → Services: renders
src/app/[locale]/services/page.tsx - Localized pages → Projects: renders
- Site visitor → Multilingual blog: reads posts
- Site visitor → Contact page: opens
- Site visitor → Chat interface: asks questions
- Chat interface → Chat endpoint: sends messages
- Chat endpoint → Localized CV: reads CV
src/app/api/chat/route.ts - Chat endpoint → Mistral AI: queries
src/app/api/chat/route.ts - Site visitor → SheetDiff landing: explores product
- SheetDiff landing → Product content: reads translations
src/app/[locale]/sheetdiff/page.tsx - Site visitor → Structural API guide: reads API guide
- Structural API guide → API doc primitives: renders
src/components/StructuralApiClient.tsx - Site visitor → Diff simulator: tries examples
- Diff simulator → Simulator views: renders views
src/components/LiveSimulator/index.tsx - Diff simulator → Simulator samples: loads samples
src/components/LiveSimulator/index.tsx - Diff simulator → Simulator translations: reads translations
src/components/LiveSimulator/index.tsx - Site visitor → Product guides: reads guides
- Product guides → Guide translations: reads translations
src/components/ParametersGuideClient.tsx - Site visitor → Diff API endpoint: submits diffs
- Site visitor → Engine precision guide: reads analysis
- Engine precision guide → Precision content: reads translations
src/components/EnginePrecisionClient.tsx - Language context → Locale translations: supports locales
src/context/language-context.tsx - Localized pages → Locale translations: loads copy
src/app/[locale]/page.tsx - Dynamic sitemap → Multilingual blog: includes posts
src/app/sitemap.ts - IndexNow endpoint → Dynamic sitemap: reads URLs
src/app/api/indexnow/route.ts - IndexNow endpoint → Search engines: submits URLs
src/app/api/indexnow/route.ts - Site visitor → Offline cache: uses offline cache