Skip to content

Commit 55c2b19

Browse files
authored
Merge pull request #123 from amanpoddar-dev12/main
update opportunities
2 parents 8a65dcd + 2eb6bfe commit 55c2b19

File tree

3 files changed

+135
-4
lines changed

3 files changed

+135
-4
lines changed

package-lock.json

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
"@testing-library/react": "^14.2.1",
1212
"@testing-library/user-event": "^14.5.2",
1313
"flag": "^5.0.1",
14+
"framer-motion": "^11.11.1",
15+
"lucide-react": "^0.447.0",
1416
"react": "^18.2.0",
1517
"react-dom": "^18.2.0",
1618
"react-icons": "^5.0.1",
17-
"react-scripts": "5.0.1",
1819
"react-router-dom": "^6.22.0",
20+
"react-scripts": "5.0.1",
1921
"web-vitals": "^3.5.2"
2022
},
2123
"scripts": {

src/Page/Opportunities.jsx

+96-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,97 @@
1-
function Opportunities() {
2-
return <h1>Opportunities Demo</h1>;
1+
import React from 'react';
2+
import { motion } from 'framer-motion';
3+
import { ExternalLink } from 'lucide-react';
4+
5+
const opportunities = [
6+
{
7+
title: 'Hybrid & Onsite Jobs',
8+
items: ['Software Engineer at TechCorp', 'Data Scientist at DataInc', 'UX Designer at DesignHub'],
9+
},
10+
{
11+
title: 'Remote Jobs',
12+
items: ['Software Engineer at Microsoft', 'JAVA Develoepr at YULK', 'UI Designer at Xdesign'],
13+
},
14+
{
15+
title: 'Internships',
16+
items: ['Summer Internship at Google', 'Fall Internship at Microsoft', 'Remote Internship at Amazon'],
17+
},
18+
{ title: 'Freelance Work', items: [' Web developer', 'Web Designer', 'AI Enginner'] },
19+
{ title: 'Hackathons', items: ['Global AI Hackathon', 'Blockchain Innovation Challenge', 'Green Tech Hackathon'] },
20+
{ title: 'Open Source', items: ['DevDisplay', 'Hacktoberfest - 2024', 'GSSOC - 2024'] },
21+
{ title: 'Tech Events', items: ['TechCrunch Disrupt', 'Web Summit', 'Google I/O'] },
22+
{ title: 'BootCamps', items: ['Full Stack Web Development', 'Data Science Immersive', 'UX/UI Design Bootcamp'] },
23+
{ title: 'Devfest', items: ['Google DevFest 2024', 'Apple WWDC', 'Microsoft Build'] },
24+
];
25+
26+
export default function Opportunities() {
27+
return (
28+
<div className="min-h-screen bg-[#141d2f] text-center text-white">
29+
<header className="bg-[#00a6fb] p-4">
30+
<h1 className="text-2xl font-bold">Opportunities Hub</h1>
31+
</header>
32+
33+
<section className="relative flex h-[50vh] items-center justify-center overflow-hidden">
34+
<motion.div
35+
className="absolute inset-0 z-0"
36+
animate={{
37+
backgroundPosition: ['0% 0%', '100% 100%'],
38+
}}
39+
transition={{
40+
duration: 20,
41+
repeat: Infinity,
42+
repeatType: 'reverse',
43+
}}
44+
style={{
45+
backgroundImage:
46+
'linear-gradient(45deg, #141d2f 25%, #00a6fb 25%, #00a6fb 50%, #141d2f 50%, #141d2f 75%, #00a6fb 75%, #00a6fb 100%)',
47+
backgroundSize: '400% 400%',
48+
}}
49+
/>
50+
<div className="relative z-10 text-center">
51+
<h2 className="mb-4 text-4xl font-bold">Opportunities In Tech Fields</h2>
52+
<p className="text-xl">
53+
Explore the hub of all the latest & upcoming Opportunities in one place
54+
<br />
55+
(jobs, internships, hackathons, events, bootcamps, webinars, devfests)
56+
</p>
57+
</div>
58+
</section>
59+
60+
<main className="container mx-auto grid gap-8 p-4 md:grid-cols-2 lg:grid-cols-3">
61+
{opportunities.map((category) => (
62+
<div key={category.title} className="rounded-lg bg-[#1e2a42] p-4 shadow-lg">
63+
<h3 className="mb-4 text-2xl font-bold text-[#00a6fb]">{category.title}</h3>
64+
<ul className="space-y-2">
65+
{category.items.map((item, index) => (
66+
<li key={index} className="flex items-center">
67+
<ExternalLink className="mr-2 h-4 w-4 text-[#00a6fb]" />
68+
<button className="text-left transition-colors hover:text-[#00a6fb]">{item}</button>
69+
</li>
70+
))}
71+
</ul>
72+
</div>
73+
))}
74+
</main>
75+
76+
<footer className="mt-12 bg-[#00a6fb] p-8">
77+
<div className="container mx-auto text-center">
78+
<h3 className="mb-4 text-2xl font-bold">Join the Tech Revolution</h3>
79+
<p className="mb-4">Stay updated with the latest opportunities and events in the tech world.</p>
80+
<form className="flex flex-col items-center justify-center gap-4 sm:flex-row">
81+
<input
82+
type="email"
83+
placeholder="Enter your email"
84+
className="w-full rounded-lg px-4 py-2 text-[#141d2f] sm:w-auto"
85+
/>
86+
<button
87+
type="submit"
88+
className="w-full rounded-lg bg-[#141d2f] px-6 py-2 text-white transition-colors hover:bg-[#1e2a42] sm:w-auto"
89+
>
90+
Subscribe
91+
</button>
92+
</form>
93+
</div>
94+
</footer>
95+
</div>
96+
);
397
}
4-
export default Opportunities;

0 commit comments

Comments
 (0)