Skip to content

Commit

Permalink
Merge pull request #123 from amanpoddar-dev12/main
Browse files Browse the repository at this point in the history
update opportunities
  • Loading branch information
codeaashu authored Oct 4, 2024
2 parents 8a65dcd + 2eb6bfe commit 55c2b19
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 4 deletions.
36 changes: 36 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
"flag": "^5.0.1",
"framer-motion": "^11.11.1",
"lucide-react": "^0.447.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^5.0.1",
"react-scripts": "5.0.1",
"react-router-dom": "^6.22.0",
"react-scripts": "5.0.1",
"web-vitals": "^3.5.2"
},
"scripts": {
Expand Down
99 changes: 96 additions & 3 deletions src/Page/Opportunities.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,97 @@
function Opportunities() {
return <h1>Opportunities Demo</h1>;
import React from 'react';
import { motion } from 'framer-motion';
import { ExternalLink } from 'lucide-react';

const opportunities = [
{
title: 'Hybrid & Onsite Jobs',
items: ['Software Engineer at TechCorp', 'Data Scientist at DataInc', 'UX Designer at DesignHub'],
},
{
title: 'Remote Jobs',
items: ['Software Engineer at Microsoft', 'JAVA Develoepr at YULK', 'UI Designer at Xdesign'],
},
{
title: 'Internships',
items: ['Summer Internship at Google', 'Fall Internship at Microsoft', 'Remote Internship at Amazon'],
},
{ title: 'Freelance Work', items: [' Web developer', 'Web Designer', 'AI Enginner'] },
{ title: 'Hackathons', items: ['Global AI Hackathon', 'Blockchain Innovation Challenge', 'Green Tech Hackathon'] },
{ title: 'Open Source', items: ['DevDisplay', 'Hacktoberfest - 2024', 'GSSOC - 2024'] },
{ title: 'Tech Events', items: ['TechCrunch Disrupt', 'Web Summit', 'Google I/O'] },
{ title: 'BootCamps', items: ['Full Stack Web Development', 'Data Science Immersive', 'UX/UI Design Bootcamp'] },
{ title: 'Devfest', items: ['Google DevFest 2024', 'Apple WWDC', 'Microsoft Build'] },
];

export default function Opportunities() {
return (
<div className="min-h-screen bg-[#141d2f] text-center text-white">
<header className="bg-[#00a6fb] p-4">
<h1 className="text-2xl font-bold">Opportunities Hub</h1>
</header>

<section className="relative flex h-[50vh] items-center justify-center overflow-hidden">
<motion.div
className="absolute inset-0 z-0"
animate={{
backgroundPosition: ['0% 0%', '100% 100%'],
}}
transition={{
duration: 20,
repeat: Infinity,
repeatType: 'reverse',
}}
style={{
backgroundImage:
'linear-gradient(45deg, #141d2f 25%, #00a6fb 25%, #00a6fb 50%, #141d2f 50%, #141d2f 75%, #00a6fb 75%, #00a6fb 100%)',
backgroundSize: '400% 400%',
}}
/>
<div className="relative z-10 text-center">
<h2 className="mb-4 text-4xl font-bold">Opportunities In Tech Fields</h2>
<p className="text-xl">
Explore the hub of all the latest & upcoming Opportunities in one place
<br />
(jobs, internships, hackathons, events, bootcamps, webinars, devfests)
</p>
</div>
</section>

<main className="container mx-auto grid gap-8 p-4 md:grid-cols-2 lg:grid-cols-3">
{opportunities.map((category) => (
<div key={category.title} className="rounded-lg bg-[#1e2a42] p-4 shadow-lg">
<h3 className="mb-4 text-2xl font-bold text-[#00a6fb]">{category.title}</h3>
<ul className="space-y-2">
{category.items.map((item, index) => (
<li key={index} className="flex items-center">
<ExternalLink className="mr-2 h-4 w-4 text-[#00a6fb]" />
<button className="text-left transition-colors hover:text-[#00a6fb]">{item}</button>
</li>
))}
</ul>
</div>
))}
</main>

<footer className="mt-12 bg-[#00a6fb] p-8">
<div className="container mx-auto text-center">
<h3 className="mb-4 text-2xl font-bold">Join the Tech Revolution</h3>
<p className="mb-4">Stay updated with the latest opportunities and events in the tech world.</p>
<form className="flex flex-col items-center justify-center gap-4 sm:flex-row">
<input
type="email"
placeholder="Enter your email"
className="w-full rounded-lg px-4 py-2 text-[#141d2f] sm:w-auto"
/>
<button
type="submit"
className="w-full rounded-lg bg-[#141d2f] px-6 py-2 text-white transition-colors hover:bg-[#1e2a42] sm:w-auto"
>
Subscribe
</button>
</form>
</div>
</footer>
</div>
);
}
export default Opportunities;

0 comments on commit 55c2b19

Please sign in to comment.