fix(klz-2026): remove tagline from front page (white) while preserving it on back page (blue)
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 14s
Build & Deploy / 🧪 QA (push) Successful in 1m52s
Build & Deploy / 🏗️ Build (push) Successful in 2m53s
Build & Deploy / 🚀 Deploy (push) Successful in 18s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 1m25s
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-06-12 13:10:38 +02:00
parent 6e3befdfd9
commit 3c2aa8b71e

View File

@@ -815,7 +815,12 @@ export const PDFBusinessCard: React.FC<PDFBusinessCardProps> = ({
};
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