import { Product, Banner } from "@/types";

export const MOCK_BANNERS: any[] = [
  {
    id: 1,
    title: "Fresh & Organic Vegetables",
    subtitle: "Up to 50% Off",
    description: "Get the freshest organic vegetables delivered to your doorstep at unbeatable prices.",
    image: "https://loremflickr.com/1200/600/vegetables,organic",
    link: "/products",
    color: "bg-green-100",
    textColor: "text-green-900",
    buttonColor: "bg-green-600",
    status: "active",
  },
  {
    id: 2,
    title: "Premium Dairy Products",
    subtitle: "New Arrivals",
    description: "Experience the richness of our farm-fresh dairy products, from milk to artisanal cheeses.",
    image: "https://loremflickr.com/1200/600/dairy,milk",
    link: "/products",
    color: "bg-blue-100",
    textColor: "text-blue-900",
    buttonColor: "bg-blue-600",
    status: "active",
  },
  {
    id: 3,
    title: "Sweet & Juicy Fruits",
    subtitle: "Deal of the Day",
    description: "Savor the taste of seasonal fruits handpicked for quality and freshness.",
    image: "https://loremflickr.com/1200/600/fruits,fresh",
    link: "/products",
    color: "bg-red-100",
    textColor: "text-red-900",
    buttonColor: "bg-red-600",
    status: "active",
  }
];

export const MOCK_PRODUCTS: any[] = [
  {
    id: 1,
    name: "Fresh Organic Bananas",
    slug: "fresh-organic-bananas",
    description: "Premium organic bananas from local farms.",
    price: 4.99,
    sale_price: 3.99,
    image: "https://loremflickr.com/400/400/banana,fruit",
    category_id: 1,
    stock: 50,
    unit: "kg",
    is_featured: true,
    status: "active",
    created_at: new Date().toISOString(),
    updated_at: new Date().toISOString(),
  },
  {
    id: 2,
    name: "Red Gala Apples",
    slug: "red-gala-apples",
    description: "Crispy and sweet red gala apples.",
    price: 5.99,
    image: "https://loremflickr.com/400/400/apple,fruit",
    category_id: 1,
    stock: 100,
    unit: "kg",
    is_featured: true,
    status: "active",
    created_at: new Date().toISOString(),
    updated_at: new Date().toISOString(),
  },
  {
    id: 3,
    name: "Whole Milk 1L",
    slug: "whole-milk-1l",
    description: "Fresh farm whole milk.",
    price: 2.49,
    image: "https://loremflickr.com/400/400/milk,dairy",
    category_id: 2,
    stock: 30,
    unit: "bottle",
    is_featured: true,
    status: "active",
    created_at: new Date().toISOString(),
    updated_at: new Date().toISOString(),
  },
  {
    id: 4,
    name: "Organic Spinach",
    slug: "organic-spinach",
    description: "Fresh organic spinach leaves.",
    price: 3.49,
    sale_price: 2.99,
    image: "https://loremflickr.com/400/400/spinach,vegetable",
    category_id: 3,
    stock: 40,
    unit: "bunch",
    is_featured: true,
    status: "active",
    created_at: new Date().toISOString(),
    updated_at: new Date().toISOString(),
  },
  {
    id: 5,
    name: "Fresh Strawberries",
    slug: "fresh-strawberries",
    description: "Sweet and juicy strawberries.",
    price: 6.99,
    image: "https://loremflickr.com/400/400/strawberry,fruit",
    category_id: 1,
    stock: 20,
    unit: "pack",
    is_featured: true,
    status: "active",
    created_at: new Date().toISOString(),
    updated_at: new Date().toISOString(),
  },
  {
    id: 6,
    name: "Avocado Hass",
    slug: "avocado-hass",
    description: "Ripe and creamy Hass avocados.",
    price: 1.99,
    image: "https://loremflickr.com/400/400/avocado,fruit",
    category_id: 1,
    stock: 60,
    unit: "piece",
    is_featured: true,
    status: "active",
    created_at: new Date().toISOString(),
    updated_at: new Date().toISOString(),
  },
  {
    id: 7,
    name: "Greek Yogurt",
    slug: "greek-yogurt",
    description: "Creamy greek yogurt.",
    price: 4.49,
    image: "https://loremflickr.com/400/400/yogurt,dairy",
    category_id: 2,
    stock: 25,
    unit: "cup",
    is_featured: true,
    status: "active",
    created_at: new Date().toISOString(),
    updated_at: new Date().toISOString(),
  },
  {
    id: 8,
    name: "Fresh Broccoli",
    slug: "fresh-broccoli",
    description: "Nutritious green broccoli.",
    price: 2.99,
    image: "https://loremflickr.com/400/400/broccoli,vegetable",
    category_id: 3,
    stock: 45,
    unit: "head",
    is_featured: true,
    status: "active",
    created_at: new Date().toISOString(),
    updated_at: new Date().toISOString(),
  },
];

export const MOCK_CATEGORIES = [
  {
    id: 1,
    name: "Fruits & Vegetables",
    slug: "fruits-vegetables",
    image: "https://loremflickr.com/200/200/fruit,vegetable",
    status: "active",
  },
  {
    id: 2,
    name: "Dairy & Eggs",
    slug: "dairy-eggs",
    image: "https://loremflickr.com/200/200/dairy,milk",
    status: "active",
  },
  {
    id: 3,
    name: "Bakery & Bread",
    slug: "bakery-bread",
    image: "https://loremflickr.com/200/200/bakery,bread",
    status: "active",
  },
  {
    id: 4,
    name: "Meat & Seafood",
    slug: "meat-seafood",
    image: "https://loremflickr.com/200/200/meat,fish",
    status: "active",
  },
  {
    id: 5,
    name: "Beverages",
    slug: "beverages",
    image: "https://loremflickr.com/200/200/drink,beverage",
    status: "active",
  },
  {
    id: 6,
    name: "Snacks",
    slug: "snacks",
    image: "https://loremflickr.com/200/200/snack,chips",
    status: "active",
  },
  {
    id: 7,
    name: "Frozen Foods",
    slug: "frozen-foods",
    image: "https://loremflickr.com/200/200/frozen,food",
    status: "active",
  },
  {
    id: 8,
    name: "Pantry Staples",
    slug: "pantry-staples",
    image: "https://loremflickr.com/200/200/pantry,food",
    status: "active",
  },
];

