Create use cases pages

This commit is contained in:
adilallo
2026-05-18 16:50:44 -06:00
parent 40ce5064d6
commit 7c46cbd87b
28 changed files with 836 additions and 58 deletions
+21 -1
View File
@@ -34,7 +34,7 @@ export default {
},
variant: {
control: { type: "select" },
options: ["centered", "left-aligned", "compact", "inverse"],
options: ["centered", "left-aligned", "compact", "inverse", "use-case-detail"],
description: "Layout variant for the component",
},
onContactClick: {
@@ -84,6 +84,26 @@ export const Inverse = {
},
};
export const UseCaseDetail = {
args: {
title: "Still have questions?",
subtitle: "Get answers from an experienced organizer",
buttonText: "Ask an Organizer",
variant: "use-case-detail",
onContactClick: (data) => console.log("Contact clicked:", data),
},
decorators: [
(Story) => (
<div
className="min-h-[360px] w-full"
style={{ background: "var(--color-content-default-brand-lavender)" }}
>
<Story />
</div>
),
],
};
/** Legacy: CTA is a link (no inquiry modal). */
export const LinkCta = {
args: {