Cleanup pass 2

This commit is contained in:
adilallo
2026-05-22 13:30:47 -06:00
parent b7c804bac8
commit 753220f97b
76 changed files with 1338 additions and 1020 deletions
-16
View File
@@ -28,10 +28,6 @@ export default {
control: "text",
description: "Text for the call-to-action button",
},
buttonHref: {
control: "text",
description: "URL for the button link",
},
variant: {
control: { type: "select" },
options: ["centered", "left-aligned", "compact", "inverse", "use-case-detail"],
@@ -103,15 +99,3 @@ export const UseCaseDetail = {
),
],
};
/** Legacy: CTA is a link (no inquiry modal). */
export const LinkCta = {
args: {
title: "Still have questions?",
subtitle: "Get answers from an experienced organizer",
buttonText: "Ask an organizer",
buttonHref: "/contact",
variant: "centered",
onContactClick: (data) => console.log("Contact clicked:", data),
},
};
+22
View File
@@ -0,0 +1,22 @@
import Book from "../../app/components/sections/Book";
import { getAssetPath, governanceBookletPath } from "../../lib/assetUtils";
import messages from "../../messages/en/pages/about.json";
export default {
title: "Components/Sections/Book",
component: Book,
parameters: {
layout: "fullscreen",
backgrounds: { default: "dark" },
},
};
export const Default = {
args: {
title: messages.book.title,
description: messages.book.description,
buttonText: messages.book.buttonText,
buttonHref: getAssetPath(governanceBookletPath()),
imageAlt: messages.book.imageAlt,
},
};