diff --git a/src/app/(pages)/Stories-Achievements/page.jsx b/src/app/(pages)/Stories-Achievements/page.jsx index 22234bb..7a9c7b3 100644 --- a/src/app/(pages)/Stories-Achievements/page.jsx +++ b/src/app/(pages)/Stories-Achievements/page.jsx @@ -1,211 +1,14 @@ -"use client"; -import React, { useEffect, useState } from 'react'; -import styled from 'styled-components'; -import { motion } from 'framer-motion'; -import { FaLinkedin } from 'react-icons/fa'; -import Link from 'next/link'; - -const fadeInUp = { - hidden: { opacity: 0, y: 20 }, - visible: { opacity: 1, y: 0 }, -}; - -const cardHover = { - hover: { scale: 1.05 }, -}; - -const Container = styled.div` - padding: 40px; - width: 100%; - margin: 0 auto; - font-family: Arial, sans-serif; -`; - -const SectionTitle = styled.h1` - font-size: 2.5rem; - margin-bottom: 20px; - text-align: center; - color: #333; -`; - -const Subtitle = styled.p` - font-size: 1.2rem; - text-align: center; - color: #666; - margin-bottom: 40px; -`; - -const CardGrid = styled.div` - display: flex; - gap: 20px; - justify-content: center; - flex-wrap: wrap; - width: 100%; -`; - -const Card = styled.div` - display: flex; - flex-direction: column; - justify-content: space-between; - background-color: #fff; - border-radius: 8px; - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); - padding: 20px; - width: 100%; - max-width: 280px; - height: 100%; - text-align: center; - transition: transform 0.3s; - &:hover { - transform: translateY(-10px); - } -`; - -const CardImage = styled.img` - width: 100%; - height: 160px; - object-fit: cover; - border-radius: 8px 8px 0 0; - margin-bottom: 15px; -`; - -const CardTitle = styled.h2` - font-size: 1.5rem; - color: #0070f3; - margin-bottom: 10px; -`; - -const CardContent = styled.p` - color: #555; - margin-bottom: 10px; - justify-content: space-between; - text-align: center; -`; - -const ReadMoreButton = styled.div` - display: flex; - align-items: center; - justify-content: center; - gap: 8px; - padding: 10px 20px; - background-color: #0070f3; - color: white; - border: none; - border-radius: 5px; - font-size: 0.9rem; - cursor: pointer; - margin-top: 15px; - &:hover { - background-color: #005bb5; - } -`; - -const ConnectOnLinkedInButton = styled.div` - padding: 10px 20px; - background-color: #0070f3; - color: white; - border: none; - border-radius: 5px; - font-size: 0.9rem; - cursor: pointer; - margin-top: 15px; - display: inline-flex; /* Align items inline */ - justify-content: center; /* Centers items horizontally */ - align-items: center; /* Center items vertically */ - gap: 8px; /* Space between text and icon */ - text-decoration: none; /* Remove underline from Link */ - &:hover { - background-color: #005bb5; - } -`; - -const ConnectButton = styled.button` - padding: 12px 20px; - background-color: #0070f3; - color: white; - border: none; - border-radius: 5px; - font-size: 1rem; - cursor: pointer; - display: block; - margin: 30px auto 0; - &:hover { - background-color: #005bb5; - } -`; - -const LinkedinIcon = styled(FaLinkedin)` - font-size: 1.2rem; -`; - -const Mentorship = () => { - const [achievements, setAchievements] = useState([]); - const [mentors, setMentors] = useState([]); - - useEffect(() => { - fetch('http://localhost:5000/achievements') - .then((response) => response.json()) - .then((data) => setAchievements(data)) - .catch((error) => console.error("Error fetching achievements:", error)); - - fetch('http://localhost:5000/mentors') - .then((response) => response.json()) - .then((data) => setMentors(data)) - .catch((error) => console.error("Error fetching mentors:", error)); - }, []); +import Stories from '@/components/ui/stories' +import Achievements from '@/components/ui/achievements' +import React from 'react' +const page = () => { return ( - - - Stories from the Community - Get inspired by the clever ways people are using Google technology. - - {achievements.map((achieve, index) => ( - - - - {achieve.name} - Job: {achieve.job} - Project: {achieve.project} - Testimonial: "{achieve.testimonial}" - - Read now - - - - ))} - - - - - Meet the Mentors - Our mentors are here to guide GDSC members in various fields. - - {mentors.map((mentor, index) => ( - - - - {mentor.name} - Position: {mentor.position} - {mentor.bio} - - - Connect on LinkedIn - - - - - ))} - - - - - Connect with GDSC Alumni - Our GDSC members can connect with alumni for advice and career guidance. - Connect with Alumni - - - ); -}; - -export default Mentorship; + <> + + + + ) +} + +export default page \ No newline at end of file diff --git a/src/components/ui/achievements.jsx b/src/components/ui/achievements.jsx new file mode 100644 index 0000000..e2da0b9 --- /dev/null +++ b/src/components/ui/achievements.jsx @@ -0,0 +1,96 @@ +import React from 'react'; +import { FaGithub,FaInstagram, FaLinkedin } from 'react-icons/fa'; +import { FaXTwitter } from 'react-icons/fa6'; + +const TeamMembers = () => { + // Array of team member data with Bengali names in English + const teamMembers = [ + { + name: "Sahil Banerjee", + role: "Community Lead & Full-Stack Developer", + description: "Sahil is the visionary behind GDSC RCCIIT, fostering innovation and collaboration within the tech community. Currently interning at Google, he leads efforts in cloud infrastructure and scalable solutions.", + avatar: "https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/bonnie-green.png", + socialLinks: [ + { icon: , href: "#" }, + { icon: , href: "#" }, + { icon: , href: "#" }, + { icon: , href: "#" } + ] + }, + { + name: "Subhash Ghosh", + role: "Machine Learning Specialist", + description: "Subhash pioneers machine learning projects and research at GDSC. A Meta intern, he's focused on developing AI-driven tools for enhanced user engagement and automated content moderation.", + avatar: "https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/jese-leos.png", + socialLinks: [ + { icon: , href: "#" }, + { icon: , href: "#" }, + { icon: , href: "#" }, + { icon: , href: "#" } + ] + }, + { + name: "Arjun Mukherjee", + role: "UI/UX Designer", + description: "Arjun designs intuitive and engaging interfaces for GDSC projects. He interned at Amazon, where he crafted user-centered designs for e-commerce platforms, emphasizing accessibility and visual appeal.", + avatar: "https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/michael-gouch.png", + socialLinks: [ + { icon: , href: "#" }, + { icon: , href: "#" }, + { icon: , href: "#" }, + { icon: , href: "#" } + ] + }, + { + name: "Riya Das", + role: "Backend Developer & Data Engineer", + description: "Riya is skilled in backend development and data engineering, building robust systems for GDSC. As an intern at Netflix, she contributed to scalable data pipelines and streaming data analysis.", + avatar: "https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/sofia-mcguire.png", + socialLinks: [ + { icon: , href: "#" }, + { icon: , href: "#" }, + { icon: , href: "#" }, + { icon: , href: "#" } + ] + } +]; + + + return ( +
+
+
+

Achievemnts

+

The notable alumni of our past GDSC members who are now in MAANG companies

+
+
+ {teamMembers.map((member, index) => ( +
+ + {`${member.name} + +
+

+ {member.name} +

+ {member.role} +

{member.description}

+ +
+
+ ))} +
+
+
+ ); +}; + +export default TeamMembers; \ No newline at end of file diff --git a/src/components/ui/stories.jsx b/src/components/ui/stories.jsx new file mode 100644 index 0000000..e5d3dce --- /dev/null +++ b/src/components/ui/stories.jsx @@ -0,0 +1,89 @@ + + +import React from 'react'; + +const testimonials = [ + { + title: "Pioneering Innovation in AI and Machine Learning", + content: [ + "Ananya's journey started at RCCIIT, where she became an active member of the Google Developer Student Club (GDSC). Her curiosity and dedication led her to explore the depths of artificial intelligence.", + "As a developer, she quickly rose through the ranks, contributing to groundbreaking projects that pushed the boundaries of what's possible with AI.", + "Today, as a Developer at Open AI, Ananya is a shining example of what passion and perseverance can achieve." + ], + author: "Ananya Sen", + jobTitle: "Developer at Open AI", + imgUrl: "https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/karen-nelson.png" + }, + { + title: "Designing the Future of Digital Experiences", + content: [ + "Priya's career in design took off when she joined the GDSC at RCCIIT, where she honed her skills and grew her professional network.", + "Her attention to detail and innovative approach to user experience made her an invaluable asset to any team.", + "Now, as the Lead Designer at Dropbox, Priya shapes user experiences that make a difference to millions around the world." + ], + author: "Priya Chatterjee", + jobTitle: "Lead Designer at Dropbox", + imgUrl: "https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/roberta-casas.png" + }, + { + title: "Revolutionizing Social Media Platforms", + content: [ + "Arjun's early work with the Google Developer Student Club at RCCIIT allowed him to explore new technologies and collaborate with like-minded individuals.", + "His technical expertise and innovative spirit have driven him to create seamless, engaging user experiences in the social media space.", + "Now a Software Engineer at Facebook, Arjun continues to push the envelope, making social media more interactive and accessible." + ], + author: "Arjun Roy", + jobTitle: "Software Engineer at Facebook", + imgUrl: "https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/jese-leos.png" + }, + { + title: "Leading Technological Innovation at Scale", + content: [ + "Ritwik's path to becoming the CTO of Google began during his time at RCCIIT, where he played an active role in the Google Developer Student Club.", + "His ability to combine technical knowledge with leadership skills quickly set him apart as a visionary leader.", + "With a deep understanding of both technology and strategy, Ritwik now oversees cutting-edge projects that impact millions worldwide." + ], + author: "Ritwik Basu", + jobTitle: "CTO at Google", + imgUrl: "https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/joseph-mcfall.png" + } + ]; + +const Achievements = () => { + return ( +
+
+
+

Stories

+

+ Explore the sucess stoeries of the previous GDSC members from our campus who are now in prestigous parts of world. +

+
+
+ {testimonials.map((testimonial, index) => ( +
+
+

{testimonial.title}

+ {testimonial.content.map((paragraph, i) => ( +

{paragraph}

+ ))} +
+
+ profile picture +
+
{testimonial.author}
+
{testimonial.jobTitle}
+
+
+
+ ))} +
+
+
+ ); +} + +export default Achievements;