Removes the hover effect from the price cards
The lift, accent border and shadow on hovering a whole card are gone; only the booking button keeps its hover and focus effect. Also gives the test that waits for the lazily loaded review carousel a longer timeout, since its first import can take over a second under the full suite. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,7 @@ Plan: [prijzen-code-generation-plan.md](../../plans/prijzen-code-generation-plan
|
||||
| `web/src/content/types.ts` | `PricingPackage`; `HomeContent.pricing` |
|
||||
| `web/src/content/homeContent.ts` | Pricing title, lead, decorations |
|
||||
| `web/src/recipes/linkButton.ts` | `size: 'fit'` — no wrapping, smaller side padding on phones (BR-BOOK-03); default unchanged |
|
||||
| `web/src/theme.ts` | Shadow token `lift` for the card hover |
|
||||
| `web/src/theme.ts` | ~~Shadow token `lift` for the card hover~~ — removed again with the card hover (change request 2026-10-20) |
|
||||
| `web/src/test/arbitraries.ts` | `pricingPackage`, `uniquePackages`, `anyPackage` |
|
||||
| `web/src/routes/index.tsx` | `validateSearch` keeps `pakket` only as a string; renders `Pricing` after `AboutBlock` |
|
||||
| `web/src/app.test.tsx` | "Prijzen" in the page order; `?pakket=newborn`, `?pakket=123` and `?pakket=<script>` render without errors and without reflecting the value |
|
||||
@@ -32,6 +32,9 @@ Plan: [prijzen-code-generation-plan.md](../../plans/prijzen-code-generation-plan
|
||||
- **Second decoration**: the design positions it relative to the whole section; in the content box the last card covered it, so it was moved into the section's bottom padding (found in the visual check).
|
||||
- **Literal special spaces**: an editing tool turned ` `/` ` escapes into the characters themselves, which ESLint rejects (`no-irregular-whitespace`); they were written back as escapes and `src` was scanned for others.
|
||||
|
||||
## Change request after testing on test (2026-10-20)
|
||||
The owner removed the hover effect from the cards (lift, accent border, shadow); only the booking button keeps its effects. Removed in `PriceCard.tsx`, the `lift` shadow token in `theme.ts`, the static design (`.price-card:hover`) and the functional design.
|
||||
|
||||
## Property-based tests (PBT)
|
||||
| Function | Properties |
|
||||
|---|---|
|
||||
|
||||
Reference in New Issue
Block a user