diff --git a/app/components/ProductBlocks.tsx b/app/components/ProductBlocks.tsx index 8c4860e..72841fe 100644 --- a/app/components/ProductBlocks.tsx +++ b/app/components/ProductBlocks.tsx @@ -141,6 +141,20 @@ function renderProductBlock(block: ProductBlock, ctx: ProductBlockContext): Reac // from there since both return their own JSX before calling this. case "crossSell": return null; + // Black, not brand-yellow — matching der-eine's own hand-coded Focus.tsx + // icons (#231f20 stroke), which this whole PDP system is meant to look + // like. STEP_ICONS' SVGs hardcode stroke="#f6a701" per-element (shared + // with Pages.layout's /lebensuhr, /3x3-system, /7-tage-klarheits-check, + // which DO want brand-yellow) — overriding via a CSS descendant + // selector here (SVG presentation attributes lose to any stylesheet + // rule) scopes the recolor to PDPs only, without touching the shared + // icon set or PageBlocks.tsx's own rendering. + case "stepRow": + return ( +
+ {renderPageBlockSync(block as PageBlock)} +
+ ); // A PDP-specific full-bleed treatment for this one block type only — // not editing the shared Quote.tsx/renderPageBlockSync, which would // also restyle every Pages.layout quote (e.g. /ueber-mich's). @@ -262,7 +276,7 @@ function ProductHero({ product, shipping, taxRate, kleinunternehmer, body }: Pro - - } /> + {/* max-w-[28rem] + centered, not a full-bleed col-span-7 image — + matches der-eine's own Hero.tsx exactly (that file's own + comment: capping display width keeps a modest source photo + from blowing up). This system is meant to look like der-eine, + not the other way round. */} + +
+ } /> +