Files
community-rule/stories/cards/CaseStudy.stories.js
T
2026-05-17 21:41:54 -06:00

38 lines
1.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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",
},
};