Show both books on About with matching covers and downloads.

The section mixed Structure Before Crisis art with the Community Rules booklet; pairing each title to its own cover and PDF, and cropping the Figma cover padding, keeps the two cards consistent.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
adilallo
2026-08-25 16:18:40 -06:00
co-authored by Cursor
parent 8bdd5040c6
commit 63e0f77998
13 changed files with 155 additions and 43 deletions
+11 -3
View File
@@ -97,11 +97,16 @@ export function sectionNumberPath(n: 1 | 2 | 3): string {
return `assets/marketing/section-number-${n}.svg`;
}
/** Downloadable governance booklet PDF (About / Sections / Book). */
/** Community Rules (2021) booklet PDF (About / Sections / Book). */
export function governanceBookletPath(): string {
return "assets/marketing/governance-booklet.pdf";
}
/** Structure Before Crisis (2025) PDF (About / Sections / Book). */
export function structureBeforeCrisisPath(): string {
return "assets/marketing/structure-before-crisis.pdf";
}
/** Home feature grid panel art in `public/assets/marketing/`. */
export type FeaturePanelKey = "support" | "exercises" | "guidance" | "tools";
@@ -245,8 +250,11 @@ export const ASSETS = {
/** Quote block default avatar. */
QUOTE_AVATAR: "assets/marketing/quote-avatar.svg",
/** Sections / Book cover (Figma **22137:891197**). */
COMMUNITYRULES_COVER: "assets/marketing/communityrules-cover.svg",
/** Structure Before Crisis cover (Figma **22137:891197**; file name is historical). */
STRUCTURE_BEFORE_CRISIS_COVER: "assets/marketing/communityrules-cover.svg",
/** Community Rules (2021) cover. */
COMMUNITY_RULES_COVER: "assets/marketing/community-rules-cover.png",
// Marketing
HERO_IMAGE: "assets/marketing/hero-image.png",