import mock from '../mock';

import FlagEn from 'src/assets/images/svgs/icon-flag-en.svg';
import FlagFr from 'src/assets/images/svgs/icon-flag-fr.svg';
import FlagCn from 'src/assets/images/svgs/icon-flag-cn.svg';
import FlagSa from 'src/assets/images/svgs/icon-flag-sa.svg';
import FlagVn from 'src/assets/images/svgs/icon-flag-vn.svg';

const LanguageData = [
    {
        id: 1,
        flagname: 'English',
        icon: FlagEn,
      },
      {
        id: 2,
        flagname: 'French',
        icon: FlagFr,
      },
      {
        id: 3,
        flagname: 'Vietnamese',
        icon: FlagVn,
      },
      {
        id: 4,
        flagname: 'Chinese',
        icon: FlagCn,
      },
      {
        id: 5,
        flagname: 'Arabic (Sudan)',
        icon: FlagSa,
      },
];

mock.onGet('/api/data/language/LanguageData').reply(() => {
  return [200, LanguageData];
});
export default LanguageData;
