const baseURL = "/assets/images/";

// export type ServiceOffered =
//   | "Assemble"
//   | "Take Packaging Away"
//   | "Disassemble"
//   | "Collect Disposal"
//   | "Unpack Items";

export const paths: Record<number, string> = {
  1: 'assembly.svg', //1
  2: 'disassembly.svg', //2
  3: 'unpack_items.svg', //3
  4: 'packaging_removal.svg', //4
  5: 'collect_disposal.svg', //5
};

export const getSubPath = (input: number): string => {
  const result = paths[input];
  return result;
};

export const getIcon = (input: number): string => {
  const subPath = getSubPath(input);
  return `${baseURL}${subPath}`;
};
