# mayurr7/tattoo-shop architecture

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

- Interactive diagram: https://gitdiagram.com/mayurr7/tattoo-shop
- Repository: https://github.com/mayurr7/tattoo-shop

## Overview

This is a React tattoo-artist portfolio site. The browser entry mounts the page, whose main component renders a sequence of artist profile, gallery, skills, interview, testimonial, contact, and footer sections; the header provides desktop/mobile navigation and social links. Shared content is defined in a data module, with animation variants used by sampled sections. Several components are only stubs in the available excerpts, so their documented or implied capabilities are shown without inventing internal connections.

Main entry points: [`src/App.js`](https://github.com/mayurr7/tattoo-shop/blob/main/src/App.js) (Portfolio page), [`src/data.js`](https://github.com/mayurr7/tattoo-shop/blob/main/src/data.js) (Portfolio content data), [`src/components/Header.js`](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Header.js) (Header), [`src/components/NavMobile.js`](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/NavMobile.js) (Mobile navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Page composition"]
  node_entry["React entry<br/>[index.js]"]
  node_page["Portfolio page<br/>[App.js]"]
end

subgraph group_navigation["Site navigation"]
  node_header["Header<br/>[Header.js]"]
  node_nav["Desktop navigation<br/>[Nav.js]"]
  node_mobile_nav["Mobile navigation<br/>[NavMobile.js]"]
  node_socials["Social links<br/>[Socials.js]"]
end

subgraph group_content["Portfolio sections"]
  node_hero["Hero<br/>[Hero.js]"]
  node_about["Artist story<br/>[About.js]"]
  node_gallery["Gallery section<br/>[GallerySection.js]"]
  node_skills["Skills section<br/>[Skills.js]"]
  node_interview["Interview section<br/>[Interview.js]"]
  node_testimonials["Testimonials<br/>[Testimonial.js]"]
  node_contact["Contact section<br/>[Contact.js]"]
  node_footer["Footer<br/>[Footer.js]"]
  node_copyright["Copyright notice<br/>[Copyright.js]"]
end

subgraph group_shared["Shared presentation"]
  node_content_data["Portfolio content data<br/>[data.js]"]
  node_motion["Animation variants<br/>[variants.js]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"mounts"| node_page
node_page -->|"renders"| node_header
node_page -->|"renders"| node_hero
node_page -->|"renders"| node_about
node_page -->|"renders"| node_gallery
node_page -->|"renders"| node_skills
node_page -->|"renders"| node_interview
node_page -->|"renders"| node_testimonials
node_page -->|"renders"| node_contact
node_page -->|"renders"| node_footer
node_page -->|"renders"| node_copyright
node_header -->|"renders"| node_nav
node_header -->|"renders"| node_mobile_nav
node_header -->|"renders"| node_socials
node_mobile_nav -->|"renders"| node_socials
node_header -->|"reads"| node_content_data
node_nav -->|"reads"| node_content_data
node_mobile_nav -->|"reads"| node_content_data
node_socials -->|"reads"| node_content_data
node_hero -->|"reads"| node_content_data
node_about -->|"reads"| node_content_data
node_hero -->|"uses"| node_motion
node_about -->|"uses"| node_motion

click node_entry "https://github.com/mayurr7/tattoo-shop/blob/main/src/index.js"
click node_page "https://github.com/mayurr7/tattoo-shop/blob/main/src/App.js"
click node_header "https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Header.js"
click node_nav "https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Nav.js"
click node_mobile_nav "https://github.com/mayurr7/tattoo-shop/blob/main/src/components/NavMobile.js"
click node_socials "https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Socials.js"
click node_hero "https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Hero.js"
click node_about "https://github.com/mayurr7/tattoo-shop/blob/main/src/components/About.js"
click node_gallery "https://github.com/mayurr7/tattoo-shop/blob/main/src/components/GallerySection.js"
click node_skills "https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Skills.js"
click node_interview "https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Interview.js"
click node_testimonials "https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Testimonial.js"
click node_contact "https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Contact.js"
click node_footer "https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Footer.js"
click node_copyright "https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Copyright.js"
click node_content_data "https://github.com/mayurr7/tattoo-shop/blob/main/src/data.js"
click node_motion "https://github.com/mayurr7/tattoo-shop/blob/main/src/variants.js"

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_entry,node_page toneBlue
class node_header,node_nav,node_mobile_nav,node_socials toneAmber
class node_hero,node_about,node_gallery,node_skills,node_interview,node_testimonials,node_contact,node_footer,node_copyright toneMint
class node_content_data,node_motion toneRose
class node_visitor toneIndigo
```

## Components

### Page composition

- [React entry](https://github.com/mayurr7/tattoo-shop/blob/main/src/index.js): `src/index.js`
- [Portfolio page](https://github.com/mayurr7/tattoo-shop/blob/main/src/App.js): `src/App.js`

### Site navigation

- [Header](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Header.js): `src/components/Header.js`
- [Desktop navigation](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Nav.js): `src/components/Nav.js`
- [Mobile navigation](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/NavMobile.js): `src/components/NavMobile.js`
- [Social links](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Socials.js): `src/components/Socials.js`

### Portfolio sections

- [Hero](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Hero.js): `src/components/Hero.js`
- [Artist story](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/About.js): `src/components/About.js`
- [Gallery section](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/GallerySection.js): `src/components/GallerySection.js`
- [Skills section](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Skills.js): `src/components/Skills.js`
- [Interview section](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Interview.js): `src/components/Interview.js`
- [Testimonials](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Testimonial.js): `src/components/Testimonial.js`
- [Contact section](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Contact.js): `src/components/Contact.js`
- [Footer](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Footer.js): `src/components/Footer.js`
- [Copyright notice](https://github.com/mayurr7/tattoo-shop/blob/main/src/components/Copyright.js): `src/components/Copyright.js`

### Shared presentation

- [Portfolio content data](https://github.com/mayurr7/tattoo-shop/blob/main/src/data.js): `src/data.js`
- [Animation variants](https://github.com/mayurr7/tattoo-shop/blob/main/src/variants.js): `src/variants.js`

### Other components

- **Site visitor**

## Connections

- Site visitor → React entry: opens site
- React entry → Portfolio page: mounts (evidence: `src/index.js`)
- Portfolio page → Header: renders (evidence: `src/App.js`)
- Portfolio page → Hero: renders (evidence: `src/App.js`)
- Portfolio page → Artist story: renders (evidence: `src/App.js`)
- Portfolio page → Gallery section: renders (evidence: `src/App.js`)
- Portfolio page → Skills section: renders (evidence: `src/App.js`)
- Portfolio page → Interview section: renders (evidence: `src/App.js`)
- Portfolio page → Testimonials: renders (evidence: `src/App.js`)
- Portfolio page → Contact section: renders (evidence: `src/App.js`)
- Portfolio page → Footer: renders (evidence: `src/App.js`)
- Portfolio page → Copyright notice: renders (evidence: `src/App.js`)
- Header → Desktop navigation: renders (evidence: `src/components/Header.js`)
- Header → Mobile navigation: renders (evidence: `src/components/Header.js`)
- Header → Social links: renders (evidence: `src/components/Header.js`)
- Mobile navigation → Social links: renders (evidence: `src/components/NavMobile.js`)
- Header → Portfolio content data: reads (evidence: `src/components/Header.js`)
- Desktop navigation → Portfolio content data: reads (evidence: `src/components/Nav.js`)
- Mobile navigation → Portfolio content data: reads (evidence: `src/components/NavMobile.js`)
- Social links → Portfolio content data: reads (evidence: `src/components/Socials.js`)
- Hero → Portfolio content data: reads (evidence: `src/components/Hero.js`)
- Artist story → Portfolio content data: reads (evidence: `src/components/About.js`)
- Hero → Animation variants: uses (evidence: `src/components/Hero.js`)
- Artist story → Animation variants: uses (evidence: `src/components/About.js`)
