/*! ========================================================= * Argon Dashboard Chakra PRO - v1.0.0 ========================================================= * Product Page: https://www.creative-tim.com/product/argon-dashboard-chakra-pro * Copyright 2022 Creative Tim (https://www.creative-tim.com/) * Designed and Coded by Simmmple & Creative Tim ========================================================= * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ // Chakra imports import { Avatar, AvatarGroup, Button, Flex, Grid, Icon, Menu, MenuButton, MenuItem, MenuList, Text, useColorModeValue, useColorMode, useDisclosure, } from "@chakra-ui/react"; // Assets import avatar1 from "assets/img/avatars/avatar1.png"; import avatar2 from "assets/img/avatars/avatar2.png"; import avatar3 from "assets/img/avatars/avatar3.png"; import avatar5 from "assets/img/avatars/avatar5.png"; import avatar4 from "assets/img/avatars/avatar4.png"; import avatar7 from "assets/img/avatars/avatar7.png"; // Custom components import Card from "components/Card/Card"; import CardBody from "components/Card/CardBody"; import CardHeader from "components/Card/CardHeader"; import IconBox from "components/Icons/IconBox"; import { AdobexdLogo, AtlassianLogo, JiraLogo, SlackLogo, SpotifyLogo, } from "components/Icons/Icons"; import { HSeparator } from "components/Separator/Separator"; import React, { useReducer } from "react"; import { BsPlus } from "react-icons/bs"; import { FaCube, FaPenFancy } from "react-icons/fa"; import { IoDocumentsSharp, IoEllipsisVerticalSharp } from "react-icons/io5"; const reducer = (state, action) => { if (action.type === "SWITCH_ACTIVE") { if (action.payload === "overview") { const newState = { overview: true, teams: false, projects: false, }; return newState; } else if (action.payload === "teams") { const newState = { overview: false, teams: true, projects: false, }; return newState; } else if (action.payload === "projects") { const newState = { overview: false, teams: false, projects: true, }; return newState; } } return state; }; function Projects() { const [state, dispatch] = useReducer(reducer, { overview: false, teams: false, projects: true, }); const { colorMode } = useColorMode(); const { isOpen: isOpen1, onOpen: onOpen1, onClose: onClose1, } = useDisclosure(); const { isOpen: isOpen2, onOpen: onOpen2, onClose: onClose2, } = useDisclosure(); const { isOpen: isOpen3, onOpen: onOpen3, onClose: onClose3, } = useDisclosure(); const { isOpen: isOpen4, onOpen: onOpen4, onClose: onClose4, } = useDisclosure(); const { isOpen: isOpen5, onOpen: onOpen5, onClose: onClose5, } = useDisclosure(); // Chakra color mode const textColor = useColorModeValue("gray.700", "white"); const bgProfile = useColorModeValue("hsla(0,0%,100%,.8)", "navy.800"); const borderProfileColor = useColorModeValue("white", "transparent"); const bgIconBox = useColorModeValue( "linear-gradient(81.62deg, #313860 2.25%, #151928 79.87%)", "navy.700" ); const secondaryColor = useColorModeValue("gray.500", "white"); return ( Alec Thompson alec@simmmple.com Some of Our Awesome Projects This is the paragraph where you can write more details about your projects. Keep you user engaged by providing meaningful information. Slack Bot Action Another action Something else here If everything I did failed - which it doesn't, I think that it actually succeeds. 5 Participants 02.03.22 Due Date Premium Support Action Another action Something else here Pink is obviously a better color. Everyone’s born confident, and everything’s taken away from you. 3 Participants 22.11.22 Due Date Design Tools Action Another action Something else here Constantly growing. We’re constantly making mistakes from which we learn and improve. 4 Participants 06.03.21 Due Date Looking Great Action Another action Something else here You have the opportunity to play this game of life you need to appreciate every moment. 6 Participants 14.03.24 Due Date Developer First Action Another action Something else here For standing out. But the time is now to be okay to be the greatest you. 4 Participants 02.03.22 Due Date ); } export default Projects;