import React, {useState} from 'react'; import {ProfileHeader} from "../../components/ProfileHeader/ProfileHeader"; import {Footer} from '../../components/Footer/Footer' import project from '../../images/trackerProject.svg' import tasks from '../../images/trackerTasks.svg' import archive from '../../images/archiveTracker.svg' import './tracker.scss' export const Tracker = () => { const [toggleTab, setToggleTab] = useState(1) const [projects] = useState([ { name: 'Разработка трекера', count: 4 }, { name: 'Кинотеатр', count: 4 }, { name: 'Проект страхование', count: 4 } ]) const toggleTabs = (index) => { setToggleTab(index) } return (
Проекты
Задачи
Архив
Открытые задачи
{project.count} +