import Book from "../../app/components/sections/Book"; import { ASSETS, getAssetPath, governanceBookletPath, structureBeforeCrisisPath, } from "../../lib/assetUtils"; export default { title: "Components/Sections/Book", component: Book, parameters: { layout: "fullscreen", backgrounds: { default: "dark" }, }, }; export const Default = { args: { title: "Get Structure Before Crisis", description: "Structure Before Crisis is a collection of organizing patterns that help mutual aid groups lay the groundwork to build new worlds.", buttonText: "Download Book", buttonHref: getAssetPath(structureBeforeCrisisPath()), imageSrc: getAssetPath(ASSETS.STRUCTURE_BEFORE_CRISIS_COVER), imageAlt: "Structure Before Crisis book cover", }, }; export const CommunityRules = { args: { title: "Get the Community Rules Book", description: "Community Rules is a simple tool to help make great communities even better and healthier.", buttonText: "Download Book", buttonHref: getAssetPath(governanceBookletPath()), imageSrc: getAssetPath(ASSETS.COMMUNITY_RULES_COVER), imageAlt: "Community Rules book cover", }, };