diff --git a/src/components/Team.jsx b/src/components/Team.jsx index f1678ce..f939761 100644 --- a/src/components/Team.jsx +++ b/src/components/Team.jsx @@ -1,11 +1,11 @@ -import React, { useState } from "react"; +import React from "react"; import { motion } from "framer-motion"; import linkedinurl from "/linkedin.png" import { styles } from "../styles"; import { SectionWrapper } from "../hoc"; import { fadeIn, textVariant } from "../utils/motion"; -import { teammembers as currentTeamMembers, newTeammembers } from "../constants"; +import { teammembers } from "../constants"; const TeamMemberCard = ({ index, @@ -56,14 +56,6 @@ const TeamMemberCard = ({ ); const Team = () => { - const [showNewTeam, setShowNewTeam] = useState(false); - - const toggleTeamMembers = () => { - setShowNewTeam(!showNewTeam); - }; - - const teamMembersToShow = showNewTeam ? newTeammembers : currentTeamMembers; - return (
{
- {teamMembersToShow.map((teamMember, index) => ( - + {teammembers.map((testimonial, index) => ( + ))}
-
- -
); }; diff --git a/src/constants/index.js b/src/constants/index.js index cc3e72e..a856cd9 100644 --- a/src/constants/index.js +++ b/src/constants/index.js @@ -51,7 +51,7 @@ const services = [ const teammembers = [ { name: "Kunal Agrawal", - designation: "President...", + designation: "President..", image: "team-member1.jpg", linkedin: "https://www.linkedin.com/in/kunalragrawal/", },