import React, { useState } from 'react'; import Sidebar from '../../partials/Sidebar'; import Header from '../../partials/Header'; import JobSidebar from '../../partials/job/JobSidebar'; import DropdownSort from '../../components/DropdownSort'; import JobListItem from '../../partials/job/JobListItem'; import PaginationNumeric from '../../components/PaginationNumeric'; import Image01 from '../../images/company-icon-05.svg'; import Image02 from '../../images/company-icon-06.svg'; import Image03 from '../../images/company-icon-03.svg'; import Image04 from '../../images/company-icon-07.svg'; import Image05 from '../../images/company-icon-08.svg'; import Image06 from '../../images/company-icon-01.svg'; import Image07 from '../../images/company-icon-02.svg'; function JobListing() { const items = [ { id: 0, image: Image01, company: 'Company 01', role: 'Senior Web App Designer', link: '/job/job-post', details: 'Contract / Remote / New York, NYC', date: 'Jan 4', type: 'Featured', fav: false, }, { id: 1, image: Image01, company: 'Company 02', role: 'Senior Full Stack Engineer', link: '/job/job-post', details: 'Contract / Remote / New York, NYC', date: 'Jan 7', type: 'New', fav: true, }, { id: 2, image: Image02, company: 'Company 03', role: 'Ruby on Rails Engineer', link: '/job/job-post', details: 'Contract / Remote / New York, NYC', date: 'Jan 7', type: 'New', fav: false, }, { id: 3, image: Image03, company: 'Company 04', role: 'Senior Software Engineer Backend', link: '/job/job-post', details: 'Full-time / Remote / Anywhere', date: 'Jan 7', type: 'New', fav: false, }, { id: 4, image: Image04, company: 'Company 05', role: 'React.js Software Developer', link: '/job/job-post', details: 'Full-time / Remote / London, UK', date: 'Jan 6', type: 'New', fav: true, }, { id: 5, image: Image05, company: 'Company 06', role: 'Senior Full Stack Rails Developer', link: '/job/job-post', details: 'Part-time / Remote / Milan, IT', date: 'Jan 6', type: 'New', fav: false, }, { id: 6, image: Image06, company: 'Company 07', role: 'Principal Software Engineer', link: '/job/job-post', details: 'Freelance / Remote / London, UK', date: 'Jan 6', type: 'New', fav: false, }, { id: 7, image: Image04, company: 'Company 08', role: 'Contract React Native Engineer', link: '/job/job-post', details: 'Contract / Remote / Miami, FL', date: 'Jan 6', type: 'New', fav: false, }, { id: 8, image: Image05, company: 'Company 09', role: 'Senior Client Engineer (React & React Native)', link: '/job/job-post', details: 'Full-time / Remote / Lincoln, NE', date: 'Jan 5', type: 'New', fav: false, }, { id: 9, image: Image07, company: 'Company 10', role: 'QA Automation Engineer', link: '/job/job-post', details: 'Contract / Remote / Anywhere', date: 'Jan 5', type: 'New', fav: false, }, ]; const [sidebarOpen, setSidebarOpen] = useState(false); return (