Rebuild the About page from the current marketing frames, and leave the unapproved sentences off the page.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
3dee3a587b
commit
2101676429
56 files changed
+1515
-238
No files matched your search
@@ -5,8 +5,6 @@ import {
|
||||
governanceBookletPath,
|
||||
structureBeforeCrisisPath,
|
||||
} from "../../lib/assetUtils";
|
||||
import messages from "../../messages/en/pages/about.json";
|
||||
|
||||
export default {
|
||||
title: "Components/Sections/Book",
|
||||
component: Book,
|
||||
@@ -16,27 +14,26 @@ export default {
|
||||
},
|
||||
};
|
||||
|
||||
const structureBeforeCrisis = messages.structureBeforeCrisis;
|
||||
const communityRules = messages.communityRules;
|
||||
|
||||
export const Default = {
|
||||
args: {
|
||||
title: structureBeforeCrisis.title,
|
||||
description: structureBeforeCrisis.description,
|
||||
buttonText: structureBeforeCrisis.buttonText,
|
||||
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: structureBeforeCrisis.imageAlt,
|
||||
imageAlt: "Structure Before Crisis book cover",
|
||||
},
|
||||
};
|
||||
|
||||
export const CommunityRules = {
|
||||
args: {
|
||||
title: communityRules.title,
|
||||
description: communityRules.description,
|
||||
buttonText: communityRules.buttonText,
|
||||
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: communityRules.imageAlt,
|
||||
imageAlt: "Community Rules book cover",
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user