feat(client): event card
Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
@@ -1,12 +1,21 @@
|
||||
import type { Meta, StoryObj } from '@storybook/react-vite';
|
||||
import { EventCard } from '@/components/workbenchCards/event-card';
|
||||
import { EventCardView } from '@/components/workbenchCards/event-card.view';
|
||||
|
||||
const meta = {
|
||||
title: 'Cards/EventCard',
|
||||
component: EventCard,
|
||||
} satisfies Meta<typeof EventCard>;
|
||||
component: EventCardView,
|
||||
} satisfies Meta<typeof EventCardView>;
|
||||
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof meta>;
|
||||
|
||||
export const Primary: Story = {};
|
||||
export const Primary: Story = {
|
||||
args: {
|
||||
type: 'official',
|
||||
coverImage: "https://github.com/NixOS/nixos-artwork/blob/master/wallpapers/nix-wallpaper-watersplash.png?raw=true",
|
||||
eventName: 'Nix CN Conference 26.05',
|
||||
description: 'Event Description',
|
||||
startTime: "2026-06-13T04:00:00.000Z",
|
||||
endTime: "2026-06-14T04:00:00.000Z",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user