Spaces:
Running
Running
File size: 10,002 Bytes
803d869 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 | import React, { useState } from 'react';
import '../../assets/css/style.css'; // Assuming your CSS is in this path
import Team1 from '../../assets/img/team-1.jpeg';
import Team2 from '../../assets/img/team-2.jpeg';
import Team3 from '../../assets/img/team-3.jpeg';
import Team4 from '../../assets/img/team-4.jpeg';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faTimes, faGraduationCap, faGlobe, faLightbulb, faHandsHelping, faBook, faHeart } from '@fortawesome/free-solid-svg-icons';
import { faLinkedinIn, faGithub } from '@fortawesome/free-brands-svg-icons';
import { faInstagram } from '@fortawesome/free-brands-svg-icons';
const TeamSection = () => {
const [selectedMember, setSelectedMember] = useState(null);
const teamMembers = [
// ... (your teamMembers array remains the same)
{
id: 1,
name: "Suyash Shevade",
role: "Backend Developer",
image: Team1,
bio: "Java backend developer skilled in Spring Boot, PostgreSQL, and AWS. Passionate about building scalable and efficient systems.",
education: "B.Tech in Computer Science Engineering (2025)",
skills: ["Java", "Spring Boot", "PostgreSQL", "Docker", "AWS", "Liquibase"],
social: {
linkedin: "https://www.linkedin.com/in/suyash-shevade-8b07a9236/",
github: "https://github.com/Shevadesuyash",
instagram: "https://www.instagram.com/shevadesuyash30/"
},
fullBio: "I am a backend developer with hands-on experience in Java and Spring Boot. I have worked on real-world projects during my internship at Brandspark Technologies, where I developed RESTful APIs, integrated AWS services, managed PostgreSQL databases, and used Docker for containerization. I am passionate about creating robust and scalable server-side applications and continuously improving my skills in backend technologies and DevOps tools."
},
{
id: 2,
name: "Taranjeet Kaur",
role: "Frontend Developer",
image: Team2,
bio: "Creative UI/UX enthusiast with expertise in React and modern CSS frameworks.",
education: "Web Development Certification",
skills: ["React", "JavaScript", "CSS3", "Responsive Design"],
social: {
linkedin: "#",
github: "#",
instagram: "#"
},
fullBio: "As a frontend developer, I bridge the gap between design and technology. I create beautiful, intuitive interfaces using React and modern CSS techniques. With a keen eye for design and user experience, I ensure our applications are not only functional but also delightful to use."
},
{
id: 3,
name: "Abhijeet Borkar",
role: "Frontend Developer",
image: Team3,
bio: "Focuses on creating interactive user experiences with clean, maintainable code.",
education: "Information Technology Graduate",
skills: ["React", "Redux", "TypeScript", "Bootstrap"],
social: {
linkedin: "#",
github: "#",
instagram: "#"
},
fullBio: "I specialize in building complex frontend applications with React and TypeScript. My focus is on creating maintainable, well-structured code that scales. I'm particularly interested in state management solutions and optimizing frontend performance for better user experiences."
},
{
id: 4,
name: "Roshan Anand",
role: "Machine Learning Engineer",
image: Team4,
bio: "Passionate about AI and data science. Enjoys implementing ML models to solve real-world problems.",
education: "AI & Machine Learning Specialization",
skills: ["Python", "TensorFlow", "Data Analysis", "NLP"],
social: {
linkedin: "#",
github: "#",
instagram: "#"
},
fullBio: "As our machine learning specialist, I develop and implement AI models to solve complex problems. My expertise includes natural language processing and predictive analytics. I'm passionate about making AI accessible and creating solutions that have real-world impact."
}
];
const handleMemberClick = (member) => {
setSelectedMember(member);
};
const closeDetails = () => {
setSelectedMember(null);
};
return (
<section id="team" className="team-section">
<div>
<div className="section-header">
<h2>Meet Our Team</h2>
<p className="section-subtitle">A group of passionate freshers ready to make an impact</p>
</div>
<div className="team-intro">
<p>
We are a team of recent graduates and self-taught developers who believe in the power of
collaboration and continuous learning. Though we're new to the industry, we bring fresh
perspectives, up-to-date knowledge, and boundless enthusiasm to every project.
</p>
</div>
<div className="team-members-grid">
<div className="row"> {/* Added a 'row' here to contain the grid items */}
{teamMembers.map((member) => (
<div className="col-lg-3 col-md-6" key={member.id}>
<div
className={`team-member-card ${selectedMember?.id === member.id ? 'active' : ''}`}
onClick={() => handleMemberClick(member)}
>
<div className="member-image">
<img src={member.image} alt={member.name} />
<div className="image-overlay">
<div className="social-links">
<a href={member.social.linkedin} aria-label={`${member.name} LinkedIn`}>
<FontAwesomeIcon icon={faLinkedinIn} />
</a>
<a href={member.social.github} aria-label={`${member.name} GitHub`}>
<FontAwesomeIcon icon={faGithub} />
</a>
{member.social.instagram && (
<a href={member.social.instagram} aria-label={`${member.name} instagram`}>
<FontAwesomeIcon icon={faInstagram} />
</a>
)}
</div>
</div>
</div>
<div className="member-basic-info">
<h3>{member.name}</h3>
<span className="role">{member.role}</span>
<p className="bio">{member.bio}</p>
</div>
</div>
</div>
))}
</div>
</div>
{selectedMember && (
<div className="team-member-details show">
<button className="close-details" onClick={closeDetails}>
<FontAwesomeIcon icon={faTimes} />
</button>
<div className="details-content">
<div className="details-left">
<img src={selectedMember.image} alt={selectedMember.name} />
<div className="social-links">
<a href={selectedMember.social.linkedin} target="_blank" rel="noopener noreferrer">
<FontAwesomeIcon icon={faLinkedinIn} />
</a>
<a href={selectedMember.social.github} target="_blank" rel="noopener noreferrer">
<FontAwesomeIcon icon={faGithub} />
</a>
{selectedMember.social.instagram && (
<a href={selectedMember.social.instagram} target="_blank" rel="noopener noreferrer">
<FontAwesomeIcon icon={faInstagram} />
</a>
)}
</div>
</div>
<div className="details-right">
<h2>{selectedMember.name}</h2>
<h3>{selectedMember.role}</h3>
<div className="education">
<FontAwesomeIcon icon={faGraduationCap} />
<span>{selectedMember.education}</span>
</div>
<div className="full-bio">
<p>{selectedMember.fullBio}</p>
</div>
<div className="skills-section">
<h4>Skills & Expertise</h4>
<div className="skill-tags">
{selectedMember.skills.map((skill, index) => (
<span key={index} className="skill-tag">{skill}</span>
))}
</div>
</div>
</div>
</div>
</div>
)}
<div className="team-values">
<h3>Our Values</h3>
<div className="values-grid">
<div className="value-item">
<FontAwesomeIcon icon={faLightbulb} />
<h4>Innovation</h4>
<p>We embrace new ideas and creative problem-solving</p>
</div>
<div className="value-item">
<FontAwesomeIcon icon={faHandsHelping} />
<h4>Collaboration</h4>
<p>We believe the best solutions come from teamwork</p>
</div>
<div className="value-item">
<FontAwesomeIcon icon={faBook} />
<h4>Continuous Learning</h4>
<p>We're committed to constantly improving our skills</p>
</div>
<div className="value-item">
<FontAwesomeIcon icon={faHeart} />
<h4>Passion</h4>
<p>We love what we do and it shows in our work</p>
</div>
</div>
</div>
</div>
</section>
);
};
export default TeamSection; |