Link every Home feature card to the page that covers it, and keep Ask an organizer from adding a second heading.

This commit is contained in:
adilallo committed 2026-11-12 17:09:48 -07:00
1 parent d3acd9aa9a
commit dc9625c3b2
9 files changed
+119 -49

No files matched your search

@@ -24,6 +24,7 @@ const FeatureGridContainer = memo<FeatureGridProps>(
),
descriptionClassName: "text-[var(--color-content-invert-brand-lavender)]",
iconSrc: getAssetPath(featureIconPath("git-branch")),
href: t("featureGrid.features.decisionMaking.href") || undefined,
},
{
backgroundColor: "bg-[var(--color-surface-invert-brand-lime)]",
@@ -33,26 +34,27 @@ const FeatureGridContainer = memo<FeatureGridProps>(
),
descriptionClassName: "text-[var(--color-content-invert-brand-lime)]",
iconSrc: getAssetPath(featureIconPath("arrow-left-right")),
href: "/how-it-works",
href: t("featureGrid.features.valuesAlignment.href") || undefined,
},
{
backgroundColor: "bg-[var(--color-surface-invert-brand-rust)]",
backgroundColor: "bg-[var(--color-surface-invert-brand-teal)]",
title: t("pages.home.featureGrid.features.membershipGuidance.title"),
description: t(
"pages.home.featureGrid.features.membershipGuidance.description",
),
descriptionClassName: "text-[var(--color-content-invert-brand-rust)]",
descriptionClassName: "text-[var(--color-content-invert-brand-teal)]",
iconSrc: getAssetPath(featureIconPath("door-open")),
href: "/blog/integrating-new-members-without-dilution",
href: t("featureGrid.features.membershipGuidance.href") || undefined,
},
{
backgroundColor: "bg-[var(--color-surface-invert-brand-teal)]",
backgroundColor: "bg-[var(--color-surface-invert-brand-red)]",
title: t("pages.home.featureGrid.features.conflictResolution.title"),
description: t(
"pages.home.featureGrid.features.conflictResolution.description",
),
descriptionClassName: "text-[var(--color-content-invert-brand-teal)]",
descriptionClassName: "text-[var(--color-content-invert-brand-red)]",
iconSrc: getAssetPath(featureIconPath("message-square-share")),
href: t("featureGrid.features.conflictResolution.href") || undefined,
},
],
[t],
@@ -51,7 +51,13 @@ function ContentLockupView({
</TitleTag>
) : null}
</div>
{subtitle ? <h2 className={styles.subtitle}>{subtitle}</h2> : null}
{subtitle ? (
variant === "ask" || variant === "ask-inverse" ? (
<p className={styles.subtitle}>{subtitle}</p>
) : (
<h2 className={styles.subtitle}>{subtitle}</h2>
)
) : null}
{(variant === "modal" || variant === "login") && description && (
<p className={styles.description}>{description}</p>
)}