import { Meta, StoryObj } from '@storybook/react'
import { Home } from './Home'

const meta: Meta<typeof Home> = {
  component: Home,
}

type Story = StoryObj<typeof Home>;
export default meta

export const Default: Story = {
  args: {
    events: [
      {
        id: '1',
        title: 'Event 1',
        date: '2024-12-02T09:21:24Z',
        location: {
          id: 'l1',
          name: "St. Richard",
          updatedAt: "",
          createdAt: ""
        },
        shortDescription: '',
        description: "Some descripton",
        cancelled: false,
        updatedAt: '2024-12-02T09:21:24Z',
        createdAt: '2024-12-02T09:21:24Z',
        isRecurring: false
      },
      {
        id: '2',
        title: 'Event 2',
        date: '2024-12-05T09:21:24Z',
        location: {
          id: 'l1',
          name: "St. Richard",
          updatedAt: "",
          createdAt: ""
        },
        shortDescription: '',
        description: "",
        cancelled: false,
        updatedAt: '2024-12-02T09:21:24Z',
        createdAt: '2024-12-02T09:21:24Z',
        isRecurring: false
      },
      {
        id: '2',
        title: 'Event 2',
        date: '2024-12-08T09:21:24Z',
        location: {
          id: 'l2',
          name: "St. Hedwig",
          updatedAt: "",
          createdAt: ""
        },
        shortDescription: '',
        description: "",
        cancelled: true,
        updatedAt: '2024-12-02T09:21:24Z',
        createdAt: '2024-12-02T09:21:24Z',
        isRecurring: false
      },
    ],
    blog: [
      {
        id: 'b1',
        title: 'Blog 1',
        excerpt: '',
        content: [],
        updatedAt: '',
        createdAt: '',
      },
      {
        id: 'b2',
        title: 'Blog 2',
        excerpt: '',
        content: [],
        updatedAt: '',
        createdAt: '',
      },
      {
        id: 'b3',
        title: 'Blog 3',
        excerpt: '',
        content: [],
        updatedAt: '',
        createdAt: '',
      },
    ],
    worship: [
      {
        id: 'w1',
        date: '2024-12-02T09:21:24Z',
        location: {
          id: 'c1',
          name: 'St Richard',
          address: '',
          createdAt: '',
          updatedAt: ''
        },
        type: 'MASS',
        cancelled: false,
        updatedAt: '',
        createdAt: '',
      },
      {
        id: 'w1',
        date: '2024-12-07T10:00:24Z',
        location: {
          id: 'c1',
          name: 'St Richard',
          address: '',
          createdAt: '',
          updatedAt: ''
        },
        type: 'MASS',
        cancelled: false,
        updatedAt: '',
        createdAt: '',
      },
    ],
    highlights: [],
  },
}