import axios from "axios";

export default axios.create({
  // baseURL: "http://localhost:7000/api/",

  baseURL: "https://cloud.247tranzact.com/api/",
  //withCredentials: true,
  headers: {
    "Content-Type": "application/json",
  },
});
//export const Url = "https://api.247tranzact.com/api/";
//export const Url = "http://localhost:7000/api/";
export const url = "https://cloud.247tranzact.com/api/";

export const imgUrl = "https://cloud.247tranzact.com/images/";

export const marketUrlEndpoint = url + "market/";
export const postUrlEndpoint = url + "posts/";

export const productUrlEndpoint = url + "product/";

export const options = [
  {
    label: "Agriculture and Raw material",
    value: "Agriculture and Raw material",
  },
  { label: "Apparel and Accessories", value: "Apparel and Accessories" },
  { label: "Home and Garden", value: "Home and Garden" },
  { label: "Beauty & Personal Care", value: "Beauty & Personal Care" },
  { label: "Consumer Electronics", value: "Consumer Electronics" },
  { label: "Sports and Entertainment", value: "Sports and Entertainment" },
  { label: "Packaging and Printing", value: "Packaging and Printing" },
  { label: "Industrial Machines", value: "Industrial Machines" },
  { label: "Shoes and Accesories", value: "Shoes and Accesories" },
  {
    label: "Vehicle Parts and Accessories",
    value: "Vehicle Parts and Accessories",
  },
  { label: "Furniture", value: "Furniture" },
  { label: "Home Appliances", value: "Home Appliances" },
  { label: "Tools and Hardware", value: "Tools and Hardware" },
  { label: "Tech and Softwares", value: "Tech and Softwares" },

  { label: "Luggages and Bags", value: "Luggages and Bags" },
  { label: "Construction & Paints", value: "Construction & Paints" },
  { label: "Lights & Lighting", value: "Lights & Lighting" },
  {
    label: "Health Care and Medical Supplies",
    value: "Health Care and Medical Supplies",
  },
  {
    label: "School and Office Supplies",
    value: "School and Office Supplies",
  },
  { label: "Renewable Energy", value: "Renewable Energy" },
  { label: "Food and Beverage", value: "Food and Beverage" },
  { label: "Chemicals", value: "Chemicals" },
];

export const city = [
  {
    label: "Aba, Abia State",
    value: "Aba",
  },
  { label: "Abuja, FCT", value: "Abuja" },
  { label: "Awka, Anambra State", value: "Awka" },

  { label: "Enugu, Enugu State", value: "Enugu" },
  { label: "Onitsha, Anambra State", value: "Onitsha" },
  { label: "Kano, Kano State", value: "Kano" },
  { label: "Lagos, Lagos State", value: "Lagos" },
];
