From c123b663201bb866e03f7537d2971353e0ba45e6 Mon Sep 17 00:00:00 2001 From: Adarsh Dubey Date: Sat, 2 Mar 2024 22:32:10 +0530 Subject: [PATCH] feat: add section content and style changes --- src/components/Cards/TeamMemberCard.jsx | 13 +-- src/components/PageComp/HomePage/Team.jsx | 121 ++++++++++++++++------ src/pages/content.js | 4 + 3 files changed, 96 insertions(+), 42 deletions(-) diff --git a/src/components/Cards/TeamMemberCard.jsx b/src/components/Cards/TeamMemberCard.jsx index 73e4c3f4..80ec1511 100644 --- a/src/components/Cards/TeamMemberCard.jsx +++ b/src/components/Cards/TeamMemberCard.jsx @@ -1,5 +1,3 @@ -import { BsGithub, BsTwitter } from 'react-icons/bs'; - const TeamMemberCard = ({ name, role, description, socials, img }) => { return (
@@ -12,12 +10,11 @@ const TeamMemberCard = ({ name, role, description, socials, img }) => {

{description}

- - - - - - + {socials.map((social, index) => ( + + + + ))}
diff --git a/src/components/PageComp/HomePage/Team.jsx b/src/components/PageComp/HomePage/Team.jsx index 266c0f71..fc1d4cda 100644 --- a/src/components/PageComp/HomePage/Team.jsx +++ b/src/components/PageComp/HomePage/Team.jsx @@ -1,70 +1,123 @@ +import { BsGithub, BsGlobe, BsTwitter, BsYoutube } from 'react-icons/bs'; + import TeamMemberCard from '@/components/Cards/TeamMemberCard'; -import { adarshImage } from '@/assets/images/team'; +import { + aayushImage, + adarshImage, + bhavyaImage, + gauriImage, + kunalImage, +} from '@/assets/images/team'; const teamMembers = [ { name: 'Kunal Kushwaha', role: 'Founder', - img: adarshImage, - description: 'Some description about the team member', - socials: { - twitter: 'https://twitter.com/kunalstwt', - github: 'https://github.com/kunal-kushwaha', - }, + img: kunalImage, + description: 'Founder @WeMakeDevs | Currently at @Civo', + socials: [ + { + name: 'Twitter', + link: 'https://twitter.com/kunalstwt', + icon: BsTwitter, + }, + { + name: 'YouTube', + link: 'https://www.youtube.com/KunalKushwaha', + icon: BsYoutube, + }, + ], }, { - name: 'Ayush Sharma', + name: 'Aayush Sharma', role: 'Community Manager', - img: adarshImage, - description: 'Some description about the team member', - socials: { - twitter: 'https://twitter.com/SuperAayush14', - github: 'https://github.com/SuperAayush', - }, + img: aayushImage, + description: + 'Community Manager - @wemakedevs | prev - @mericodev, @ApacheAPISIX | Contributor - @keptnProject, @canonical | Tech Speaker 🎤 |', + socials: [ + { + name: 'Twitter', + link: 'https://twitter.com/SuperAayush14', + icon: BsTwitter, + }, + { + name: 'GitHub', + link: 'https://github.com/SuperAayush', + icon: BsGithub, + }, + ], }, { name: 'Bhavya Sachdeva', role: 'Community Manager', - img: adarshImage, - description: 'Some description about the team member', - socials: { - twitter: 'https://twitter.com/bhavya_58', - github: 'https://github.com/bhavyastar', - }, + img: bhavyaImage, + description: + "Community Manager - @wemakedevs | prev - @mericodev, @napptive | Tech Speaker 🎤 | LiFT Scholar'23", + socials: [ + { + name: 'Twitter', + link: 'https://twitter.com/bhavya_58', + icon: BsTwitter, + }, + { + name: 'GitHub', + link: 'https://github.com/bhavyastar', + icon: BsGithub, + }, + ], }, { name: 'Gauri Maheshwari', role: 'Community Manager', - img: adarshImage, - description: 'Some description about the team member', - socials: { - twitter: 'https://twitter.com/gaurii09', - github: 'https://github.com/gauriimaheshwarii', - }, + img: gauriImage, + description: + "19 | GSoC'23 @FreeCADNews | Research Intern'23 @iitroorkee | Team @WeMakeDevs | MLSA | Mechanical Engineer | IGDTUW'25 | potterhead⚡️| F1 devotee 🏎", + socials: [ + { + name: 'Twitter', + link: 'https://twitter.com/gaurii09', + icon: BsTwitter, + }, + { + name: 'GitHub', + link: 'https://github.com/gauriimaheshwarii', + icon: BsGithub, + }, + ], }, { name: 'Adarsh Dubey', - role: 'Developer', + role: 'Designer & Developer', img: adarshImage, - description: 'Web Dev, ML Enthusiast and Community Builder.', - socials: { - twitter: 'https://twitter.com/inclinedadarsh', - github: 'https://github.com/inclinedadarsh', - }, + description: + 'Building web experiences for WeMakeDevs. Working towards ML and AI.', + socials: [ + { + name: 'Twitter', + link: 'https://twitter.com/inclinedadarsh', + icon: BsTwitter, + }, + { + name: 'Bento', + link: 'https://bento.me/adarsh', + icon: BsGlobe, + }, + ], }, ]; const Team = () => { return ( -
+
+ {/* The `-mt-20 pt-20` are there so that the smooth-scroll scrolls perfectly at the title */}

Meet the team

We are the people behind this community. We thank every previous team member as well as every contributor. You'll be always at the heart of this community!

-
+
{teamMembers.map((member, index) => ( ))} diff --git a/src/pages/content.js b/src/pages/content.js index 844b703b..e469accb 100644 --- a/src/pages/content.js +++ b/src/pages/content.js @@ -50,6 +50,10 @@ export const HomePageContent = { name: 'Newsroom', href: '#content', }, + { + name: 'Team', + href: '#team', + }, { name: 'Join', href: '#join',