import { BlogPostType, BlogType } from "../(DashboardLayout)/types/blog";

const BlogComment: BlogType[] = [
  {
    id: "#comm_1",
    profile: {
      id: "1",
      avatar: "/matdash-nextjs/images/profile/user-5.jpg",
      name: "John Doe",
    },
    time: new Date("2023-01-01"),
    comment: "This is a great post!",
    replies: [],
  },
  {
    id: "#comm_2",
    profile: {
      id: "2",
      avatar: "/matdash-nextjs/images/profile/user-3.jpg",
      name: "Jane Smith",
    },
    time: new Date("2023-01-02"),
    comment: "I agree with you.",
    replies: [
      {
        id: "#comm_3",
        profile: {
          id: "3",
          avatar: "/matdash-nextjs/images/profile/user-3.jpg",
          name: "Bob Johnson",
        },
        time: new Date("2023-01-03"),
        comment: "Me too!",
      },
    ],
  },
  {
    id: "#comm_4",
    profile: {
      id: "4",
      avatar: "/matdash-nextjs/images/profile/user-4.jpg",
      name: "Alice Brown",
    },
    time: new Date("2023-01-04"),
    comment: "Interesting read.",
    replies: [],
  },
];

export const BlogPost: BlogPostType[] = [
  {
    id: 1,
    title: "Garmins Instinct Crossover is a rugged hybrid smartwatch",
    content: "This smartwatch combines rugged design with modern features.",
    coverImg: "/matdash-nextjs/images/blog/blog-img2.jpg",
    createdAt: new Date("2023-12-23"),
    view: 1234,
    share: 567,
    category: "Gadget",
    featured: false,
    author: {
      id: "1",
      avatar: "/matdash-nextjs/images/profile/user-5.jpg",
      name: "John Doe",
    },
    comments: BlogComment,
  },
  {
    id: 2,
    title: "After Twitter Staff Cuts, Survivors Face Radio Silence",
    content: "The aftermath of recent layoffs at Twitter.",
    coverImg: "/matdash-nextjs/images/blog/blog-img1.jpg",
    createdAt: new Date("2023-12-24"),
    view: 2345,
    share: 678,
    category: "Lifestyle",
    featured: false,
    author: {
      id: "2",
      avatar: "/matdash-nextjs/images/profile/user-2.jpg",
      name: "Jane Smith",
    },
    comments: BlogComment,
  },
  {
    id: 3,
    title: "Apple is apparently working on a new streamlined accessibility for iOS",
    content: "New accessibility features coming to iOS.",
    coverImg: "/matdash-nextjs/images/blog/blog-img3.jpg",
    createdAt: new Date("2023-12-26"),
    view: 3456,
    share: 789,
    category: "Design",
    featured: false,
    author: {
      id: "3",
      avatar: "/matdash-nextjs/images/profile/user-3.jpg",
      name: "Bob Johnson",
    },
    comments: BlogComment,
  },
  {
    id: 4,
    title: "Why Figma is selling to Adobe for $20 billion streamlined",
    content: "The reasons behind Figma's acquisition by Adobe.",
    coverImg: "/matdash-nextjs/images/blog/blog-img4.jpg",
    createdAt: new Date("2023-12-24"),
    view: 4567,
    share: 890,
    category: "Design",
    featured: false,
    author: {
      id: "4",
      avatar: "/matdash-nextjs/images/profile/user-4.jpg",
      name: "Alice Brown",
    },
    comments: BlogComment,
  },
  {
    id: 5,
    title: "Streaming video way before it was cool, go dark tomorrow",
    content: "The history of streaming video.",
    coverImg: "/matdash-nextjs/images/blog/blog-img5.jpg",
    createdAt: new Date("2023-12-27"),
    view: 5678,
    share: 901,
    category: "Lifestyle",
    featured: false,
    author: {
      id: "5",
      avatar: "/matdash-nextjs/images/profile/user-5.jpg",
      name: "Charlie Wilson",
    },
    comments: BlogComment,
  },
  {
    id: 6,
    title: "As yen tumbles, gadget-loving Japan goes for secondhand iPhones",
    content: "Impact of currency fluctuations on gadget market in Japan.",
    coverImg: "/matdash-nextjs/images/blog/blog-img6.jpg",
    createdAt: new Date("2023-12-29"),
    view: 6789,
    share: 123,
    category: "Gadget",
    featured: false,
    author: {
      id: "6",
      avatar: "/matdash-nextjs/images/profile/user-6.jpg",
      name: "Diana Prince",
    },
    comments: BlogComment,
  },
  {
    id: 7,
    title: "Intel loses bid to revive antitrust case against patent foe Fortress",
    content: "Legal developments in tech industry.",
    coverImg: "/matdash-nextjs/images/blog/blog-img11.jpg",
    createdAt: new Date("2023-12-28"),
    view: 7890,
    share: 234,
    category: "Social",
    featured: false,
    author: {
      id: "2",
      avatar: "/matdash-nextjs/images/profile/user-2.jpg",
      name: "Jane Smith",
    },
    comments: BlogComment,
  },
  {
    id: 8,
    title: "COVID outbreak deepens as more lockdowns loom in China",
    content: "Current situation in China regarding COVID.",
    coverImg: "/matdash-nextjs/images/blog/blog-img8.jpg",
    createdAt: new Date("2023-12-27"),
    view: 8901,
    share: 345,
    category: "Health",
    featured: false,
    author: {
      id: "3",
      avatar: "/matdash-nextjs/images/profile/user-3.jpg",
      name: "Bob Johnson",
    },
    comments: BlogComment,
  },
  {
    id: 9,
    title: "Early Black Friday Amazon deals: cheap TVs, headphones, laptops",
    content: "Best deals for Black Friday on Amazon.",
    coverImg: "/matdash-nextjs/images/blog/blog-img9.jpg",
    createdAt: new Date("2023-12-26"),
    view: 9012,
    share: 456,
    category: "Gadget",
    featured: true,
    author: {
      id: "4",
      avatar: "/matdash-nextjs/images/profile/user-4.jpg",
      name: "Alice Brown",
    },
    comments: BlogComment,
  },
  {
    id: 10,
    title: "Presented by Max Rushden with Barry Glendenning, Philippe Auclair",
    content: "Sports commentary and analysis.",
    coverImg: "/matdash-nextjs/images/blog/blog-img10.jpg",
    createdAt: new Date("2023-12-31"),
    view: 1234,
    share: 567,
    category: "Health",
    featured: true,
    author: {
      id: "5",
      avatar: "/matdash-nextjs/images/profile/user-5.jpg",
      name: "Charlie Wilson",
    },
    comments: BlogComment,
  },
];