import React from "react"; import { useDispatch } from "react-redux"; import { Link } from "react-router-dom"; import { setToggleTab } from "@redux/projectsTrackerSlice"; import { copyProjectLink } from "@utils/helper"; import { Navigation } from "@components/Navigation/Navigation"; import { ProfileBreadcrumbs } from "@components/ProfileBreadcrumbs/ProfileBreadcrumbs"; import { ProfileHeader } from "@components/ProfileHeader/ProfileHeader"; import arrow from "assets/icons/arrows/arrowCalendar.png"; import emailImg from "assets/icons/emailStatistics.svg"; import link from "assets/icons/link.svg"; import project from "assets/icons/trackerProject.svg"; import tasks from "assets/icons/trackerTasks.svg"; import archive from "assets/images/archiveIcon.png"; import mockAvatar from "assets/images/mock/AvatarTest .png"; import "./statistics.scss"; const Statistics = () => { const dispatch = useDispatch(); const teams = [ { avatar: mockAvatar, name: "Дмитрий Рогов", email: "dmitryi.zavadskyi@yandex.ru", role: "Программист", status: true, }, { avatar: mockAvatar, name: "Марина Орехова", email: "dmitryi.zavadskyi@yandex.ru", role: "Менеджер", status: true, }, { avatar: mockAvatar, name: "Тамара Доценко", email: "dmitryi.zavadskyi@yandex.ru51515188151", role: "Тестировщик", status: false, }, { avatar: mockAvatar, name: "Кек Лолов", email: "dm4124gmail.com", role: "PM", status: false, }, ]; const toggleTabs = (index) => { dispatch(setToggleTab(index)); }; return (
Проекты
toggleTabs(2)} >Все мои задачи
toggleTabs(3)} >Архив
Проект:
{"Василий Тарасов"}
{" "}Открытые задачи
{4}Задач в работе
{5}Закрыто задач
{434}Имя
Почта
Роль
Статус
{item.name}
{item.email}
{item.role}
{/* */} {item.status ? "Активно" : "Не активно"}Добавить участников