import React from "react";

import PostList from "components/posts/PostList";

const PostsContainer = ({ className }) => {
  /** @type {CF2021.Post[]} */
  const items = [
    {
      id: "1",
      content:
        "Shizz fo shizzle mah nizzle fo rizzle, mah home g-dizzle, gravida vizzle, arcu. Pellentesque crunk tortizzle. Sed erizzle. Black izzle sheezy telliv.",
      datetime: new Date(),
      author: {
        name: "John Doe",
        group: "cf",
      },
      ranking: {
        likes: 5,
        dislikes: 1,
        score: 4,
      },
      seen: false,
      archived: false,
      type: "post",
    },
    {
      id: "2",
      content:
        "Shizz fo shizzle mah nizzle fo rizzle, mah home g-dizzle, gravida vizzle, arcu. Pellentesque crunk tortizzle. Sed erizzle. Black izzle sheezy telliv.",
      datetime: new Date(),
      author: {
        name: "John Doe",
        group: "cf",
      },
      ranking: {
        likes: 5,
        dislikes: 1,
        score: 4,
      },
      seen: false,
      archived: false,
      type: "post",
    },
    {
      id: "3",
      content:
        "Shizz fo shizzle mah nizzle fo rizzle, mah home g-dizzle, gravida vizzle, arcu. Pellentesque crunk tortizzle. Sed erizzle. Black izzle sheezy telliv.",
      datetime: new Date(),
      author: {
        name: "John Doe",
        group: "cf",
      },
      ranking: {
        likes: 5,
        dislikes: 1,
        score: 4,
      },
      seen: true,
      archived: false,
      type: "post",
    },
    {
      id: "4",
      content:
        "Shizz fo shizzle mah nizzle fo rizzle, mah home g-dizzle, gravida vizzle, arcu. Pellentesque crunk tortizzle. Sed erizzle. Black izzle sheezy telliv.",
      datetime: new Date(),
      author: {
        name: "John Doe",
        group: "KS Pardubický kraj",
      },
      ranking: {
        likes: 5,
        dislikes: 1,
        score: 4,
      },
      seen: true,
      archived: false,
      type: "post",
    },
    {
      id: "5",
      content:
        "Shizz fo shizzle mah nizzle fo rizzle, mah home g-dizzle, gravida vizzle, arcu. Pellentesque crunk tortizzle. Sed erizzle. Black izzle sheezy telliv.",
      datetime: new Date(),
      author: {
        name: "John Doe",
        group: "KS Pardubický kraj",
      },
      ranking: {
        likes: 5,
        dislikes: 1,
        score: 4,
      },
      seen: true,
      archived: false,
      type: "post",
    },
    {
      id: "6",
      content:
        "Shizz fo shizzle mah nizzle fo rizzle, mah home g-dizzle, gravida vizzle, arcu. Pellentesque crunk tortizzle. Sed erizzle. Black izzle sheezy telliv.",
      datetime: new Date(),
      author: {
        name: "John Doe",
        group: "KS Pardubický kraj",
      },
      ranking: {
        likes: 5,
        dislikes: 1,
        score: 4,
      },
      seen: true,
      archived: true,
      type: "post",
    },
    {
      id: "7",
      content:
        "Shizz fo shizzle mah nizzle fo rizzle, mah home g-dizzle, gravida vizzle, arcu. Pellentesque crunk tortizzle. Sed erizzle. Black izzle sheezy telliv.",
      datetime: new Date(),
      author: {
        name: "John Doe",
        group: "KS Pardubický kraj",
      },
      ranking: {
        likes: 5,
        dislikes: 1,
        score: 4,
      },
      seen: true,
      archived: true,
      type: "procedure-proposal",
      state: "pending",
    },
    {
      id: "8",
      content:
        "Shizz fo shizzle mah nizzle fo rizzle, mah home g-dizzle, gravida vizzle, arcu. Pellentesque crunk tortizzle. Sed erizzle. Black izzle sheezy telliv.",
      datetime: new Date(),
      author: {
        name: "John Doe",
        group: "KS Pardubický kraj",
      },
      ranking: {
        likes: 5,
        dislikes: 1,
        score: 4,
      },
      seen: true,
      archived: false,
      type: "procedure-proposal",
      state: "announced",
      historyLog: [
        {
          attribute: "content",
          datetime: new Date(),
          newValue: "Lemme know",
          originator: "chairman",
        },
      ],
    },
    {
      id: "9",
      content:
        "Shizz fo shizzle mah nizzle fo rizzle, mah home g-dizzle, gravida vizzle, arcu. Pellentesque crunk tortizzle. Sed erizzle. Black izzle sheezy telliv.",
      datetime: new Date(),
      author: {
        name: "John Doe",
        group: "KS Pardubický kraj",
      },
      ranking: {
        likes: 5,
        dislikes: 1,
        score: 4,
      },
      seen: true,
      archived: false,
      type: "procedure-proposal",
      state: "accepted",
    },
    {
      id: "10",
      content:
        "Shizz fo shizzle mah nizzle fo rizzle, mah home g-dizzle, gravida vizzle, arcu. Pellentesque crunk tortizzle. Sed erizzle. Black izzle sheezy telliv.",
      datetime: new Date(),
      author: {
        name: "John Doe",
        group: "KS Pardubický kraj",
      },
      ranking: {
        likes: 5,
        dislikes: 1,
        score: 4,
      },
      seen: true,
      archived: false,
      type: "procedure-proposal",
      state: "rejected",
    },
    {
      id: "11",
      content:
        "Shizz fo shizzle mah nizzle fo rizzle, mah home g-dizzle, gravida vizzle, arcu. Pellentesque crunk tortizzle. Sed erizzle. Black izzle sheezy telliv.",
      datetime: new Date(),
      author: {
        name: "John Doe",
        group: "KS Pardubický kraj",
      },
      ranking: {
        likes: 5,
        dislikes: 1,
        score: 4,
      },
      seen: true,
      archived: true,
      type: "procedure-proposal",
      state: "rejected-by-chairman",
    },
  ];

  return <PostList items={items} className={className} />;
};

export default PostsContainer;