# kacperkicior/law_bureau architecture

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

- Interactive diagram: https://gitdiagram.com/kacperkicior/law_bureau
- Repository: https://github.com/kacperkicior/law_bureau

## Overview

LawBureau is a React single-page law-firm website. Visitors scroll through the title, legal-services, team, contact, and footer sections; the app also provides theme and language controls, persisting preferences in browser local storage. The README documents full-page scrolling and the animated title behavior. The graph reflects the sampled app and component code; other README capabilities are included where documented, while no unsampled implementation details are assumed.

Main entry points: [`src/App.js`](https://github.com/kacperkicior/law_bureau/blob/master/src/App.js) (App shell), [`src/reportWebVitals.js`](https://github.com/kacperkicior/law_bureau/blob/master/src/reportWebVitals.js) (Vitals reporter), [`src/components/Titlecard.jsx`](https://github.com/kacperkicior/law_bureau/blob/master/src/components/Titlecard.jsx) (Title card), [`src/components/Content.jsx`](https://github.com/kacperkicior/law_bureau/blob/master/src/components/Content.jsx) (Legal services)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Page shell"]
  node_app["App shell<br/>[App.js]"]
  node_fullpage["Fullpage.js"]
  node_vitals["Vitals reporter<br/>[reportWebVitals.js]"]
end

subgraph group_sections["Site sections"]
  node_title["Title card<br/>[Titlecard.jsx]"]
  node_services["Legal services<br/>[Content.jsx]"]
  node_team["Team<br/>[Team.jsx]"]
  node_contact["Contact<br/>[Contact.jsx]"]
  node_footer["Footer<br/>[Footer.js]"]
end

subgraph group_preferences["User preferences"]
  node_preferences["Preference controls<br/>[App.js]"]
  node_storage[("Local storage")]
end

node_visitor(("Site visitor"))

node_visitor -->|"browses"| node_app
node_app -->|"configures scrolling"| node_fullpage
node_app -->|"renders"| node_title
node_app -->|"renders"| node_services
node_app -->|"renders"| node_team
node_app -->|"renders"| node_contact
node_app -->|"renders"| node_footer
node_app -->|"handles controls"| node_preferences
node_preferences -->|"reads and writes"| node_storage
node_app -->|"reports metrics"| node_vitals

click node_app "https://github.com/kacperkicior/law_bureau/blob/master/src/App.js"
click node_title "https://github.com/kacperkicior/law_bureau/blob/master/src/components/Titlecard.jsx"
click node_services "https://github.com/kacperkicior/law_bureau/blob/master/src/components/Content.jsx"
click node_team "https://github.com/kacperkicior/law_bureau/blob/master/src/components/Team.jsx"
click node_contact "https://github.com/kacperkicior/law_bureau/blob/master/src/components/Contact.jsx"
click node_footer "https://github.com/kacperkicior/law_bureau/blob/master/src/components/Footer.js"
click node_preferences "https://github.com/kacperkicior/law_bureau/blob/master/src/App.js"
click node_vitals "https://github.com/kacperkicior/law_bureau/blob/master/src/reportWebVitals.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_app,node_fullpage,node_vitals toneBlue
class node_title,node_services,node_team,node_contact,node_footer toneAmber
class node_preferences,node_storage toneMint
class node_visitor toneIndigo
```

## Components

### Page shell

- [App shell](https://github.com/kacperkicior/law_bureau/blob/master/src/App.js): `src/App.js`
- **Fullpage.js**
- [Vitals reporter](https://github.com/kacperkicior/law_bureau/blob/master/src/reportWebVitals.js): `src/reportWebVitals.js`

### Site sections

- [Title card](https://github.com/kacperkicior/law_bureau/blob/master/src/components/Titlecard.jsx): `src/components/Titlecard.jsx`
- [Legal services](https://github.com/kacperkicior/law_bureau/blob/master/src/components/Content.jsx): `src/components/Content.jsx`
- [Team](https://github.com/kacperkicior/law_bureau/blob/master/src/components/Team.jsx): `src/components/Team.jsx`
- [Contact](https://github.com/kacperkicior/law_bureau/blob/master/src/components/Contact.jsx): `src/components/Contact.jsx`
- [Footer](https://github.com/kacperkicior/law_bureau/blob/master/src/components/Footer.js): `src/components/Footer.js`

### User preferences

- [Preference controls](https://github.com/kacperkicior/law_bureau/blob/master/src/App.js): `src/App.js`
- **Local storage**

### Other components

- **Site visitor**

## Connections

- Site visitor → App shell: browses
- App shell → Fullpage.js: configures scrolling (evidence: `src/App.js`)
- App shell → Title card: renders (evidence: `src/App.js`)
- App shell → Legal services: renders (evidence: `src/App.js`)
- App shell → Team: renders (evidence: `src/App.js`)
- App shell → Contact: renders (evidence: `src/App.js`)
- App shell → Footer: renders (evidence: `src/App.js`)
- App shell → Preference controls: handles controls (evidence: `src/App.js`)
- Preference controls → Local storage: reads and writes (evidence: `src/App.js`)
- App shell → Vitals reporter: reports metrics (evidence: `src/index.js`)
