diff --git a/app/components/PageBlocks.tsx b/app/components/PageBlocks.tsx index d67d6cf..c7433d3 100644 --- a/app/components/PageBlocks.tsx +++ b/app/components/PageBlocks.tsx @@ -274,7 +274,7 @@ export function renderPageBlockSync(block: PageBlock): React.ReactNode { // Same checkmark used by /lebensuhr's and /7-tage-klarheits-check's own // checklists. -function CheckIcon() { +export function CheckIcon() { return ( diff --git a/app/components/ProductBlocks.tsx b/app/components/ProductBlocks.tsx index 6b6b089..dd226e8 100644 --- a/app/components/ProductBlocks.tsx +++ b/app/components/ProductBlocks.tsx @@ -17,7 +17,7 @@ import { Reveal } from "./Reveal"; import { ProductGallery } from "./ProductGallery"; import { ProductBadge } from "./ProductBadge"; import { STEP_ICONS } from "./icons/StepIcons"; -import { renderPageBlockSync } from "./PageBlocks"; +import { renderPageBlockSync, CheckIcon } from "./PageBlocks"; import { TestimonialsGrid } from "./TestimonialsGrid"; // Renders a Payload Products document's `layout` blocks field — same @@ -260,17 +260,20 @@ function ProductHero({ product, shipping, taxRate, kleinunternehmer, body }: Pro {body ? : null} + {/* Plain checkmark, not usp.icon's own STEP_ICONS lookup — a + circled checkCircle glyph didn't match the plain checkmark + every other feature-bullet list on the site uses (der-eine's + original Hero.tsx, RichText.tsx's/PageBlocks.tsx's own + checklists) — reported 2026-08-30. usp.icon is still stored + (may be used elsewhere later), just not used for this list. */} {product.usps.length > 0 && ( )} diff --git a/app/components/ProductSpotlight.tsx b/app/components/ProductSpotlight.tsx index d8d8b14..921853c 100644 --- a/app/components/ProductSpotlight.tsx +++ b/app/components/ProductSpotlight.tsx @@ -104,13 +104,30 @@ export async function ProductSpotlight() { already narrow there. */}
- {product.name} + {/* Link wraps only the image, not the whole card — WishlistButton + below is its own interactive element and stays a sibling, same + "no nested interactive elements" reasoning as ProductCard.tsx's + own image link (reported 2026-08-30: spotlight's image wasn't + clickable at all before this, unlike every product-grid card). */} + {product.href ? ( + + {product.name} + + ) : ( + {product.name} + )}