import Logo from "../../app/components/asset/Logo"; export default { title: "Components/Asset/Logo", component: Logo, parameters: { layout: "centered", docs: { description: { component: "The CommunityRule logo component with multiple size variants for different contexts (header, footer, home header). Can display with or without text and adapts colors based on context.", }, }, }, argTypes: { size: { control: { type: "select" }, options: [ "default", "footer", "createFlow", "topNavFolderTop", "topNavHeader", ], description: "The size variant of the logo", }, palette: { control: { type: "select" }, options: ["default", "inverse"], description: "Visual style: default (dark on light) or inverse (e.g. on teal)", }, wordmark: { control: { type: "boolean" }, description: "Whether to show the CommunityRule wordmark", }, }, tags: ["autodocs"], }; export const Default = { args: { size: "default", wordmark: true, }, }; export const Sizes = { args: { wordmark: true, }, render: (args) => (

Standard Sizes

Responsive Sizes

), parameters: { docs: { description: { story: "Different size variants available for the logo component. Responsive sizes adapt to breakpoints.", }, }, }, }; export const IconOnly = { args: { size: "default", wordmark: false, }, render: (args) => (

Icon Only - Standard Sizes

Icon Only - Responsive Sizes

), parameters: { docs: { description: { story: "Logo variants with only the icon, no text. Useful for compact spaces.", }, }, }, }; export const TopContext = { args: {}, render: () => (

Top (navigation) — responsive

FolderTop:
Header:
), parameters: { docs: { description: { story: "`Top` (Figma Navigation / Top) logo sizes: folder-top vs header variants.", }, }, }, }; export const CreateFlowContext = { args: {}, render: () => (

Create Flow Context

CreateFlow:
), parameters: { docs: { description: { story: "Create flow context showing responsive logo. Used in CreateFlowTopNav component.", }, }, }, }; export const CreateFlowCompletedInverse = { args: {}, render: () => (

Completed page (inverse on teal)

), parameters: { docs: { description: { story: "Same size as CreateFlowTopNav with inverse palette, as used on the completed page.", }, }, }, };