How mohammedashkan/portfolio-2025 works
This repository implements a personal portfolio site with service, work, skills, writing, and biography content, plus contact and chatbot features. The main visitor flow is the home page assembling portfolio sections; visitors can also open contact or chat experiences. Chat messages from the legacy chat component are posted to a server route, while a separate chatbot-button opens the newer chatbot. The admin contact page fetches contact submissions. Some subsystem internals were not sampled, so uncertain integrations and data persistence are omitted.
Main entry points: page.tsx Home Page · chat.tsx Legacy Chat · chatbot.tsx New Chatbot · about.tsx About Section
Components 28
Portfolio Site
- Home Page
src/app/page.tsx - Hero Section
src/components/sections/hero.tsx - About Section
src/components/sections/about.tsx - Services Section
src/components/sections/services.tsx - Portfolio Section
src/components/sections/portfolio.tsx - Blog Section
src/components/sections/blog.tsx - Skills Section
src/components/sections/skills.tsx - Contact Section
src/components/sections/contact.tsx - Blog Page
src/app/blog/page.tsx - About Page
src/app/about/page.tsx - Portfolio Page
src/app/portfolio/page.tsx - Services Page
src/app/services/page.tsx - Skills Page
src/app/skills/page.tsx
Visitor Engagement
- Contact Form
src/app/contact/ContactForm.tsx - Contact Endpoint
src/app/api/contact/route.ts - Contact Admin
src/app/admin/contacts/page.tsx
Chat Assistants
- Chat Page
src/app/chat/page.tsx - Legacy Chat
src/components/chatbot/chat.tsx - Chat Endpoint
src/app/api/chatbot/route.ts - Chat Launcher
src/components/chatbot/chatbot-button.tsx - New Chatbot
src/components/chatbot-new/chatbot.tsx - Message Processor
src/components/chatbot-new/chatbot-client.ts - Chat Voice Assistant
src/components/chatbot-new/voice-assistant.tsx - Legacy Voice Assistant
src/components/chatbot/voice-assistant.tsx
Other components
- Visitor
- Browser
Connections 24
- Visitor → Home Page: opens
- Home Page → Hero Section: renders
src/app/page.tsx - Home Page → About Section: renders
src/app/page.tsx - Home Page → Services Section: renders
src/app/page.tsx - Home Page → Portfolio Section: renders
src/app/page.tsx - Home Page → Blog Section: renders
src/app/page.tsx - Home Page → Skills Section: renders
src/app/page.tsx - Home Page → Contact Section: renders
src/app/page.tsx - Home Page → Chat Launcher: renders
src/app/page.tsx - Blog Page → Blog Section: renders
src/app/blog/page.tsx - About Page → About Section: renders
src/app/about/page.tsx - Portfolio Page → Portfolio Section: renders
src/app/portfolio/page.tsx - Services Page → Services Section: renders
src/app/services/page.tsx - Skills Page → Skills Section: renders
src/app/skills/page.tsx - Visitor → Contact Form: submits
- Contact Admin → Contact Endpoint: fetches submissions
src/app/admin/contacts/page.tsx - Chat Page → Legacy Chat: renders
src/app/chat/page.tsx - Legacy Chat → Chat Endpoint: posts messages
src/components/chatbot/chat.tsx - Legacy Chat → Legacy Voice Assistant: renders
src/components/chatbot/chat.tsx - Chat Launcher → New Chatbot: opens
src/components/chatbot/chatbot-button.tsx - New Chatbot → Message Processor: uses
src/components/chatbot-new/chatbot.tsx - New Chatbot → Chat Voice Assistant: renders
src/components/chatbot-new/chatbot.tsx - About Section → Tabs UI: uses
src/components/sections/about.tsx - Services Section → Button UI: uses
src/components/sections/services.tsx