From 3b0707b941c00b8b0ebcadca2a272280437f53cb Mon Sep 17 00:00:00 2001 From: mmeigs Date: Wed, 1 Oct 2025 14:57:03 -0400 Subject: [PATCH 1/4] remove px from card icons --- src/components/Card/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Card/index.tsx b/src/components/Card/index.tsx index cae6adb19..1cb5ef017 100644 --- a/src/components/Card/index.tsx +++ b/src/components/Card/index.tsx @@ -161,10 +161,10 @@ const Card = ({ isCompact, isExtraCompact, isCenterContentStyle, isLargeIconStyl const isLanding = template === 'landing'; let imgSize; - if (isLargeIconStyle) imgSize = '50px'; - else if (isLanding) imgSize = theme.size.xlarge; - else if (template === 'product-landing') imgSize = theme.size.large; - else imgSize = theme.size.medium; + if (isLargeIconStyle) imgSize = '50'; + else if (isLanding) imgSize = '64'; + else if (template === 'product-landing') imgSize = '32'; + else imgSize = '24'; const useCompactIcon = !['landing', 'product-landing'].includes(template); From 2660100f6aeef3d80a9c812a5f9ce1ed5a1e7210 Mon Sep 17 00:00:00 2001 From: mmeigs Date: Wed, 1 Oct 2025 15:07:48 -0400 Subject: [PATCH 2/4] change to landing --- netlify.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 311017172..212caa920 100644 --- a/netlify.toml +++ b/netlify.toml @@ -7,7 +7,7 @@ command = ". ./build.sh $REPO_NAME $PARSER_VERSION" [build.environment] ORG_NAME = "10gen" -REPO_NAME = "cloud-docs" +REPO_NAME = "docs-landing" BRANCH_NAME = "main" -SITE_NAME = "atlas" +SITE_NAME = "landing" PARSER_VERSION = "v0.20.9" From 64540fdc6d8c8648da660dfa979318334d9f9f11 Mon Sep 17 00:00:00 2001 From: mmeigs Date: Wed, 1 Oct 2025 15:13:23 -0400 Subject: [PATCH 3/4] update snapshots --- tests/unit/__snapshots__/Card.test.js.snap | 4 ++-- tests/unit/__snapshots__/CardGroup.test.js.snap | 12 ++++++------ tests/unit/__snapshots__/CardRef.test.js.snap | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/unit/__snapshots__/Card.test.js.snap b/tests/unit/__snapshots__/Card.test.js.snap index da9f80115..3d11c34d5 100644 --- a/tests/unit/__snapshots__/Card.test.js.snap +++ b/tests/unit/__snapshots__/Card.test.js.snap @@ -209,9 +209,9 @@ exports[`renders correctly 1`] = ` width: 20px; } " - height="24px" + height="24" src="/images/icons/university.svg" - width="24px" + width="24" />
Date: Mon, 6 Oct 2025 14:29:14 -0400 Subject: [PATCH 4/4] change netlify toml back --- netlify.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 212caa920..311017172 100644 --- a/netlify.toml +++ b/netlify.toml @@ -7,7 +7,7 @@ command = ". ./build.sh $REPO_NAME $PARSER_VERSION" [build.environment] ORG_NAME = "10gen" -REPO_NAME = "docs-landing" +REPO_NAME = "cloud-docs" BRANCH_NAME = "main" -SITE_NAME = "landing" +SITE_NAME = "atlas" PARSER_VERSION = "v0.20.9"