Files
community-rule/stories/sections/HeroBanner.stories.js
T
adilalloandCursor 33cdaf135c Match Home, top nav, hero, and logo wall to the current marketing frames.
Puts Workshops in the header, pairs the hero with a static rule card and breakpoint CTAs, and shows the three pilot marks with no wall label.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-02 18:50:32 -07:00

48 lines
1.2 KiB
JavaScript

import HeroBanner from "../../app/components/sections/HeroBanner";
export default {
title: "Components/Sections/HeroBanner",
component: HeroBanner,
parameters: {
layout: "fullscreen",
docs: {
description: {
component:
"Home hero: ContentLockup plus the team's Rule card. Below lg the CTA is Talk to a facilitator; from lg it is Create rule.",
},
},
},
argTypes: {
title: {
control: { type: "text" },
description: "The main title text",
},
subtitle: {
control: { type: "text" },
description: "The subtitle text",
},
description: {
control: { type: "text" },
description: "The description text",
},
},
tags: ["autodocs"],
};
export const Default = {
args: {
title: "Build structure",
subtitle: "before you need it",
description:
"Strong communities agree on four things early. They settle how they talk, who belongs, how they decide and what happens when they disagree. Write yours down together.",
},
parameters: {
docs: {
description: {
story:
"Default home hero with the team Rule card and breakpoint-specific CTAs.",
},
},
},
};