Refreshes the shared reverse engineering docs, adds the requirements, application design and units for the homepage-sections feature, and updates the static design: live prices and form fields, the new Lieve woorden block and the coming-soon gate over the contact form. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
55 lines
2.3 KiB
Markdown
55 lines
2.3 KiB
Markdown
# Dependencies
|
|
|
|
## Internal Dependencies
|
|
|
|
```mermaid
|
|
graph LR
|
|
main["main.tsx"] --> theme["theme.ts + recipes"]
|
|
main --> routes["routes/*"]
|
|
main --> monitoring["monitoring/*"]
|
|
routes --> components["components/*"]
|
|
routes --> content["content/*"]
|
|
routes --> seo["seo.ts + sitePages.ts"]
|
|
components --> lib["lib/*"]
|
|
components --> hooks["hooks/*"]
|
|
components --> navigation["navigation.ts"]
|
|
components --> assets["assets/*"]
|
|
config["config/* (Node, build time)"] --> monitoring
|
|
config --> seo
|
|
classDef app fill:#63b3ed,stroke:#2b6cb0,stroke-width:1px,color:#000;
|
|
classDef support fill:#e2e8f0,stroke:#4a5568,stroke-width:1px,color:#000;
|
|
classDef build fill:#f6e05e,stroke:#c05621,stroke-width:1px,color:#000;
|
|
class main,routes,components app;
|
|
class theme,monitoring,content,seo,lib,hooks,navigation,assets support;
|
|
class config build;
|
|
```
|
|
|
|
Text alternative: main depends on theme, routes and monitoring; routes depend on components, content and SEO; components depend on lib, hooks, navigation and assets; build-time config reads monitoring (CSP origins) and SEO (sitemap).
|
|
|
|
### routes depend on content and components
|
|
- **Type**: Compile
|
|
- **Reason**: Routes pass static content objects into components as props
|
|
|
|
### config depends on monitoring/config.ts
|
|
- **Type**: Build time (Node)
|
|
- **Reason**: CSP `script-src`/`connect-src` include the Umami and Sentry origins; that file therefore has no Vite imports
|
|
|
|
### components depend on theme tokens
|
|
- **Type**: Runtime (string token references such as `bg="paper.alt"`, `textStyle="eyebrow"`)
|
|
|
|
## External Dependencies
|
|
### @chakra-ui/react ^3.37.0, @emotion/react ^11.14.0
|
|
- **Purpose**: Styling system and UI primitives — **License**: MIT
|
|
### @tanstack/react-router ^1.170.39
|
|
- **Purpose**: Routing — **License**: MIT
|
|
### react / react-dom ^19.3.0
|
|
- **Purpose**: UI runtime — **License**: MIT
|
|
### @sentry/react ^11.8.0
|
|
- **Purpose**: Error reporting — **License**: MIT
|
|
### @fontsource/jost, @fontsource/marcellus ^5.3.0
|
|
- **Purpose**: Self-hosted fonts — **License**: OFL-1.1
|
|
### @iconify/react ^6.0.2, @iconify-icons/ant-design 2.0.1 (dev)
|
|
- **Purpose**: Icons, bundled at build time — **License**: MIT
|
|
### Dev tooling
|
|
- Vite, Vitest, Testing Library, fast-check, axe-core, ESLint, Prettier, Lighthouse CI, Chakra CLI — all MIT/Apache-2.0/MPL-2.0 (axe-core)
|