From 8d4f167374dd914b61dbbca075d3510d97aac85a Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 24 Jul 2026 19:58:24 +0000 Subject: [PATCH] Deactivated product shows as sold out, StepArrow to black, newsletter checkmarks fixed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /todo-cards's detail page (the only page resolving a product regardless of active status) now renders both CTAs as "Ausverkauft" and disabled when the product is deactivated, instead of fully buyable — variants are dropped too, since AddToCartButton's outOfStock prop is otherwise ignored whenever variants is non-empty. - StepArrow: brand orange didn't fit here after all, switched to near-black (#222221) per feedback. - Newsletter/"Impulse & Tipps" checklist checkmarks (WeeklyImpulsesHero.tsx, WeeklyBenefits.tsx) were still the old un-recolorable icon-check.svg — same inline-SVG orange-checkmark fix as todo-cards/Challenge, plus items-start instead of items-center on WeeklyImpulsesHero's list for top-alignment consistency. --- app/components/StepArrow.tsx | 8 ++++--- app/newsletter/components/WeeklyBenefits.tsx | 13 ++++++++++- .../components/WeeklyImpulsesHero.tsx | 15 +++++++++++-- app/todo-cards/components/Pricing.tsx | 22 +++++++++++++++---- app/todo-cards/components/TodoKartenHero.tsx | 14 ++++++++++-- 5 files changed, 60 insertions(+), 12 deletions(-) diff --git a/app/components/StepArrow.tsx b/app/components/StepArrow.tsx index 67c74b7..9bb61e3 100644 --- a/app/components/StepArrow.tsx +++ b/app/components/StepArrow.tsx @@ -7,14 +7,16 @@ // 2. Its color lives in a `var(--stroke-0, #C9C9C9)` CSS custom property // that's scoped to the SVG file's own document when loaded via /next/image — un-recolorable from the host page's CSS, so it could -// never actually become the brand orange used everywhere else (buttons, -// checkmarks, icons). Inline SVG sidesteps that entirely. +// never actually become a solid dark color like the rest of this file's +// icons. Inline SVG sidesteps that entirely. Stroke color tried brand +// orange first, then switched to near-black (#222221, same as +// icon-check.svg's original fill) per feedback the same day. export function StepArrow({ className }: { className?: string }) { return (