Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/careers end point and fetching from the end point #327

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
294 changes: 219 additions & 75 deletions data.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hackathons": [
"hackathons": [
{
"basicInformation": {
"id": "1",
Expand Down Expand Up @@ -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
}
]
}
"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."
}
]
}
21 changes: 19 additions & 2 deletions src/app/(pages)/careers/page.jsx
Original file line number Diff line number Diff line change
@@ -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 (
<div className="relative h-[600px] bg-white overflow-hidden border border-gray-200">
{/* Background Grid and Decorative Elements */}
Expand Down Expand Up @@ -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 (
<div className="mt-16 flex flex-col items-center">
<h2 className="text-3xl font-semibold mb-6">Spotlight</h2>
<div className="flex space-x-4 overflow-x-auto pb-4">
{spotlightJobs.map((job) => (
{jobs.map((job) => (
<Link key={job.id} href={`/careers/${job.id}`} className="bg-white shadow-lg rounded-lg p-6 w-72 transition-transform transform hover:scale-105 hover:shadow-xl">
<img src={job.image} alt={job.title} className="rounded-t-lg w-full h-40 object-cover mb-4" />
<h3 className="font-bold text-xl text-blue-600">{job.title}</h3>
Expand Down