# 01maya/digital-marketing-portfolio architecture

> Architecture diagram of the GitHub repository 01maya/digital-marketing-portfolio, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/01maya/digital-marketing-portfolio
- Repository: https://github.com/01maya/digital-marketing-portfolio

## Overview

This is a single-page portfolio and lead-generation site for a digital marketing consultant. Visitors move from the introduction through selected work, services, credentials and testimonials, then FAQs to a contact form. The page composes these sections; shared data supplies site copy and portfolio/service content, while shared motion and UI components support presentation and interaction. The contact form handles inquiries in the browser, including service preselection and copy actions; the excerpts do not show a server-side submission destination.

Main entry points: [`app/page.tsx`](https://github.com/01maya/digital-marketing-portfolio/blob/main/app/page.tsx) (Home page), [`lib/data.ts`](https://github.com/01maya/digital-marketing-portfolio/blob/main/lib/data.ts) (Site content), [`components/reveal.tsx`](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/reveal.tsx) (Motion and headings), [`components/services.tsx`](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/services.tsx) (Service offerings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Portfolio page"]
  node_home["Home page<br/>[page.tsx]"]
  node_hero["Hero introduction<br/>[hero.tsx]"]
  node_marquee["Brand marquee<br/>[marquee.tsx]"]
  node_creative["Creative showcase<br/>[creative.tsx]"]
  node_about["About profile<br/>[about.tsx]"]
  node_testimonials["Client testimonials<br/>[kind-words.tsx]"]
end

subgraph group_offerings["Work and services"]
  node_selected["Selected projects<br/>[selected-work.tsx]"]
  node_services["Service offerings<br/>[services.tsx]"]
end

subgraph group_engagement["Visitor engagement"]
  node_faq["FAQs<br/>[faq.tsx]"]
  node_contact["Contact form<br/>[contact.tsx]"]
  node_navbar["Site navigation<br/>[navbar.tsx]"]
  node_footer["Site footer<br/>[footer.tsx]"]
end

subgraph group_shared["Shared presentation"]
  node_art["Illustrations<br/>[art.tsx]"]
  node_content["Site content<br/>[data.ts]"]
  node_reveal["Motion and headings<br/>[reveal.tsx]"]
  node_accordion["Accordion control<br/>[accordion.tsx]"]
  node_button["Button control<br/>[button.tsx]"]
  node_sheet["Mobile menu sheet<br/>[sheet.tsx]"]
  node_formcontrols["Form controls"]
end

node_visitor(("Site visitor"))

node_visitor -->|"visits"| node_home
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_marquee
node_home -->|"renders"| node_selected
node_home -->|"renders"| node_creative
node_home -->|"renders"| node_services
node_home -->|"renders"| node_about
node_home -->|"renders"| node_testimonials
node_home -->|"renders"| node_faq
node_home -->|"renders"| node_contact
node_home -->|"renders"| node_footer
node_hero -->|"reads"| node_content
node_marquee -->|"reads"| node_content
node_selected -->|"reads"| node_content
node_selected -->|"uses"| node_accordion
node_selected -->|"renders"| node_art
node_selected -->|"uses"| node_reveal
node_creative -->|"renders"| node_art
node_creative -->|"uses"| node_reveal
node_services -->|"reads"| node_content
node_services -->|"renders"| node_art
node_services -->|"uses"| node_reveal
node_services -->|"preselects service"| node_contact
node_services -->|"uses"| node_button
node_services -->|"dispatches selection"| node_contact
node_about -->|"reads"| node_content
node_about -->|"uses"| node_reveal
node_testimonials -->|"reads"| node_content
node_testimonials -->|"uses"| node_reveal
node_faq -->|"reads"| node_content
node_faq -->|"uses"| node_accordion
node_faq -->|"uses"| node_reveal
node_contact -->|"reads"| node_content
node_contact -->|"uses"| node_formcontrols
node_contact -->|"uses"| node_button
node_contact -->|"uses"| node_reveal
node_navbar -->|"reads"| node_content
node_navbar -->|"uses"| node_sheet
node_navbar -->|"uses"| node_button
node_footer -->|"reads"| node_content
node_footer -->|"uses"| node_reveal
node_hero -->|"renders"| node_art
node_hero -->|"uses"| node_reveal

click node_home "https://github.com/01maya/digital-marketing-portfolio/blob/main/app/page.tsx"
click node_hero "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/hero.tsx"
click node_marquee "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/marquee.tsx"
click node_creative "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/creative.tsx"
click node_about "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/about.tsx"
click node_testimonials "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/kind-words.tsx"
click node_faq "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/faq.tsx"
click node_contact "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/contact.tsx"
click node_navbar "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/navbar.tsx"
click node_footer "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/footer.tsx"
click node_selected "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/selected-work.tsx"
click node_services "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/services.tsx"
click node_art "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/art.tsx"
click node_content "https://github.com/01maya/digital-marketing-portfolio/blob/main/lib/data.ts"
click node_reveal "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/reveal.tsx"
click node_accordion "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/ui/accordion.tsx"
click node_button "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/ui/button.tsx"
click node_sheet "https://github.com/01maya/digital-marketing-portfolio/blob/main/components/ui/sheet.tsx"
click node_formcontrols "https://github.com/01maya/digital-marketing-portfolio/tree/main/components/ui"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_home,node_hero,node_marquee,node_creative,node_about,node_testimonials toneBlue
class node_selected,node_services toneAmber
class node_faq,node_contact,node_navbar,node_footer toneMint
class node_art,node_content,node_reveal,node_accordion,node_button,node_sheet,node_formcontrols toneRose
class node_visitor toneIndigo
```

## Components

### Portfolio page

- [Home page](https://github.com/01maya/digital-marketing-portfolio/blob/main/app/page.tsx): `app/page.tsx`
- [Hero introduction](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/hero.tsx): `components/hero.tsx`
- [Brand marquee](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/marquee.tsx): `components/marquee.tsx`
- [Creative showcase](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/creative.tsx): `components/creative.tsx`
- [About profile](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/about.tsx): `components/about.tsx`
- [Client testimonials](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/kind-words.tsx): `components/kind-words.tsx`

### Work and services

- [Selected projects](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/selected-work.tsx): `components/selected-work.tsx`
- [Service offerings](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/services.tsx): `components/services.tsx`

### Visitor engagement

- [FAQs](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/faq.tsx): `components/faq.tsx`
- [Contact form](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/contact.tsx): `components/contact.tsx`
- [Site navigation](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/navbar.tsx): `components/navbar.tsx`
- [Site footer](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/footer.tsx): `components/footer.tsx`

### Shared presentation

- [Illustrations](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/art.tsx): `components/art.tsx`
- [Site content](https://github.com/01maya/digital-marketing-portfolio/blob/main/lib/data.ts): `lib/data.ts`
- [Motion and headings](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/reveal.tsx): `components/reveal.tsx`
- [Accordion control](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/ui/accordion.tsx): `components/ui/accordion.tsx`
- [Button control](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/ui/button.tsx): `components/ui/button.tsx`
- [Mobile menu sheet](https://github.com/01maya/digital-marketing-portfolio/blob/main/components/ui/sheet.tsx): `components/ui/sheet.tsx`
- [Form controls](https://github.com/01maya/digital-marketing-portfolio/tree/main/components/ui): `components/ui`

### Other components

- **Site visitor**

## Connections

- Site visitor → Home page: visits (evidence: `app/page.tsx`)
- Home page → Site navigation: renders (evidence: `app/page.tsx`)
- Home page → Hero introduction: renders (evidence: `app/page.tsx`)
- Home page → Brand marquee: renders (evidence: `app/page.tsx`)
- Home page → Selected projects: renders (evidence: `app/page.tsx`)
- Home page → Creative showcase: renders (evidence: `app/page.tsx`)
- Home page → Service offerings: renders (evidence: `app/page.tsx`)
- Home page → About profile: renders (evidence: `app/page.tsx`)
- Home page → Client testimonials: renders (evidence: `app/page.tsx`)
- Home page → FAQs: renders (evidence: `app/page.tsx`)
- Home page → Contact form: renders (evidence: `app/page.tsx`)
- Home page → Site footer: renders (evidence: `app/page.tsx`)
- Hero introduction → Site content: reads (evidence: `components/hero.tsx`)
- Brand marquee → Site content: reads (evidence: `components/marquee.tsx`)
- Selected projects → Site content: reads (evidence: `components/selected-work.tsx`)
- Selected projects → Accordion control: uses (evidence: `components/selected-work.tsx`)
- Selected projects → Illustrations: renders (evidence: `components/selected-work.tsx`)
- Selected projects → Motion and headings: uses (evidence: `components/selected-work.tsx`)
- Creative showcase → Illustrations: renders (evidence: `components/creative.tsx`)
- Creative showcase → Motion and headings: uses (evidence: `components/creative.tsx`)
- Service offerings → Site content: reads (evidence: `components/services.tsx`)
- Service offerings → Illustrations: renders (evidence: `components/services.tsx`)
- Service offerings → Motion and headings: uses (evidence: `components/services.tsx`)
- Service offerings → Contact form: preselects service (evidence: `components/services.tsx`)
- Service offerings → Button control: uses (evidence: `components/services.tsx`)
- Service offerings → Contact form: dispatches selection (evidence: `components/contact.tsx`)
- About profile → Site content: reads (evidence: `components/about.tsx`)
- About profile → Motion and headings: uses (evidence: `components/about.tsx`)
- Client testimonials → Site content: reads (evidence: `components/kind-words.tsx`)
- Client testimonials → Motion and headings: uses (evidence: `components/kind-words.tsx`)
- FAQs → Site content: reads (evidence: `components/faq.tsx`)
- FAQs → Accordion control: uses (evidence: `components/faq.tsx`)
- FAQs → Motion and headings: uses (evidence: `components/faq.tsx`)
- Contact form → Site content: reads (evidence: `components/contact.tsx`)
- Contact form → Form controls: uses (evidence: `components/contact.tsx`)
- Contact form → Button control: uses (evidence: `components/contact.tsx`)
- Contact form → Motion and headings: uses (evidence: `components/contact.tsx`)
- Site navigation → Site content: reads (evidence: `components/navbar.tsx`)
- Site navigation → Mobile menu sheet: uses (evidence: `components/navbar.tsx`)
- Site navigation → Button control: uses (evidence: `components/navbar.tsx`)
- Site footer → Site content: reads (evidence: `components/footer.tsx`)
- Site footer → Motion and headings: uses (evidence: `components/footer.tsx`)
- Hero introduction → Illustrations: renders (evidence: `components/hero.tsx`)
- Hero introduction → Motion and headings: uses (evidence: `components/hero.tsx`)
