import type { Meta, StoryObj } from '@storybook/vue3-vite' import { Card as NychCard, CardHeader as NychCardHeader, CardTitle as NychCardTitle, CardDescription as NychCardDescription, CardContent as NychCardContent, CardFooter as NychCardFooter, Button as NychButton, Badge as NychBadge, } from '@nychthemeron/library' const meta = { title: 'Components/Card', component: NychCard, parameters: { layout: 'centered', }, tags: ['autodocs'], } satisfies Meta export default meta type Story = StoryObj export const Default: Story = { render: () => ({ components: { NychCard, NychCardHeader, NychCardTitle, NychCardDescription, NychCardContent }, template: ` Elysium The blessed fields A resting place reserved for the heroic and the virtuous, where the air is mild and the laurel never wilts. `, }), } export const WithFooter: Story = { render: () => ({ components: { NychCard, NychCardHeader, NychCardTitle, NychCardDescription, NychCardContent, NychCardFooter, NychButton, }, template: ` Passage of the Styx One obol required Charon ferries the souls of the dead across the river that divides the world of the living from the world of the dead. Pay the toll Turn back `, }), } export const WithHeaderAndTag: Story = { render: () => ({ components: { NychCard, NychCardHeader, NychCardTitle, NychCardContent, NychBadge }, template: `
Oracle of Delphi Sacred Seekers travelled from across the Aegean to hear the Pythia speak the will of Apollo in riddling verse.
`, }), }