Files
AndreaSlopFotografie/aidlc-docs/features/soorten-fotoshoots-page/inception/application-design/components.md
T
SluijsensandClaude Opus 5.5 166e5d32bb Records unit 1 of the Soorten fotoshoots page as generated
Adds the feature's inception documents (requirements, execution plan,
application design), the code generation plan and summary of unit 1,
its state and audit log, and its row in the active features list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:26:06 +01:00

3.8 KiB

Components — Soorten fotoshoots Page

Status per component: new, changed (backwards compatible) or reused (unchanged).

Shared components (web/src/components/)

FramedImage (changed)

  • Purpose: photo with the offset block behind its lower left corner (design .about__media).
  • Change: optional frameColor (a colour token), default sand. Existing callers pass nothing and render exactly as before.

MediaText (changed)

  • Purpose: framed photo next to a text column; stacked below lg.
  • Change: optional reverse (photo in the second column from lg; stacked it stays on top) and frameColor (passed to FramedImage). Defaults keep AboutBlock and AboutIntro unchanged.

CallToAction (new)

  • Purpose: closing block of a page (design .section--alt.section--tight + .container--narrow.text-center): h2, lead, action.
  • Responsibilities: the section frame (PageSection with tone="alt", width="narrow", spacing="tight", named by its h2), heading style (sectionTitle), lead style, the space above the action, centring, Reveal.
  • Interface: layout with fixed slots: title, titleId, lead (ReactNode), action as children (Application Design Q2 = A).

RichParagraph (moved, unchanged)

  • Purpose: a paragraph of text pieces and inline links (RichText).
  • Change: moves from components/about/ to components/RichParagraph/; Over mij's AboutIntro updates its import. Used here for the lead of CallToAction.

Reused

PageIntro, PageSection, Reveal, LinkButton (accent), RouterLink, Chakra Link (underline), VisuallyHidden, DeferredImage.

Page components (web/src/components/shoots/)

ShootList (new)

  • Purpose: the five shoot blocks in one PageSection (spacing="flushTop", directly below the page head).
  • Responsibilities: order, alternation (every second block reverse), the hairline between consecutive blocks (line token), which block gets the high-priority photo (the first).

ShootBlock (new)

  • Purpose: one shoot (design .shoot): an article named by its h2.
  • Responsibilities: MediaText with the shoot photo (4:5, frame colour from the content), the h2 (shoot name), the paragraphs, and the links: "Stuur een berichtje" (always) and "Bekijk meer …foto's" (only when the portfolio is live). Visible link texts are completed for screen readers with VisuallyHidden parts, as on the price cards.

Content (web/src/content/)

ShootType, ShootTypeId, FrameColor (new types in types.ts)

  • Shape agreed with portfolio-page; see component-methods.md.

shootTypes.ts (new)

  • The five shoot types in page order: texts, photo, frame colour token, optional package id. Also consumed by portfolio-page (filters, captions).

shootTypesPage content (new, e.g. shootTypesPageContent.ts)

  • Page texts: page head (eyebrow, title, intro) and the closing block (title, lead as RichText, button label).

siteContent.ts / SiteContent (changed)

  • New serviceArea: the places the business serves, used by all structured data.

Logic (web/src/lib/, web/src/seo.ts)

shootLinks.ts (new)

  • Pure functions that derive router link props from a shoot type: contact target and portfolio target, plus whether the portfolio link is shown.

seo.ts (changed)

  • professionalService reads areaServed from serviceArea.
  • New pure builder for the page's ItemList of Service items, passed as extra into contact-page's webPage().

Theme (web/src/theme.ts)

  • New colour tokens for the frames: frame.stone #ABA699, frame.rust #975030, frame.taupe #A18679, frame.olive #84847C. sand and accent already exist.

Homepage (web/src/components/home/Pricing)

  • Pricing passes id="prijzen" to its PageSection (anchor for "de pakketten"). Nothing else changes.