import React, { useState } from 'react'; import Sidebar from '../partials/Sidebar'; import Header from '../partials/Header'; import SearchForm from '../partials/actions/SearchForm'; import FilterButton from '../components/DropdownFilter'; import CampaignsCard from '../partials/campaigns/CampaignsCard'; import PaginationNumeric from '../components/PaginationNumeric'; import Image01 from '../images/user-28-01.jpg'; import Image02 from '../images/user-28-02.jpg'; import Image03 from '../images/user-28-03.jpg'; import Image04 from '../images/user-28-04.jpg'; import Image05 from '../images/user-28-05.jpg'; import Image06 from '../images/user-28-06.jpg'; import Image07 from '../images/user-28-07.jpg'; import Image08 from '../images/user-28-08.jpg'; import Image09 from '../images/user-28-09.jpg'; import Image10 from '../images/user-28-10.jpg'; import Image11 from '../images/user-28-11.jpg'; import Image12 from '../images/user-28-12.jpg'; function Campaigns() { const items = [ { id: 0, category: '1', members: [ { name: 'User 01', image: Image01, link: '#0' }, { name: 'User 02', image: Image02, link: '#0' }, { name: 'User 03', image: Image03, link: '#0' }, ], title: 'Monitor progress in Real Time Value', link: '#0', content: 'Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts.', dates: { from: 'Jan 20', to: 'Jan 27' }, type: 'One-Time' }, { id: 1, category: '2', members: [ { name: 'User 04', image: Image04, link: '#0' }, { name: 'User 05', image: Image05, link: '#0' }, ], title: 'Monitor progress in Real Time Value', link: '#0', content: 'Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts.', dates: { from: 'Jan 20', to: 'Jan 27' }, type: 'Off-Track' }, { id: 3, category: '3', members: [ { name: 'User 07', image: Image07, link: '#0' }, { name: 'User 08', image: Image08, link: '#0' }, { name: 'User 09', image: Image09, link: '#0' }, ], title: 'Monitor progress in Real Time Value', link: '#0', content: 'Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts.', dates: { from: 'Jan 20', to: 'Jan 27' }, type: 'At Risk' }, { id: 4, category: '1', members: [ { name: 'User 10', image: Image10, link: '#0' }, ], title: 'Monitor progress in Real Time Value', link: '#0', content: 'Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts.', dates: { from: 'Jan 20', to: 'Jan 27' }, type: 'At Risk' }, { id: 5, category: '4', members: [ { name: 'User 11', image: Image11, link: '#0' }, { name: 'User 05', image: Image05, link: '#0' }, { name: 'User 12', image: Image12, link: '#0' }, ], title: 'Monitor progress in Real Time Value', link: '#0', content: 'Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts.', dates: { from: 'Jan 20', to: 'Jan 27' }, type: 'One-Time' }, { id: 6, category: '2', members: [ { name: 'User 07', image: Image07, link: '#0' }, { name: 'User 04', image: Image04, link: '#0' }, { name: 'User 11', image: Image11, link: '#0' }, ], title: 'Monitor progress in Real Time Value', link: '#0', content: 'Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts.', dates: { from: 'Jan 20', to: 'Jan 27' }, type: 'At Risk' }, { id: 7, category: '4', members: [ { name: 'User 01', image: Image01, link: '#0' }, { name: 'User 02', image: Image02, link: '#0' }, { name: 'User 06', image: Image06, link: '#0' }, ], title: 'Monitor progress in Real Time Value', link: '#0', content: 'Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts.', dates: { from: 'Jan 20', to: 'Jan 27' }, type: 'One-Time' }, { id: 8, category: '1', members: [ { name: 'User 09', image: Image09, link: '#0' }, { name: 'User 01', image: Image01, link: '#0' }, ], title: 'Monitor progress in Real Time Value', link: '#0', content: 'Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts.', dates: { from: 'Jan 20', to: 'Jan 27' }, type: 'Off-Track' }, { id: 9, category: '3', members: [ { name: 'User 07', image: Image07, link: '#0' }, { name: 'User 08', image: Image08, link: '#0' }, { name: 'User 09', image: Image09, link: '#0' }, { name: 'User 06', image: Image06, link: '#0' }, ], title: 'Monitor progress in Real Time Value', link: '#0', content: 'Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts.', dates: { from: 'Jan 20', to: 'Jan 27' }, type: 'One-Time' }, { id: 10, category: '4', members: [ { name: 'User 06', image: Image06, link: '#0' }, { name: 'User 11', image: Image11, link: '#0' }, ], title: 'Monitor progress in Real Time Value', link: '#0', content: 'Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts.', dates: { from: 'Jan 20', to: 'Jan 27' }, type: 'Off-Track' }, { id: 11, category: '2', members: [ { name: 'User 05', image: Image05, link: '#0' }, ], title: 'Monitor progress in Real Time Value', link: '#0', content: 'Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts.', dates: { from: 'Jan 20', to: 'Jan 27' }, type: 'Off-Track' }, { id: 12, category: '3', members: [ { name: 'User 07', image: Image07, link: '#0' }, { name: 'User 08', image: Image08, link: '#0' }, { name: 'User 09', image: Image09, link: '#0' }, ], title: 'Monitor progress in Real Time Value', link: '#0', content: 'Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts.', dates: { from: 'Jan 20', to: 'Jan 27' }, type: 'At Risk' }, ]; const [sidebarOpen, setSidebarOpen] = useState(false); return (