From 3c2aa8b71e2db32d00cb688dd450085bb0c1e29b Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Fri, 12 Jun 2026 13:10:38 +0200 Subject: [PATCH] fix(klz-2026): remove tagline from front page (white) while preserving it on back page (blue) --- lib/pdf-business-card.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/pdf-business-card.tsx b/lib/pdf-business-card.tsx index aa3768c7..26085a27 100644 --- a/lib/pdf-business-card.tsx +++ b/lib/pdf-business-card.tsx @@ -815,7 +815,12 @@ export const PDFBusinessCard: React.FC = ({ }; const getBackLogoPaths = () => { - return logoBlackWithTaglinePaths; + // The white page (front for the user) should not have the tagline. + // The logoWhitePaths array has 35 paths. Paths 0-24 are the graphic, + // 25-29 are "KLZ", and 30-34 are the "Cables for a greener tomorrow" tagline. + // We slice(0, 30) to perfectly strip the tagline while preserving the rest of the logo! + // The overrideWhiteColor={COLORS.black} prop will tint it black. + return logoWhitePaths.slice(0, 30); }; const bgImagePath = isWhiteVariant