Implement use cases page

This commit is contained in:
adilallo
2026-05-17 21:41:54 -06:00
parent b6b9b63608
commit 450da4d8ab
78 changed files with 1870 additions and 118 deletions
+37
View File
@@ -0,0 +1,37 @@
import CaseStudy, {
CASE_STUDY_SURFACE_OPTIONS,
} from "../../app/components/cards/CaseStudy";
export default {
title: "Components/Cards/CaseStudy",
component: CaseStudy,
parameters: {
layout: "centered",
docs: {
description: {
component:
"Figma **Card / CaseStudy** ([21993-32352](https://www.figma.com/design/agv0VBLiBlcnSAaiAORgPR/Community-Rule-System?node-id=21993-32352)). Fixed **305×305** artwork when **`visual`** is omitted: Mutual Aid **SVG** (**`assets/case-study/`**) + raster tiles for neutral/rose (**[22112-871524](https://www.figma.com/design/agv0VBLiBlcnSAaiAORgPR/Community-Rule-System?node-id=22112-871524)**).",
},
},
},
argTypes: {
surface: {
control: { type: "select" },
options: [...CASE_STUDY_SURFACE_OPTIONS],
},
},
tags: ["autodocs"],
};
export const Lavender = {
args: { surface: "lavender", imageAlt: "Mutual Aid Colorado logo" },
};
export const Neutral = {
args: { surface: "neutral", imageAlt: "Food Not Bombs logo" },
};
export const Rose = {
args: {
surface: "rose",
imageAlt: "Boulder County Street Medics logo",
},
};