import { IAdvertising, Project } from "@/types/types";

export const navLinks = [
  {
    title: "پروژه‌های من",
    href: "/workroom",
    icon: "box.svg",
  },
  {
    title: "بیلبورد",
    href: "/my-billboards",
    icon: "flash-circle.svg",
  },
  {
    title: "آموزشگاه",
    href: `/academy/Dashboard`,
    icon: "academy.svg",
  },
  {
    title: "درخواست ها",
    href: "/offers",
    icon: "offer.svg",
  },
  {
    title: "پیامها",
    href: "/chats",
    icon: "sms.svg",
  },
  {
    title: "اعلانات",
    href: "/notifications",
    icon: "notification.svg",
  },
  {
    title: "مالی",
    href: "/financial",
    icon: "wallet.svg",
  },
  {
    title: "ویرایش",
    href: "/edit",
    icon: "edit.svg",
  },
  {
    title: "پشتیبانی",
    href: "/tickets",
    icon: "lifebuoy.svg",
  },
];
export const editUserNavLinks = [
  {
    title: "نام کاربری",
    href: "/username",
    icon: "profile-2user.svg",
  },
  {
    title: "رمز عبور",
    href: "/password",
    icon: "key.svg",
  },
  {
    title: "تصویر پروفایل",
    href: "/avatar",
    icon: "gallery-edit.svg",
  },
  {
    title: "احراز هویت",
    href: "/Authentication",
    icon: "user-square.svg",
  },
  {
    title: "تخصص",
    href: "/expertise",
    icon: "instagram.svg",
  },
  {
    title: "مشخصات ظاهری",
    href: "/colors",
    icon: "shop-add.svg",
  },
  {
    title: "خدمات",
    href: "/services",
    icon: "services.svg",
  },
  {
    title: "سایز",
    href: "/sizes",
    icon: "timer.svg",
  },
  {
    title: "مجوز",
    href: "/License",
    icon: "verify3.svg",
  },
  {
    title: "نوع همکاری",
    href: "/cooperation-type",
    icon: "link-square.svg",
  },
  {
    title: "روابط عمومی",
    href: "/public-relations",
    icon: "people.svg",
  },
  {
    title: "شبا",
    href: "/shaba",
    icon: "user-tick.svg",
  },
  {
    title: "لوکیشن",
    href: "/location",
    icon: "location.svg",
  },
];

export const editEmployerNavLinks = [
  {
    title: "نام کاربری",
    href: "/username",
    icon: "profile-2user.svg",
  },
  {
    title: "رمز عبور",
    href: "/password",
    icon: "key.svg",
  },
  {
    title: "تصویر پروفایل",
    href: "/avatar",
    icon: "gallery-edit.svg",
  },
  {
    title: "درباره من",
    href: "/bio",
    icon: "people.svg",
  },
  {
    title: "شبا",
    href: "/shaba",
    icon: "user-tick.svg",
  },
  {
    title: "لوکیشن",
    href: "/location",
    icon: "location.svg",
  },
];

export const sampleProject: Project = {
  _id: "1",
  title: "عنوان درخواست",
  expertise: "تخصص",
  sub_expertise: [],
  gender: "male",
  age: "18-25",
  conversation_projects: true,
  province: {
    _id: "1",
    id: 1,
    name: "تهران",
    slug: "تهران",
  },
  city: {
    _id: "65ef882965f159bbcaccdf58",
    id: 1,
    name: "تهران",
    slug: "تهران",
    province_id: 1,
  },
  offer_time: "7",
  offer_price: 200000,
  description: "توضیحات",
  project_type: "free",
  payment_status: null,
  status: "pre_payment",
  public_status: "public",
  created_for_user: null,
  creator_id: "1",
  requested_users: [],
  selected_user: null,
  final_price: null,
  final_time: null,
  reject_reason: null,
  acceptedAt: null,
  isExpired: false,
  installments: [],
  ratings: [],
  updatedAt: "2025-02-04T16:39:15.301Z",
  createdAt: "2025-02-04T16:39:15.301Z",
  __v: 0,
  creator: {
    _id: "67056fb6ed7643b6510cf2f3",
    city: {
      _id: "65ef882965f159bbcacce008",
      id: 301,
      name: "تهران",
      slug: "تهران",
      province_id: 8,
    },
    first_name: "1",
    gender: "male",
    is_verified: "verified",
    last_name: "mahaki",
    profile_image: "/profiles/mahaki-1738136552385.jpg",
    province: {
      _id: "65ef883165f159bbcacce344",
      id: 8,
      name: "تهران",
      slug: "تهران",
    },
    rate: null,
    user_name: "mahaki",
    user_type: "employer",
  },
  status_filter: "",
  remainingTime: "1 روز و 17 ساعت",
};
export const sampleAds: IAdvertising = {
  _id: "6659a7885648b97dee45cacd",
  category: "دسته بندی",
  title: "عنوان بیلبورد",
  province: {
    _id: "1",
    id: 1,
    name: "تهران",
    slug: "تهران",
  },
  city: {
    _id: "1",
    id: 301,
    name: "تهران",
    slug: "تهران",
    province_id: 8,
  },
  neighbourhood: "محله",
  type: "normal",
  mostDiscountPercentage: 66,
  images: [
    "",
  ],
  likedByUser: true,
  likesCount: 2,
  commentsCount: 3,
  showDiscount: true,
  viewCount: 619,
  rate: {
    adTotalRatings: 10,
    adAverageRating: 5,
  },
};

export const sampleAdsSpecial: IAdvertising = {
  _id: "6659a7885648b97dee45cacd",
  category: "دسته بندی",
  title: "عنوان بیلبورد",
  province: {
    _id: "1",
    id: 1,
    name: "تهران",
    slug: "تهران",
  },
  city: {
    _id: "1",
    id: 301,
    name: "تهران",
    slug: "تهران",
    province_id: 8,
  },
  neighbourhood: "محله",
  type: "special",
  mostDiscountPercentage: 66,
  images: [
    "",
  ],
  likedByUser: true,
  likesCount: 2,
  commentsCount: 3,
  showDiscount: true,
  viewCount: 619,
  rate: {
    adTotalRatings: 10,
    adAverageRating: 5,
  },
};
export const sampleAdsHighlight: IAdvertising = {
  _id: "6659a7885648b97dee45cacd",
  category: "دسته بندی",
  title: "عنوان بیلبورد",
  province: {
    _id: "1",
    id: 1,
    name: "تهران",
    slug: "تهران",
  },
  city: {
    _id: "1",
    id: 301,
    name: "تهران",
    slug: "تهران",
    province_id: 8,
  },
  neighbourhood: "محله",
  type: "highlight",
  mostDiscountPercentage: 66,
  images: [
    "",
  ],
  likedByUser: true,
  likesCount: 2,
  commentsCount: 3,
  showDiscount: true,
  viewCount: 619,
  rate: {
    adTotalRatings: 10,
    adAverageRating: 5,
  },
};

export const statusMap = {
  pre_payment: { label: "پرداخت نشده", color: "" },
  paid: { label: "در دست بررسی", color: "" },
  accepted: { label: "منتشر شده", color: "" },
  rejected: { label: "رد شده", color: "" },
  done: { label: "اتمام پروژه", color: "" },
  cancled: { label: "لغو شده", color: "" },
  ongoing: { label: "در دست اقدام", color: "" },
};
