# zdudusz/landing-sr-will architecture

> Architecture diagram of the GitHub repository zdudusz/landing-sr-will, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/zdudusz/landing-sr-will
- Repository: https://github.com/zdudusz/landing-sr-will

## Overview

Sr. Will Barbearia is a React landing page that presents the shop’s services, locations, hours, gallery, and SW Academy, with WhatsApp as its booking route. The browser entry mounts the page; the page combines business content with motion and visual components and links visitors to booking and social destinations. The sampled source supports these imports and links; unsampled sections are represented by the page component rather than inferred as separate implementations.

Main entry points: [`src/App.tsx`](https://github.com/zdudusz/landing-sr-will/blob/master/src/App.tsx) (Landing page), [`src/env.ts`](https://github.com/zdudusz/landing-sr-will/blob/master/src/env.ts) (Render mode), [`src/components/BlurText.tsx`](https://github.com/zdudusz/landing-sr-will/blob/master/src/components/BlurText.tsx) (Blur text), [`src/components/Reveal.tsx`](https://github.com/zdudusz/landing-sr-will/blob/master/src/components/Reveal.tsx) (Reveal effects)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Page experience"]
  node_page["Landing page<br/>[App.tsx]"]
end

subgraph group_content["Business content"]
  node_contentdata["Page content<br/>[content.ts]"]
end

subgraph group_visuals["Motion and visuals"]
  node_background["Background effects<br/>[BackgroundFX.tsx]"]
  node_blur["Blur text<br/>[BlurText.tsx]"]
  node_video["Fading video<br/>[FadingVideo.tsx]"]
  node_icons["Page icons<br/>[Icons.tsx]"]
  node_reveal["Reveal effects<br/>[Reveal.tsx]"]
end

subgraph group_runtime["Runtime setup"]
  node_entry["React entry<br/>[main.tsx]"]
  node_env["Render mode<br/>[env.ts]"]
end

node_visitor(("Visitor"))
node_booking["WhatsApp booking"]
node_instagram["Instagram"]
node_maps["OpenStreetMap search"]

node_visitor -->|"opens page"| node_entry
node_entry -->|"mounts"| node_page
node_page -->|"reads content"| node_contentdata
node_page -->|"links to book"| node_booking
node_page -->|"links to profiles"| node_instagram
node_page -->|"links to maps"| node_maps
node_page -->|"renders"| node_background
node_page -->|"renders"| node_blur
node_page -->|"renders optionally"| node_video
node_page -->|"renders"| node_icons
node_page -->|"renders"| node_reveal
node_page -->|"checks render mode"| node_env
node_reveal -->|"checks render mode"| node_env
node_blur -->|"checks render mode"| node_env

click node_entry "https://github.com/zdudusz/landing-sr-will/blob/master/src/main.tsx"
click node_page "https://github.com/zdudusz/landing-sr-will/blob/master/src/App.tsx"
click node_contentdata "https://github.com/zdudusz/landing-sr-will/blob/master/src/content.ts"
click node_background "https://github.com/zdudusz/landing-sr-will/blob/master/src/components/BackgroundFX.tsx"
click node_blur "https://github.com/zdudusz/landing-sr-will/blob/master/src/components/BlurText.tsx"
click node_video "https://github.com/zdudusz/landing-sr-will/blob/master/src/components/FadingVideo.tsx"
click node_icons "https://github.com/zdudusz/landing-sr-will/blob/master/src/components/Icons.tsx"
click node_reveal "https://github.com/zdudusz/landing-sr-will/blob/master/src/components/Reveal.tsx"
click node_env "https://github.com/zdudusz/landing-sr-will/blob/master/src/env.ts"

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_page toneBlue
class node_contentdata toneAmber
class node_background,node_blur,node_video,node_icons,node_reveal toneMint
class node_entry,node_env toneRose
class node_visitor,node_booking,node_instagram,node_maps toneIndigo
```

## Components

### Page experience

- [Landing page](https://github.com/zdudusz/landing-sr-will/blob/master/src/App.tsx): `src/App.tsx`

### Business content

- [Page content](https://github.com/zdudusz/landing-sr-will/blob/master/src/content.ts): `src/content.ts`

### Motion and visuals

- [Background effects](https://github.com/zdudusz/landing-sr-will/blob/master/src/components/BackgroundFX.tsx): `src/components/BackgroundFX.tsx`
- [Blur text](https://github.com/zdudusz/landing-sr-will/blob/master/src/components/BlurText.tsx): `src/components/BlurText.tsx`
- [Fading video](https://github.com/zdudusz/landing-sr-will/blob/master/src/components/FadingVideo.tsx): `src/components/FadingVideo.tsx`
- [Page icons](https://github.com/zdudusz/landing-sr-will/blob/master/src/components/Icons.tsx): `src/components/Icons.tsx`
- [Reveal effects](https://github.com/zdudusz/landing-sr-will/blob/master/src/components/Reveal.tsx): `src/components/Reveal.tsx`

### Runtime setup

- [React entry](https://github.com/zdudusz/landing-sr-will/blob/master/src/main.tsx): `src/main.tsx`
- [Render mode](https://github.com/zdudusz/landing-sr-will/blob/master/src/env.ts): `src/env.ts`

### Other components

- **Visitor**
- **WhatsApp booking**
- **Instagram**
- **OpenStreetMap search**

## Connections

- Visitor → React entry: opens page (evidence: `src/main.tsx`)
- React entry → Landing page: mounts (evidence: `src/main.tsx`)
- Landing page → Page content: reads content (evidence: `src/App.tsx`)
- Landing page → WhatsApp booking: links to book (evidence: `src/App.tsx`)
- Landing page → Instagram: links to profiles (evidence: `src/App.tsx`)
- Landing page → OpenStreetMap search: links to maps (evidence: `src/App.tsx`)
- Landing page → Background effects: renders (evidence: `src/App.tsx`)
- Landing page → Blur text: renders (evidence: `src/App.tsx`)
- Landing page → Fading video: renders optionally (evidence: `src/App.tsx`)
- Landing page → Page icons: renders (evidence: `src/App.tsx`)
- Landing page → Reveal effects: renders (evidence: `src/App.tsx`)
- Landing page → Render mode: checks render mode (evidence: `src/App.tsx`)
- Reveal effects → Render mode: checks render mode (evidence: `src/components/Reveal.tsx`)
- Blur text → Render mode: checks render mode (evidence: `src/components/BlurText.tsx`)
