import mock from './mock'
import facebook from '@/assets/icons/facebook.png'
import google from '@/assets/icons/google.png'
import linkedin from '@/assets/icons/linkedin.png'
import notion from '@/assets/icons/notion.png'
import reddit from '@/assets/icons/reddit.png'
import twitter from '@/assets/icons/twitter.png'
import type { Job } from '@/plugins/apis/types'

const jobs: Job[] = [
  {
    name: 'Machine Learning Engineer',
    companyName: 'Google LLC',
    companyLogo: google,
    location: 'Armonk, USA',
    postedDate: '12/11/2024',
    salary: '110-140k',
    employment: ['Full-Time', 'On-Site'],
    experience: 3,
    level: 'Junior',
    color: 'primary',
  },
  {
    name: 'Cloud Solutions Architect',
    companyName: 'Meta Corporation',
    companyLogo: facebook,
    location: 'Redwood City, USA',
    postedDate: '12/12/2024',
    salary: '120-150k',
    employment: ['Full-Time', 'Remote'],
    experience: 4,
    level: 'Senior',
    color: 'secondary',
  },
  {
    name: 'Quality Assurance Tester',
    companyLogo: linkedin,
    companyName: 'LinkedIn Inc.',
    location: 'San Jose, USA',
    postedDate: '12/13/2024',
    salary: '80-110k',
    employment: ['Full-Time', 'Hybrid'],
    experience: 2,
    level: 'Intermediate',
    color: 'info',
  },
  {
    name: 'Technical Support Specialist',
    companyLogo: notion,
    companyName: 'Notion Technologies',
    location: 'Round Rock, USA',
    postedDate: '12/14/2024',
    salary: '70-100k',
    employment: ['Full-Time', 'On-Site'],
    experience: 1,
    level: 'Entry-level',
    color: 'success',
  },
  {
    name: 'Marketing Coordinator',
    companyLogo: reddit,
    companyName: 'Reddit Inc.',
    location: 'San Francisco, USA',
    postedDate: '12/15/2024',
    salary: '90-120k',
    employment: ['Full-Time', 'Remote'],
    experience: 2,
    level: 'Junior',
    color: 'error',
  },
  {
    name: 'Data Scientist',
    companyLogo: twitter,
    companyName: 'Twitter Inc.',
    location: 'Menlo Park, USA',
    postedDate: '12/06/2024',
    salary: '120-150k',
    employment: ['Full-Time', 'Hybrid'],
    experience: 4,
    level: 'Senior',
    color: 'primary',
  },
  {
    name: 'Mobile App Developer',
    companyLogo: google,
    companyName: 'Apple Inc.',
    location: 'Cupertino, USA',
    postedDate: '12/07/2024',
    salary: '110-140k',
    employment: ['Full-Time', 'On-Site'],
    experience: 2,
    level: 'Intermediate',
    color: 'info',
  },
  {
    name: 'DevOps Engineer',
    companyLogo: twitter,
    companyName: 'Netflix, Inc.',
    location: 'Los Gatos, USA',
    postedDate: '12/08/2024',
    salary: '100-130k',
    employment: ['Full-Time', 'Remote'],
    experience: 3,
    level: 'Junior',
    color: 'secondary',
  },
  {
    name: 'Product Manager',
    companyLogo: reddit,
    companyName: 'Twitter, Inc.',
    location: 'San Francisco, USA',
    postedDate: '12/09/2024',
    salary: '130-160k',
    employment: ['Full-Time', 'Hybrid'],
    experience: 5,
    level: 'Senior',
    color: 'success',
  },
  {
    name: 'Network Security Analyst',
    companyLogo: notion,
    companyName: 'Cisco Systems, Inc.',
    location: 'San Jose, USA',
    postedDate: '12/10/2024',
    salary: '90-120k',
    employment: ['Full-Time', 'Remote'],
    experience: 2,
    level: 'Intermediate',
    color: 'warning',
  },
]

mock.onGet('/jobs').reply(() => {
  return [200, jobs]
})
