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>
3.8 KiB
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), defaultsand. 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 fromlg; stacked it stays on top) andframeColor(passed toFramedImage). Defaults keepAboutBlockandAboutIntrounchanged.
CallToAction (new)
- Purpose: closing block of a page (design
.section--alt.section--tight+.container--narrow.text-center): h2, lead, action. - Responsibilities: the section frame (
PageSectionwithtone="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 aschildren(Application Design Q2 = A).
RichParagraph (moved, unchanged)
- Purpose: a paragraph of text pieces and inline links (
RichText). - Change: moves from
components/about/tocomponents/RichParagraph/; Over mij'sAboutIntroupdates its import. Used here for the lead ofCallToAction.
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 (linetoken), which block gets the high-priority photo (the first).
ShootBlock (new)
- Purpose: one shoot (design
.shoot): anarticlenamed by its h2. - Responsibilities:
MediaTextwith the shoot photo (4:5, frame colour from the content), the h2 (shootname), 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 withVisuallyHiddenparts, 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)
professionalServicereadsareaServedfromserviceArea.- New pure builder for the page's
ItemListofServiceitems, passed asextrainto contact-page'swebPage().
Theme (web/src/theme.ts)
- New colour tokens for the frames:
frame.stone#ABA699,frame.rust#975030,frame.taupe#A18679,frame.olive#84847C.sandandaccentalready exist.
Homepage (web/src/components/home/Pricing)
Pricingpassesid="prijzen"to itsPageSection(anchor for "de pakketten"). Nothing else changes.