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

export const navLinks = [
  {
    labelKey: "constants.nav.workroom",
    href: "/workroom",
    icon: "box.svg",
  },
  {
    labelKey: "constants.nav.billboards",
    href: "/my-billboards",
    icon: "flash-circle.svg",
  },
  {
    labelKey: "constants.nav.academy",
    href: `/academy/Dashboard`,
    icon: "academy.svg",
  },
  {
    labelKey: "constants.nav.offers",
    href: "/offers",
    icon: "offer.svg",
  },
  {
    labelKey: "constants.nav.favorites",
    href: "/favorites",
    icon: "bookmark-post.svg",
  },
  {
    labelKey: "constants.nav.chats",
    href: "/chats",
    icon: "sms.svg",
  },
  {
    labelKey: "constants.nav.notifications",
    href: "/notifications",
    icon: "notification.svg",
  },
  {
    labelKey: "constants.nav.financial",
    href: "/financial",
    icon: "wallet.svg",
  },
  {
    labelKey: "constants.nav.edit",
    href: "/edit",
    icon: "edit.svg",
  },
  {
    labelKey: "constants.nav.support",
    href: "/tickets",
    icon: "lifebuoy.svg",
  },
];
export const editUserNavLinks = [
  {
    labelKey: "settings.edit.nav.username",
    href: "/username",
    icon: "profile-2user.svg",
  },
  {
    labelKey: "settings.edit.nav.password",
    href: "/password",
    icon: "key.svg",
  },
  {
    labelKey: "settings.edit.nav.googleAccount",
    href: "/google-account",
    icon: "google.png",
  },
  {
    labelKey: "settings.edit.nav.instagramImport",
    href: "/instagram-import",
    icon: "instagram.svg",
  },
  {
    labelKey: "settings.edit.nav.twoFactor",
    href: "/two-factor",
    icon: "shield-tick.svg",
  },
  {
    labelKey: "settings.edit.nav.avatar",
    href: "/avatar",
    icon: "gallery-edit.svg",
  },
  {
    labelKey: "settings.edit.nav.authentication",
    href: "/Authentication",
    icon: "user-square.svg",
  },
  {
    labelKey: "settings.edit.nav.expertise",
    href: "/expertise",
    icon: "instagram.svg",
  },
  {
    labelKey: "settings.edit.nav.colors",
    href: "/colors",
    icon: "shop-add.svg",
  },
  {
    labelKey: "settings.edit.nav.services",
    href: "/services",
    icon: "services.svg",
  },
  {
    labelKey: "settings.edit.nav.sizes",
    href: "/sizes",
    icon: "timer.svg",
  },
  {
    labelKey: "settings.edit.nav.license",
    href: "/License",
    icon: "verify3.svg",
  },
  {
    labelKey: "settings.edit.nav.cooperationType",
    href: "/cooperation-type",
    icon: "link-square.svg",
  },
  {
    labelKey: "settings.edit.nav.publicRelations",
    href: "/public-relations",
    icon: "people.svg",
  },
  {
    labelKey: "settings.edit.nav.shaba",
    href: "/shaba",
    icon: "user-tick.svg",
  },
  {
    labelKey: "settings.edit.nav.location",
    href: "/location",
    icon: "location.svg",
  },
  {
    labelKey: "settings.edit.nav.blockedUsers",
    href: "/blocked-users",
    icon: "user-remove.svg",
  },
  {
    labelKey: "settings.edit.nav.archive",
    href: "/archive",
    icon: "archive-book.svg",
  },
  {
    labelKey: "settings.edit.nav.activity",
    href: "/activity",
    icon: "activity.svg",
  },
];

export const editEmployerNavLinks = [
  {
    labelKey: "constants.editEmployerNav.username",
    href: "/username",
    icon: "profile-2user.svg",
  },
  {
    labelKey: "constants.editEmployerNav.password",
    href: "/password",
    icon: "key.svg",
  },
  {
    labelKey: "constants.editEmployerNav.avatar",
    href: "/avatar",
    icon: "gallery-edit.svg",
  },
  {
    labelKey: "constants.editEmployerNav.bio",
    href: "/bio",
    icon: "people.svg",
  },
  {
    labelKey: "constants.editEmployerNav.shaba",
    href: "/shaba",
    icon: "user-tick.svg",
  },
  {
    labelKey: "constants.editEmployerNav.location",
    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: { labelKey: "constants.projectStatus.pre_payment", color: "" },
  temp_accept: { labelKey: "constants.projectStatus.temp_accept", color: "" },
  paid: { labelKey: "constants.projectStatus.paid", color: "" },
  accepted: { labelKey: "constants.projectStatus.accepted", color: "" },
  rejected: { labelKey: "constants.projectStatus.rejected", color: "" },
  done: { labelKey: "constants.projectStatus.done", color: "" },
  cancled: { labelKey: "constants.projectStatus.cancled", color: "" },
  ongoing: { labelKey: "constants.projectStatus.ongoing", color: "" },
};
