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:
+11
-3
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user