Adds the inception docs and design for the homepage sections
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>
This commit is contained in:
@@ -4,51 +4,51 @@
|
||||
|
||||
```mermaid
|
||||
graph LR
|
||||
routes["routes/*"] --> components["components/*"]
|
||||
routes --> seo["seo.ts"]
|
||||
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 --> theme["theme.ts tokens (via Chakra props)"]
|
||||
components --> navigation["navigation.ts"]
|
||||
components --> assets["assets/*"]
|
||||
main["main.tsx"] --> theme
|
||||
main --> routes
|
||||
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 seo,hooks,theme,assets support;
|
||||
class theme,monitoring,content,seo,lib,hooks,navigation,assets support;
|
||||
class config build;
|
||||
```
|
||||
|
||||
Text alternative: main depends on theme and routes; routes depend on components and seo; components depend on hooks, theme tokens and assets.
|
||||
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 components
|
||||
### routes depend on content and components
|
||||
- **Type**: Compile
|
||||
- **Reason**: Routes render AppShell (root) and page components
|
||||
- **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"`, `h="header"`)
|
||||
- **Reason**: All visual values come from the Chakra system
|
||||
- **Type**: Runtime (string token references such as `bg="paper.alt"`, `textStyle="eyebrow"`)
|
||||
|
||||
## External Dependencies
|
||||
### @chakra-ui/react
|
||||
- **Version**: ^3.37.0
|
||||
- **Purpose**: Styling system and UI primitives
|
||||
- **License**: MIT
|
||||
### @tanstack/react-router
|
||||
- **Version**: ^1.170.39
|
||||
- **Purpose**: Routing
|
||||
- **License**: MIT
|
||||
### react / react-dom
|
||||
- **Version**: ^19.3.0
|
||||
- **Purpose**: UI runtime
|
||||
- **License**: MIT
|
||||
### next-themes
|
||||
- **Version**: ^0.4.6
|
||||
- **Purpose**: Colour mode
|
||||
- **License**: MIT
|
||||
### @iconify/react, @iconify-icons/ant-design
|
||||
- **Version**: ^6.0.2, 2.0.1
|
||||
- **Purpose**: Icons
|
||||
- **License**: MIT (icons: Ant Design, MIT)
|
||||
### @fontsource/jost, @fontsource/marcellus
|
||||
- **Version**: ^5.3.0
|
||||
- **Purpose**: Self-hosted web fonts
|
||||
- **License**: OFL-1.1
|
||||
### @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)
|
||||
|
||||
Reference in New Issue
Block a user