How mohamedtzni/portfolio works
This is an Angular portfolio site. Visitors enter through the routed application shell, browse the portfolio sections, open project previews or dialogs, navigate legal pages, and submit a contact form. The graph also preserves the documented bilingual interface and blog capability. Source excerpts show the main section wiring and several service calls; other feature details come from the README, so unsampled implementation links are omitted rather than inferred.
Main entry points: main-page.ts Portfolio page · app.routes.ts Route table · projects.ts Projects section · app.ts App shell
Components 28
Application shell
- App shell
src/app/app.ts - Route table
src/app/app.routes.ts - App configuration
src/app/app.config.ts - Header navigation
src/app/shared/header/header.ts - Language switch
src/app/shared/header/language-switch/language-switch.ts - Footer
src/app/shared/footer/footer.ts
Portfolio content
- Portfolio page
src/app/main/main-page/main-page.ts - Hero section
src/app/main/hero/hero.ts - About section
src/app/main/about-me-section/about-me-section.ts - Skills section
src/app/main/skills/skills.ts - Projects section
src/app/main/projects/projects.ts - Project dialog
src/app/main/projects/project-dialog/project-dialog.ts - References carousel
src/app/main/references/references.ts - Contact section
src/app/main/contact/contact.ts - Contact form
src/app/main/contact/contact-form/contact-form.ts
Content and services
- Skills catalog
src/app/shared/services/skills.service.ts - Project catalog
src/app/shared/services/projects.service.ts - Project model
src/app/shared/models/project.model.ts - Reference catalog
src/app/shared/services/references.service.ts - Email service
src/app/shared/services/email.service.ts - Body scroll
src/app/shared/services/body-scroll.service.ts - WordPress service
src/app/shared/services/wordpress.service.ts
Supporting pages
- Legal notice
src/app/shared/legal-notice/legal-notice.ts - Privacy policy
src/app/shared/privacy-policy/privacy-policy.ts - Blog page
src/app/blog/blog.ts
Other components
- Visitor
- EmailJS
- Browser storage
Connections 29
- Visitor → App shell: opens
src/app/app.ts - App shell → Route table: hosts routes
src/app/app.routes.ts - Route table → Portfolio page: routes to
src/app/app.routes.ts - Route table → Legal notice: routes to
src/app/app.routes.ts - Route table → Privacy policy: routes to
src/app/app.routes.ts - Route table → Blog page: routes to
src/app/app.routes.ts - App shell → Header navigation: renders
src/app/app.ts - Portfolio page → Hero section: renders
src/app/main/main-page/main-page.ts - Portfolio page → About section: renders
src/app/main/main-page/main-page.ts - Portfolio page → Skills section: renders
src/app/main/main-page/main-page.ts - Portfolio page → Projects section: renders
src/app/main/main-page/main-page.ts - Portfolio page → References carousel: renders
src/app/main/main-page/main-page.ts - Portfolio page → Contact section: renders
src/app/main/main-page/main-page.ts - Portfolio page → Footer: renders
src/app/main/main-page/main-page.ts - Header navigation → Language switch: renders
src/app/shared/header/header.ts - App configuration → Route table: registers
src/app/app.config.ts - App configuration → Browser storage: reads preference
src/app/app.config.ts - Skills section → Skills catalog: loads skills
src/app/main/skills/skills.ts - Projects section → Project catalog: loads projects
src/app/main/projects/projects.ts - Projects section → Project dialog: opens dialog
src/app/main/projects/projects.ts - Project dialog → Project model: uses type
src/app/main/projects/project-dialog/project-dialog.ts - Projects section → Project model: uses type
src/app/main/projects/projects.ts - Projects section → Body scroll: locks scrolling
src/app/main/projects/projects.ts - App shell → Body scroll: unlocks scrolling
src/app/app.ts - References carousel → Reference catalog: loads references
src/app/main/references/references.ts - Contact section → Contact form: renders
src/app/main/contact/contact.ts - Contact form → Email service: sends message
src/app/main/contact/contact-form/contact-form.ts - Email service → EmailJS: sends email
src/app/shared/services/email.service.ts - Blog page → WordPress service: uses service
src/app/blog/blog.ts