import React from "react";

export const sprites = "/chats/sprites.svg";
export const images = (path: string) => `/chats/${path}`;

export interface IReview {
  avatar: string;
  name: string;
  date: string;
  text: string;
}

export const welcomeReviews: IReview[] = [
  {
    avatar: "angel.webp",
    name: "review_name_1",
    date: "06/09/2021",
    text: "review_text_1",
  },
  {
    avatar: "hanna.webp",
    name: "review_name_2",
    date: "29/08/2021",
    text: "review_text_2",
  },
  {
    avatar: "christofer.webp",
    name: "review_name_3",
    date: "11/10/2021",
    text: "review_text_3",
  },
];

interface IProgressBarSteps {
  name: string;
  length: number;
  index: number;
}

export const progressBarSteps: IProgressBarSteps[] = [
  {
    index: 1,
    name: "quiz_header.step_1",
    length: 5,
  },
  {
    index: 2,
    name: "quiz_header.step_2",
    length: 16,
  },
  {
    index: 3,
    name: "quiz_header.step_3",
    length: 8,
  },
];

export interface IAnswer {
  id: number;
  value: string;
  name: string | React.ReactNode;
  questionId: string;
  onClick?: () => void;
}

export interface IDrawerMenuItem {
  text: string;
  link: string;
}

export const drawerMenuItems: IDrawerMenuItem[] = [
  {
    text: "Privacy policy",
    link: "https://witlab.us/privacy",
  },
  {
    text: "Terms of use",
    link: "https://witlab.us/terms",
  },
  {
    text: "Money back policy",
    link: "https://witlab.us/refund",
  },
  {
    text: "Cookie policy",
    link: "https://witlab.us/privacy",
  },
  {
    text: "FAQ",
    link: "https://witlab.us/privacy",
  },
  {
    text: "Contact us",
    link: "https://witlab.us",
  },
];
