From e3b12bdfcb5b7a319d9e449558e2de8179165795 Mon Sep 17 00:00:00 2001 From: Janvi Date: Wed, 30 Oct 2024 20:36:31 +0530 Subject: [PATCH] /careers end point and fetching from the end point --- data.json | 294 +++++++++++++++++++++++-------- src/app/(pages)/careers/page.jsx | 21 ++- 2 files changed, 238 insertions(+), 77 deletions(-) diff --git a/data.json b/data.json index bb8ee2e..043f975 100644 --- a/data.json +++ b/data.json @@ -1,5 +1,5 @@ { -"hackathons": [ + "hackathons": [ { "basicInformation": { "id": "1", @@ -640,82 +640,226 @@ } ], "events": [ - { - "id": "1", - "title": "Tech for Good Hackathon", - "description": "A 48-hour hackathon focused on leveraging technology to address challenges in healthcare.", - "date": { - "start": "2024-11-01T09:00:00Z", - "end": "2024-11-03T17:00:00Z" + { + "id": "1", + "title": "Tech for Good Hackathon", + "description": "A 48-hour hackathon focused on leveraging technology to address challenges in healthcare.", + "date": { + "start": "2024-11-01T09:00:00Z", + "end": "2024-11-03T17:00:00Z" + }, + "location": "Online", + "status": "finished", + "prizes": [ + { + "category": "Best Overall Project", + "amount": "$3,000" }, - "location": "Online", - "status": "finished", - "prizes": [ - { - "category": "Best Overall Project", - "amount": "$3,000" - }, - { - "category": "Most Innovative Solution", - "amount": "$2,000" - } - ], - "organizers": ["GDSC RCCIIT"], - "participants": 150 + { + "category": "Most Innovative Solution", + "amount": "$2,000" + } + ], + "organizers": ["GDSC RCCIIT"], + "participants": 150 + }, + { + "id": "2", + "title": "Web Development Bootcamp", + "description": "A three-day intensive bootcamp to learn web development from scratch.", + "date": { + "start": "2024-09-10T09:00:00Z", + "end": "2024-09-12T17:00:00Z" + }, + "location": "RCCIIT Campus", + "status": "finished", + "organizers": ["GDSC RCCIIT"], + "participants": 50 + }, + { + "id": "3", + "title": "AI & ML Workshop", + "description": "A hands-on workshop on artificial intelligence and machine learning concepts.", + "date": { + "start": "2024-10-15T09:00:00Z", + "end": "2024-10-30T17:00:00Z" + }, + "location": "Online", + "status": "ongoing", + "organizers": ["GDSC RCCIIT"], + "participants": 80 + }, + { + "id": "4", + "title": "Cloud Computing Seminar", + "description": "An interactive seminar discussing cloud computing trends and best practices.", + "date": { + "start": "2024-11-05T14:00:00Z", + "end": "2024-11-05T16:00:00Z" + }, + "location": "Online", + "status": "upcoming", + "registrationLink": "https://example.com/register-cloud-seminar", + "organizers": ["GDSC RCCIIT"], + "participants": 0 + }, + { + "id": "5", + "title": "Mobile App Development Workshop", + "description": "Learn to build mobile applications using Flutter in this hands-on workshop.", + "date": { + "start": "2024-11-15T10:00:00Z", + "end": "2024-11-17T17:00:00Z" + }, + "location": "RCCIIT Campus", + "status": "upcoming", + "registrationLink": "https://example.com/register-mobile-workshop", + "organizers": ["GDSC RCCIIT"], + "participants": 0 + } + ], + "careers": [ + { + "id": "1", + "title": "Senior Staff Software Developer, Kubernetes", + "description": "Work on building the future of Kubernetes with our cloud-native team.", + "location": "Remote eligible", + "office": "Kirkland, WA, USA; +5 more", + "image": "/spot1.jpg", + "details": "As a Senior Software Developer, you will be part of a team responsible for the future development of Kubernetes...", + "company": "Google", + "minimum_qualifications": { + "degree": "Bachelor's degree in Computer Science or related field.", + "experience": [ + "5+ years of experience in software development.", + "Strong background in Kubernetes and cloud technologies." + ] }, - { - "id": "2", - "title": "Web Development Bootcamp", - "description": "A three-day intensive bootcamp to learn web development from scratch.", - "date": { - "start": "2024-09-10T09:00:00Z", - "end": "2024-09-12T17:00:00Z" - }, - "location": "RCCIIT Campus", - "status": "finished", - "organizers": ["GDSC RCCIIT"], - "participants": 50 + "preferred_qualifications": { + "coding_experience": "Experience with Go, Python, or Java.", + "programming_skills": "Familiarity with microservices architecture and design patterns.", + "passion": "Enthusiasm for open-source projects." + }, + "job_description": { + "philosophy": "Innovate and optimize for better performance.", + "role_overview": "Join the Kubernetes team to enhance and scale our platform.", + "impact": "Contribute to the evolution of Kubernetes, impacting millions of users.", + "mission": "Empowering developers to build scalable applications." + }, + "responsibilities": [ + "Design and implement new features for Kubernetes.", + "Collaborate with cross-functional teams to improve product performance.", + "Mentor junior developers and provide technical guidance.", + "Contribute to the Kubernetes community through code and documentation." + ], + "diversity_statement": "Google is committed to diversity and inclusion in the workplace.", + "english_proficiency": "English proficiency is required.", + "note_for_agencies": "Google does not accept unsolicited CVs from agencies." + }, + { + "id": "2", + "title": "Google AI and ML roles", + "description": "Search some of our newest, priority roles in artificial intelligence and machine learning.", + "image": "/spot2.jpg", + "details": "These roles require deep expertise in AI and machine learning, and you will be working on cutting-edge projects...", + "company": "Google", + "minimum_qualifications": { + "degree": "Master's degree or PhD in Computer Science or related field.", + "experience": [ + "3+ years of experience in AI/ML research or development.", + "Proficiency in machine learning frameworks such as TensorFlow or PyTorch." + ] }, - { - "id": "3", - "title": "AI & ML Workshop", - "description": "A hands-on workshop on artificial intelligence and machine learning concepts.", - "date": { - "start": "2024-10-15T09:00:00Z", - "end": "2024-10-30T17:00:00Z" - }, - "location": "Online", - "status": "ongoing", - "organizers": ["GDSC RCCIIT"], - "participants": 80 + "preferred_qualifications": { + "coding_experience": "Strong programming skills in Python and R.", + "programming_skills": "Experience with data analysis and visualization tools.", + "passion": "A passion for solving complex problems with AI." + }, + "job_description": { + "philosophy": "Use AI to drive innovation and create value.", + "role_overview": "Work on groundbreaking AI/ML projects that change the way we interact with technology.", + "impact": "Shape the future of AI and its applications across various sectors.", + "mission": "Making AI accessible and useful for everyone." + }, + "responsibilities": [ + "Develop machine learning models and algorithms.", + "Analyze large datasets to extract insights.", + "Collaborate with product teams to integrate AI solutions.", + "Publish research findings and contribute to open-source projects." + ], + "diversity_statement": "Google believes in the power of a diverse workforce.", + "english_proficiency": "English proficiency is required.", + "note_for_agencies": "Google does not accept unsolicited CVs from agencies." + }, + { + "id": "3", + "title": "Consumer Hardware", + "description": "Design and build the systems that are at the heart of the world\"s largest and most powerful computing infrastructure and products.", + "image": "/spot3.jpg", + "details": "Join our consumer hardware team to help design cutting-edge products used worldwide...", + "company": "Google", + "minimum_qualifications": { + "degree": "Bachelor's degree in Electrical Engineering or related field.", + "experience": [ + "4+ years of experience in hardware design and development.", + "Knowledge of digital and analog circuit design." + ] }, - { - "id": "4", - "title": "Cloud Computing Seminar", - "description": "An interactive seminar discussing cloud computing trends and best practices.", - "date": { - "start": "2024-11-05T14:00:00Z", - "end": "2024-11-05T16:00:00Z" - }, - "location": "Online", - "status": "upcoming", - "registrationLink": "https://example.com/register-cloud-seminar", - "organizers": ["GDSC RCCIIT"], - "participants": 0 + "preferred_qualifications": { + "coding_experience": "Experience with embedded systems programming.", + "programming_skills": "Proficiency in CAD tools and simulation software.", + "passion": "Desire to innovate and improve hardware products." + }, + "job_description": { + "philosophy": "Create devices that enhance people's lives.", + "role_overview": "Develop consumer hardware that integrates seamlessly with software products.", + "impact": "Your work will directly influence the usability and functionality of our devices.", + "mission": "Building products that improve daily life." + }, + "responsibilities": [ + "Design and prototype new hardware products.", + "Collaborate with software teams to ensure integration and performance.", + "Conduct testing and validation of hardware prototypes.", + "Stay updated with industry trends and technology advancements." + ], + "diversity_statement": "Google values diversity in our workforce.", + "english_proficiency": "English proficiency is required.", + "note_for_agencies": "Google does not accept unsolicited CVs from agencies." + }, + { + "id": "4", + "title": "Platforms & Ecosystems", + "description": "Work on our innovative software products that have an impact on people’s lives across the world.", + "image": "/spot1.jpg", + "details": "In this role, you will be part of a team that develops platform and ecosystem software to enhance global impact...", + "company": "Google", + "minimum_qualifications": { + "degree": "Bachelor's degree in Computer Science or a related field.", + "experience": [ + "3+ years of experience in software development.", + "Experience with cloud platforms and APIs." + ] }, - { - "id": "5", - "title": "Mobile App Development Workshop", - "description": "Learn to build mobile applications using Flutter in this hands-on workshop.", - "date": { - "start": "2024-11-15T10:00:00Z", - "end": "2024-11-17T17:00:00Z" - }, - "location": "RCCIIT Campus", - "status": "upcoming", - "registrationLink": "https://example.com/register-mobile-workshop", - "organizers": ["GDSC RCCIIT"], - "participants": 0 - } - ] -} \ No newline at end of file + "preferred_qualifications": { + "coding_experience": "Experience with Java, Python, or Go.", + "programming_skills": "Familiarity with microservices and containerization.", + "passion": "A strong interest in developing scalable software solutions." + }, + "job_description": { + "philosophy": "Empower developers with robust tools and frameworks.", + "role_overview": "Build and maintain software platforms that serve millions.", + "impact": "Your contributions will enhance the developer experience and user satisfaction.", + "mission": "Providing platforms that enable innovation and growth." + }, + "responsibilities": [ + "Develop and maintain platform services and APIs.", + "Collaborate with product teams to define platform requirements.", + "Monitor and improve system performance and reliability.", + "Engage with the developer community to gather feedback and iterate." + ], + "diversity_statement": "Google is dedicated to a diverse workforce.", + "english_proficiency": "English proficiency is required.", + "note_for_agencies": "Google does not accept unsolicited CVs from agencies." + } + ] +} diff --git a/src/app/(pages)/careers/page.jsx b/src/app/(pages)/careers/page.jsx index 5f0d8f3..a7f9b2e 100644 --- a/src/app/(pages)/careers/page.jsx +++ b/src/app/(pages)/careers/page.jsx @@ -1,9 +1,11 @@ "use client" -import React from 'react'; +import React, { useEffect, useState } from 'react'; import spotlightJobs from './opportunities'; import Link from 'next/link'; +import axios from 'axios'; // Hero Component const Hero = () => { + return (
{/* Background Grid and Decorative Elements */} @@ -56,11 +58,26 @@ const Hero = () => { // Spotlight Component // Spotlight Component const Spotlight = () => { + const [jobs, setJobs] = useState([]); + console.log("jobs", jobs); + + useEffect(() => { + axios + .get("http://localhost:5000/careers") + .then((response) => { + setJobs(response.data); + setLoading(false); + }) + .catch((error) => { + console.error("Error fetching data:", error); + }); + }, []); + return (

Spotlight

- {spotlightJobs.map((job) => ( + {jobs.map((job) => ( {job.title}

{job.title}