import type { Meta, StoryObj } from '@storybook/nextjs-vite' import { CaseStudyCard } from '../components/chat/entity-cards' import { ChatColumnDecorator } from './__fixtures__/chat-card-decorator' import { caseStudy } from './__fixtures__/chat-cards' const meta: Meta = { title: 'Chat/EntityCards/CaseStudyCard', component: CaseStudyCard, parameters: { layout: 'fullscreen', docs: { description: { component: 'Card for the `case_study` doc type. `sm` size renders the chat-inline compact card; `default` is the catalog grid card. User + MSP badge overlay is shown in both sizes.', }, }, }, decorators: [(Story) => ], } export default meta type Story = StoryObj export const ChatInlineSm: Story = { args: { study: caseStudy, href: '/case-studies/' + caseStudy.slug, size: 'sm', target: '_blank', rel: 'noopener noreferrer', }, } export const Default: Story = { args: { study: caseStudy, href: '/case-studies/' + caseStudy.slug, size: 'default', target: '_blank', rel: 'noopener noreferrer', }, }