Adds AI-DLC inception docs for the front-end shell feature
Workspace detection, reverse engineering of web/, requirements with answered verification questions, the execution plan and the open application design questions for the frontend-shell feature. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# API Documentation
|
||||
|
||||
## REST APIs
|
||||
None. The project has no back-end yet. The static design README anticipates these future endpoints on a .NET API:
|
||||
- `POST /api/contact` — contact form, payload `{ naam, email, onderwerp, bericht }`
|
||||
- `/api/pages`, `/api/portfolio`, `/api/packages` — CMS content
|
||||
|
||||
## Internal APIs
|
||||
|
||||
### Routes (TanStack Router, file-based)
|
||||
| Path | File | Head | Component |
|
||||
|------|------|------|-----------|
|
||||
| (root) | `routes/__root.tsx` | `siteHead` | `AppShell` via `RootLayout` |
|
||||
| `/` | `routes/index.tsx` | `pageHead(...)` | `Hero` |
|
||||
| `/over-mij` | `routes/over-mij.tsx` | `pageHead(...)` | placeholder |
|
||||
|
||||
### seo.ts
|
||||
- **Methods**: `pageHead({ title: string, description: string })` → `{ meta: [...] }`; `siteHead` constant
|
||||
- **Return Types**: TanStack Router `head` option object (title, description, og:title, og:description)
|
||||
|
||||
### Components (props)
|
||||
- `AppShell()` — no props
|
||||
- `NavigationBar()` — no props; reads route via `useRouterState`, scroll via `useScrolledPast`
|
||||
- `NavLink(props: ComponentProps<ChakraLink>)`
|
||||
- `MobileNav({ id: string, open: boolean, onClose: () => void })`
|
||||
- `Footer()` — no props
|
||||
- `LinkButton(props: ChakraLink props & { variant?: 'outline' | 'accent' | 'light' })`
|
||||
- `Hero({ content: HeroContent })`, `HeroArrows({ onPrev, onNext })`, `HeroSocials({ socials: HeroSocial[] })`
|
||||
|
||||
### Hooks
|
||||
- `useScrolledPast(getThreshold: () => number): boolean` — `getThreshold` must be referentially stable (it is an effect dependency)
|
||||
- `useHeroSlider(count: number)` → `{ active, reducedMotion, autoplay, paused, next, prev, handlers }`
|
||||
|
||||
## Data Models
|
||||
### NavItem (`navItems.ts`)
|
||||
- **Fields**: `to` (route path), `label` (Dutch menu label)
|
||||
- **Validation**: `as const` — `to` must be a registered route for type-safe `Link`
|
||||
|
||||
### HeroContent (`Hero/types.ts`)
|
||||
- **Fields**: `title`, `tagline`, `cta: { label, to }`, `slides: { id, src, alt }[]`, `socials: { platform, href }[]`
|
||||
- **Relationships**: `HeroSocial.platform` is a `SocialPlatform` key from `socialPlatforms.ts`
|
||||
- **Validation**: empty `href` → social not shown
|
||||
@@ -0,0 +1,107 @@
|
||||
# System Architecture
|
||||
|
||||
## System Overview
|
||||
A single client-side React SPA (`web/`) built with Vite. Routing is file-based via TanStack Router; styling uses Chakra UI v3 with a custom theme system (tokens taken from the static design). There is no back-end, API, database or deployment pipeline yet; the README states a .NET API is planned. Content is currently hard-coded in TypeScript modules shaped so they can later come from that API.
|
||||
|
||||
## Architecture Diagram
|
||||
|
||||
```mermaid
|
||||
graph TD
|
||||
Main["main.tsx: ChakraProvider + ThemeProvider + RouterProvider"] --> Root["routes/__root.tsx: HeadContent + AppShell + Devtools"]
|
||||
Root --> Shell["components/AppShell.tsx"]
|
||||
Shell --> Nav["NavigationBar (+ NavLink, MobileNav, navItems)"]
|
||||
Shell --> Outlet["Outlet (active page route)"]
|
||||
Shell --> Footer["Footer (placeholder)"]
|
||||
Outlet --> Home["routes/index.tsx: Hero"]
|
||||
Outlet --> About["routes/over-mij.tsx: placeholder"]
|
||||
Home --> Hero["Hero (+ HeroArrows, HeroSocials, useHeroSlider)"]
|
||||
Hero --> Content["heroContent.ts (static content)"]
|
||||
Nav --> Scroll["hooks/useScrolledPast"]
|
||||
Theme["theme.ts + recipes/linkButton.ts"] -.-> Main
|
||||
Seo["seo.ts: pageHead / siteHead"] -.-> Root
|
||||
Seo -.-> Home
|
||||
classDef entry fill:#f6e05e,stroke:#c05621,stroke-width:1px,color:#000;
|
||||
classDef shell fill:#63b3ed,stroke:#2b6cb0,stroke-width:1px,color:#000;
|
||||
classDef page fill:#9ae6b4,stroke:#2f855a,stroke-width:1px,color:#000;
|
||||
classDef support fill:#e2e8f0,stroke:#4a5568,stroke-width:1px,color:#000;
|
||||
class Main,Root entry;
|
||||
class Shell,Nav,Footer,Outlet shell;
|
||||
class Home,About,Hero page;
|
||||
class Content,Scroll,Theme,Seo support;
|
||||
```
|
||||
|
||||
Text alternative: main.tsx mounts providers and the router; the root route renders AppShell (NavigationBar, the active page via Outlet, Footer); the home route renders the Hero; theme and SEO helpers support all of it.
|
||||
|
||||
## Component Descriptions
|
||||
### main.tsx
|
||||
- **Purpose**: Application bootstrap
|
||||
- **Responsibilities**: Creates the router, registers types, mounts ChakraProvider (custom system), next-themes ThemeProvider (light only), loads self-hosted fonts, removes static fallback head tags
|
||||
- **Dependencies**: routeTree.gen.ts, theme.ts
|
||||
- **Type**: Application
|
||||
|
||||
### routes/__root.tsx
|
||||
- **Purpose**: Root route / layout
|
||||
- **Responsibilities**: Site-wide head tags (`siteHead`), renders `HeadContent`, `AppShell` and router devtools
|
||||
- **Dependencies**: AppShell, seo.ts
|
||||
- **Type**: Application
|
||||
|
||||
### components/AppShell.tsx
|
||||
- **Purpose**: Application shell
|
||||
- **Responsibilities**: Renders NavigationBar, `<Outlet />`, Footer. No `<main>` landmark, skip link or to-top button yet
|
||||
- **Type**: Application
|
||||
|
||||
### components/NavigationBar/
|
||||
- **Purpose**: Site header and navigation
|
||||
- **Responsibilities**: Fixed header; transparent over the hero on desktop on `/` until scrolled 150px; shrinks after scroll (desktop); swaps dark/light logo; desktop link list with animated underline (`NavLink`); hamburger button and full-screen `MobileNav` below `lg` (Escape to close, body scroll lock, clip-path reveal). `navItems.ts` is the single menu source (currently Home, Over mij)
|
||||
- **Type**: Application
|
||||
|
||||
### components/Footer.tsx
|
||||
- **Purpose**: Site footer
|
||||
- **Responsibilities**: Placeholder copyright line only; uses Tailwind-style `className`s that have no effect (Tailwind is not installed)
|
||||
- **Type**: Application
|
||||
|
||||
### components/Hero/
|
||||
- **Purpose**: Homepage hero slider
|
||||
- **Responsibilities**: Crossfade slides with zoom, progress bar driven autoplay, arrows, swipe, pause on hover/focus/hidden tab, reduced-motion support, social icons. Content typed in `types.ts` for future API use; `socialPlatforms.ts` maps platform keys to offline Iconify icons
|
||||
- **Type**: Application
|
||||
|
||||
### theme.ts / recipes/linkButton.ts
|
||||
- **Purpose**: Design system
|
||||
- **Responsibilities**: Colour, font, spacing, easing, duration tokens; semantic `bg`/`fg`, `header` size tokens; `eyebrow`/`display` text styles; `linkButton` recipe (outline / accent / light)
|
||||
- **Type**: Application (shared UI foundation)
|
||||
|
||||
### seo.ts
|
||||
- **Purpose**: Head tag helpers
|
||||
- **Responsibilities**: `pageHead({title, description})` for route `head` options; `siteHead` for site-wide Open Graph tags
|
||||
- **Type**: Application (utility)
|
||||
|
||||
## Data Flow
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
box rgba(246,224,94,0.4) Browser
|
||||
participant V as Visitor
|
||||
end
|
||||
box rgba(99,179,237,0.4) SPA
|
||||
participant R as Router
|
||||
participant S as AppShell
|
||||
participant P as Page route
|
||||
end
|
||||
V->>R: Open URL or click nav link
|
||||
R->>S: Render root layout
|
||||
S->>P: Render matched route via Outlet
|
||||
P-->>R: head() title and meta
|
||||
R-->>V: Updated page and head tags
|
||||
```
|
||||
|
||||
Text alternative: a visitor navigates, the router renders the root layout (AppShell), which renders the matched page through the Outlet; the page's head() supplies title/meta tags.
|
||||
|
||||
## Integration Points
|
||||
- **External APIs**: None yet (planned .NET API for content and contact form)
|
||||
- **Databases**: None
|
||||
- **Third-party Services**: Outbound links only — Facebook, Instagram profiles
|
||||
|
||||
## Infrastructure Components
|
||||
- **CDK Stacks**: None
|
||||
- **Deployment Model**: Not defined yet; output is a static Vite build (`dist/`)
|
||||
- **Networking**: N/A
|
||||
@@ -0,0 +1,47 @@
|
||||
# Business Overview
|
||||
|
||||
## Business Context Diagram
|
||||
|
||||
```mermaid
|
||||
graph LR
|
||||
Visitor["Website visitor (prospective client)"] --> Site["Andrea Slop Fotografie website (React SPA)"]
|
||||
Crawler["Search engines and link previews"] --> Site
|
||||
Site --> Social["Facebook and Instagram profiles"]
|
||||
Site --> Mail["E-mail (info@andreaslop.nl)"]
|
||||
Owner["Andrea (photographer, content owner)"] -.-> CMS["Planned .NET API / CMS"]
|
||||
CMS -.-> Site
|
||||
classDef person fill:#f6e05e,stroke:#c05621,stroke-width:1px,color:#000;
|
||||
classDef system fill:#63b3ed,stroke:#2b6cb0,stroke-width:1px,color:#000;
|
||||
classDef external fill:#9ae6b4,stroke:#2f855a,stroke-width:1px,color:#000;
|
||||
classDef planned fill:#e2e8f0,stroke:#4a5568,stroke-width:1px,stroke-dasharray:5 5,color:#000;
|
||||
class Visitor,Owner,Crawler person;
|
||||
class Site system;
|
||||
class Social,Mail external;
|
||||
class CMS planned;
|
||||
```
|
||||
|
||||
Text alternative: visitors and crawlers use the website, which links out to social profiles and e-mail; a planned .NET API/CMS (dashed) will later supply content managed by Andrea.
|
||||
|
||||
## Business Description
|
||||
- **Business Description**: Portfolio and marketing website for Andrea Slop Fotografie, a lifestyle photographer in Huizen (NL). It presents her work (loveshoots, family, pregnancy and newborn shoots), tells who she is, lists shoot types and prices, and gets prospective clients to make contact. It replaces an existing WordPress (Solene theme) site at andreaslop.nl.
|
||||
- **Business Transactions** (current state — front-end only, no back-end yet):
|
||||
- **Browse the homepage** — hero slider with featured photos, call-to-action to "Over mij"
|
||||
- **Navigate between pages** — header navigation (desktop) and hamburger menu (mobile)
|
||||
- **Visit social profiles** — Facebook / Instagram links in the hero
|
||||
- **Share / discover pages** — per-page title, meta description and Open Graph tags for search engines and link previews
|
||||
- *Planned (static design only)*: portfolio browsing with lightbox, shoot types and pricing, contact form, Instagram feed
|
||||
- **Business Dictionary**:
|
||||
- **Shell** — the Header / page content / Footer frame shared by every page (see LAYOUT.md)
|
||||
- **Hero** — full-screen photo slider at the top of the homepage
|
||||
- **Info menu / side area** — slide-in panel from the design with socials and e-mail (out of scope for this site, by owner decision)
|
||||
- **Shoot** — a photo session type (newborn, pregnancy, loveshoot, portraits)
|
||||
- **CMS** — the planned .NET API that will provide page content; content is hard-coded until then
|
||||
|
||||
## Component Level Business Descriptions
|
||||
### web (React front-end)
|
||||
- **Purpose**: The public website visitors see
|
||||
- **Responsibilities**: Page routing, layout shell, homepage hero, SEO head tags, design system (colours, fonts, buttons)
|
||||
|
||||
### design/andreaslop-static (reference only)
|
||||
- **Purpose**: Static HTML/CSS/JS rebuild of the live site, used as the visual and structural source of truth
|
||||
- **Responsibilities**: Defines page sections, header/footer markup, design tokens and interactions to port to React
|
||||
@@ -0,0 +1,26 @@
|
||||
# Code Quality Assessment
|
||||
|
||||
## Test Coverage
|
||||
- **Overall**: None
|
||||
- **Unit Tests**: None (no test runner installed)
|
||||
- **Integration Tests**: None
|
||||
- Verification so far is `tsc` type-checking during `pnpm build` and manual browser checks
|
||||
|
||||
## Code Quality Indicators
|
||||
- **Linting**: Not configured (TypeScript `noUnused*` flags only)
|
||||
- **Code Style**: Mostly consistent (Prettier: 4 spaces, single quotes). Exception: `routes/over-mij.tsx` uses double quotes and 2-space indent
|
||||
- **Documentation**: Good inline comments in Dutch explaining intent; README is a stub
|
||||
|
||||
## Technical Debt
|
||||
- `theme.ts` `globalCss.body.height: '250vh'` — temporary scroll-testing hack; forces every page to be 2.5 screens tall
|
||||
- `components/Footer.tsx` and `routes/over-mij.tsx` use Tailwind-style `className`s (`p-2`, `text-sm`, …) that do nothing — Tailwind is not installed
|
||||
- `AppShell` has no `<main>` landmark; static design has a skip link targeting `#main`
|
||||
- Header logo is not a link to the homepage (design: link with aria-label)
|
||||
- Social links are defined inside `Hero/heroContent.ts`; the footer in the design needs the same links → candidate for shared site-level content
|
||||
- `NavigationBar.tsx` uses `let [open, setOpen]` (should be `const`)
|
||||
- Unused Vite starter assets: `assets/hero.png`, `assets/typescript.svg`, `assets/vite.svg`
|
||||
- Design asset `footer-mark.png` (footer logo) not yet present in `web/src/assets`
|
||||
|
||||
## Patterns and Anti-patterns
|
||||
- **Good Patterns**: design tokens as single source of truth; API-shaped static content; accessible interactions (aria labels, Escape to close, reduced motion, focus-visible handling); shared `navItems` for desktop and mobile
|
||||
- **Anti-patterns**: no-op `className` usage (see above); global body height hack
|
||||
@@ -0,0 +1,93 @@
|
||||
# Code Structure
|
||||
|
||||
## Build System
|
||||
- **Type**: npm-compatible via **pnpm** (lockfile `web/pnpm-lock.yaml`)
|
||||
- **Configuration**:
|
||||
- `web/package.json` — scripts `dev` (vite), `build` (`tsc && vite build`), `preview`, `typegen` (Chakra typegen for theme)
|
||||
- `web/vite.config.js` — TanStack Router plugin (`autoCodeSplitting`) before `@vitejs/plugin-react`; `resolve.tsconfigPaths`
|
||||
- `web/tsconfig.json` — strict-ish bundler mode, `@/*` → `src/*` alias, `noUnusedLocals/Parameters`, `erasableSyntaxOnly`
|
||||
- `web/.prettierrc` — 4 spaces, single quotes, semicolons
|
||||
|
||||
## Key Classes/Modules
|
||||
|
||||
```mermaid
|
||||
graph TD
|
||||
Root["routes/__root.tsx"] --> AppShell["components/AppShell.tsx"]
|
||||
AppShell --> NavigationBar["NavigationBar/NavigationBar.tsx"]
|
||||
AppShell --> Footer["components/Footer.tsx"]
|
||||
NavigationBar --> NavLink["NavigationBar/NavLink.tsx"]
|
||||
NavigationBar --> MobileNav["NavigationBar/MobileNav.tsx"]
|
||||
NavigationBar --> navItems["NavigationBar/navItems.ts"]
|
||||
MobileNav --> navItems
|
||||
NavigationBar --> useScrolledPast["hooks/useScrolledPast.tsx"]
|
||||
Index["routes/index.tsx"] --> Hero["Hero/Hero.tsx"]
|
||||
Hero --> HeroArrows["Hero/HeroArrows.tsx"]
|
||||
Hero --> HeroSocials["Hero/HeroSocials.tsx"]
|
||||
Hero --> useHeroSlider["Hero/useHeroSlider.ts"]
|
||||
Hero --> LinkButton["components/LinkButton.tsx"]
|
||||
HeroSocials --> socialPlatforms["Hero/socialPlatforms.ts"]
|
||||
classDef shell fill:#63b3ed,stroke:#2b6cb0,stroke-width:1px,color:#000;
|
||||
classDef page fill:#9ae6b4,stroke:#2f855a,stroke-width:1px,color:#000;
|
||||
classDef util fill:#e2e8f0,stroke:#4a5568,stroke-width:1px,color:#000;
|
||||
class Root,AppShell,NavigationBar,Footer,NavLink,MobileNav shell;
|
||||
class Index,Hero,HeroArrows,HeroSocials page;
|
||||
class navItems,useScrolledPast,useHeroSlider,LinkButton,socialPlatforms util;
|
||||
```
|
||||
|
||||
Text alternative: the root route renders AppShell (NavigationBar with NavLink/MobileNav/navItems, plus Footer); the index route renders Hero with its arrows, socials, slider hook and the shared LinkButton.
|
||||
|
||||
### Existing Files Inventory
|
||||
- `web/index.html` — HTML entry; static fallback title/meta for non-JS crawlers (`data-fallback`)
|
||||
- `web/src/main.tsx` — bootstrap: providers, router, fonts, removes fallback head tags
|
||||
- `web/src/routeTree.gen.ts` — generated by TanStack Router plugin (do not edit)
|
||||
- `web/src/routes/__root.tsx` — root layout route, site-wide head
|
||||
- `web/src/routes/index.tsx` — home page (`/`), renders Hero
|
||||
- `web/src/routes/over-mij.tsx` — about page (`/over-mij`), placeholder content
|
||||
- `web/src/components/AppShell.tsx` — shell: NavigationBar + Outlet + Footer
|
||||
- `web/src/components/Footer.tsx` — placeholder footer
|
||||
- `web/src/components/LinkButton.tsx` — router `Link` styled with `linkButton` recipe
|
||||
- `web/src/components/NavigationBar/NavigationBar.tsx` — header, logo, desktop nav, hamburger
|
||||
- `web/src/components/NavigationBar/NavLink.tsx` — desktop nav link with underline animation
|
||||
- `web/src/components/NavigationBar/MobileNav.tsx` — full-screen mobile menu
|
||||
- `web/src/components/NavigationBar/navItems.ts` — menu items (Home, Over mij)
|
||||
- `web/src/components/Hero/*` — hero slider (component, arrows, socials, hook, content, types, platforms)
|
||||
- `web/src/hooks/useScrolledPast.tsx` — boolean "scrolled past threshold" hook
|
||||
- `web/src/recipes/linkButton.ts` — Chakra recipe for the square design button
|
||||
- `web/src/theme.ts` — Chakra system config (tokens, semantic tokens, text styles, recipes)
|
||||
- `web/src/seo.ts` — `pageHead` / `siteHead` helpers
|
||||
- `web/src/assets/*` — hero photos, light/dark logos, unused Vite starter assets (`hero.png`, `typescript.svg`, `vite.svg`)
|
||||
- `web/public/favicon.png`, `web/public/icons.svg` — static public assets
|
||||
|
||||
## Design Patterns
|
||||
### Chakra `chakra()` factory around router `Link`
|
||||
- **Location**: NavLink, MobileNav, LinkButton
|
||||
- **Purpose**: Router-aware links with Chakra style props and `_currentPage` / `aria-current` styling
|
||||
- **Implementation**: `const ChakraLink = chakra(Link)`
|
||||
|
||||
### Design tokens + recipes
|
||||
- **Location**: theme.ts, recipes/
|
||||
- **Purpose**: Single source for colours, fonts, spacing, motion; reusable component variants
|
||||
- **Implementation**: `defineConfig` tokens/semanticTokens/textStyles, `defineRecipe` + `useRecipe`
|
||||
|
||||
### API-shaped static content
|
||||
- **Location**: Hero/heroContent.ts + types.ts, navItems.ts
|
||||
- **Purpose**: Hard-coded content today, swappable for CMS API responses later
|
||||
- **Implementation**: Plain data objects typed with interfaces; components receive them as props
|
||||
|
||||
### Route-level head management
|
||||
- **Location**: seo.ts, each route's `head` option, `HeadContent` in root
|
||||
- **Purpose**: Per-page SEO without SSR
|
||||
|
||||
## Critical Dependencies
|
||||
### @chakra-ui/react
|
||||
- **Version**: ^3.37.0
|
||||
- **Usage**: All layout and styling
|
||||
- **Purpose**: Component library and styling system
|
||||
### @tanstack/react-router (+ router-plugin)
|
||||
- **Version**: ^1.170.39 / ^1.168.40
|
||||
- **Usage**: File-based routes, `Link`, `Outlet`, `HeadContent`, `useRouterState`
|
||||
- **Purpose**: Routing and head management
|
||||
### @iconify/react + @iconify-icons/ant-design
|
||||
- **Version**: ^6.0.2 / 2.0.1
|
||||
- **Usage**: Offline icons in Hero
|
||||
- **Purpose**: Icons bundled at build time (no API calls)
|
||||
@@ -0,0 +1,24 @@
|
||||
# Component Inventory
|
||||
|
||||
## Application Packages
|
||||
- `web` — React 19 SPA (Vite, Chakra UI v3, TanStack Router): the public website
|
||||
|
||||
## Infrastructure Packages
|
||||
- None (no IaC, Docker, or CI/CD configuration present)
|
||||
|
||||
## Shared Packages
|
||||
- None as separate packages. Inside `web`, shared modules are `theme.ts`, `recipes/`, `seo.ts`, `hooks/`, `components/LinkButton.tsx`
|
||||
|
||||
## Test Packages
|
||||
- None
|
||||
|
||||
## Reference (non-code)
|
||||
- `design/andreaslop-static` — static HTML/CSS/JS design reference (not built or deployed)
|
||||
- `design/AndreaSlopFotografie_React.zip` — archive of design files
|
||||
|
||||
## Total Count
|
||||
- **Total Packages**: 1
|
||||
- **Application**: 1
|
||||
- **Infrastructure**: 0
|
||||
- **Shared**: 0
|
||||
- **Test**: 0
|
||||
@@ -0,0 +1,54 @@
|
||||
# Dependencies
|
||||
|
||||
## Internal Dependencies
|
||||
|
||||
```mermaid
|
||||
graph LR
|
||||
routes["routes/*"] --> components["components/*"]
|
||||
routes --> seo["seo.ts"]
|
||||
components --> hooks["hooks/*"]
|
||||
components --> theme["theme.ts tokens (via Chakra props)"]
|
||||
components --> assets["assets/*"]
|
||||
main["main.tsx"] --> theme
|
||||
main --> routes
|
||||
classDef app fill:#63b3ed,stroke:#2b6cb0,stroke-width:1px,color:#000;
|
||||
classDef support fill:#e2e8f0,stroke:#4a5568,stroke-width:1px,color:#000;
|
||||
class main,routes,components app;
|
||||
class seo,hooks,theme,assets support;
|
||||
```
|
||||
|
||||
Text alternative: main depends on theme and routes; routes depend on components and seo; components depend on hooks, theme tokens and assets.
|
||||
|
||||
### routes depend on components
|
||||
- **Type**: Compile
|
||||
- **Reason**: Routes render AppShell (root) and page components
|
||||
|
||||
### 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
|
||||
|
||||
## 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
|
||||
@@ -0,0 +1,17 @@
|
||||
# Reverse Engineering Metadata
|
||||
|
||||
**Analysis Date**: 2026-10-14T09:58:04Z
|
||||
**Analyzer**: AI-DLC
|
||||
**Workspace**: C:\Users\bdslo\Documents\Development\AndreaSlopFotografie
|
||||
**Codebase Commit**: 8f5841c (branch feature/hero-slider-and-navigation)
|
||||
**Total Files Analyzed**: 30 (web/src, web config files, design/andreaslop-static shell markup and README)
|
||||
|
||||
## Artifacts Generated
|
||||
- [x] business-overview.md
|
||||
- [x] architecture.md
|
||||
- [x] code-structure.md
|
||||
- [x] api-documentation.md
|
||||
- [x] component-inventory.md
|
||||
- [x] technology-stack.md
|
||||
- [x] dependencies.md
|
||||
- [x] code-quality-assessment.md
|
||||
@@ -0,0 +1,28 @@
|
||||
# Technology Stack
|
||||
|
||||
## Programming Languages
|
||||
- TypeScript — ~6.0.2 — all application code (TSX)
|
||||
- HTML/CSS/JS — design reference only (`design/andreaslop-static`)
|
||||
- C# / .NET — planned back-end (not present)
|
||||
|
||||
## Frameworks
|
||||
- React — ^19.3.0 — UI
|
||||
- Chakra UI — ^3.37.0 (+ @emotion/react ^11.14.0) — styling system and components
|
||||
- TanStack Router — ^1.170.39 — file-based routing, head management (devtools ^1.167.2)
|
||||
- next-themes — ^0.4.6 — colour mode provider (fixed to light)
|
||||
- @fontsource/jost, @fontsource/marcellus — ^5.3.0 — self-hosted fonts
|
||||
- @iconify/react ^6.0.2 + @iconify-icons/ant-design 2.0.1 — offline icons
|
||||
|
||||
## Infrastructure
|
||||
- None yet; static build output suitable for any static host
|
||||
|
||||
## Build Tools
|
||||
- Vite — ^8.3.0 — dev server and bundler
|
||||
- @vitejs/plugin-react — ^6.1.1
|
||||
- @tanstack/router-plugin — ^1.168.40 — route tree generation, code splitting
|
||||
- @chakra-ui/cli — ^3.37.0 — theme typegen
|
||||
- pnpm — package manager
|
||||
- Prettier — ^3.9.9 — formatting
|
||||
|
||||
## Testing Tools
|
||||
- None configured (no test runner, no linter such as ESLint)
|
||||
Reference in New Issue
Block a user