Skip to content

Commit b9d03c1

Browse files
committed
modifications in careers and home page
1 parent 0be632b commit b9d03c1

File tree

5 files changed

+141
-257
lines changed

5 files changed

+141
-257
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@emailjs/browser": "^4.4.1",
17-
"framer-motion": "^11.0.0",
17+
"framer-motion": "^11.18.2",
1818
"lucide-react": "^0.344.0",
1919
"react": "^18.3.1",
2020
"react-dom": "^18.3.1",

src/components/home/TeamSection.tsx

Lines changed: 7 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { motion } from 'framer-motion';
2-
import { Users, Rocket, Mail, Linkedin } from 'lucide-react';
3-
import { Link } from 'react-router-dom';
2+
import { Users, Mail, Linkedin } from 'lucide-react';
43

54
// Import team images
65
import WesImage from '../../assets/Wes.webp';
@@ -14,7 +13,7 @@ import TanImage from '../../assets/tanmay.webp';
1413
interface TeamMember {
1514
name: string;
1615
role: string;
17-
background: string; // Changed from 'bio' to 'background' for consistency
16+
background: string;
1817
image: string;
1918
social: {
2019
linkedin?: string;
@@ -24,7 +23,7 @@ interface TeamMember {
2423

2524
const CARD_WIDTH = 400;
2625
const CARD_HEIGHT = 600;
27-
const IMAGE_HEIGHT = 320; // Adjusted back to 320 for consistency with the first example
26+
const IMAGE_HEIGHT = 320;
2827

2928
const coreTeam: TeamMember[] = [
3029
{
@@ -179,37 +178,9 @@ const TeamMemberCard: React.FC<{ member: TeamMember }> = ({ member }) => (
179178
</motion.div>
180179
);
181180

182-
const TeamSection: React.FC = () => ( // Changed component name to TeamSection as per the original second block
181+
const TeamSection: React.FC = () => (
183182
<div className="min-h-screen bg-dark-900">
184-
{/* Hero Section */}
185-
<section className="relative py-24 md:py-32 overflow-hidden">
186-
<div className="absolute inset-0">
187-
<img
188-
src="https://images.pexels.com/photos/3912981/pexels-photo-3912981.jpeg"
189-
alt="LCM Lab"
190-
className="w-full h-full object-cover"
191-
/>
192-
<div className="absolute inset-0 bg-dark-900/80 backdrop-blur-sm" />
193-
</div>
194-
195-
<div className="container mx-auto px-4 relative z-10">
196-
<motion.div
197-
className="max-w-3xl"
198-
initial={{ opacity: 0, y: 20 }}
199-
animate={{ opacity: 1, y: 0 }}
200-
transition={{ duration: 0.5 }}
201-
>
202-
<h1 className="font-display font-bold text-4xl md:text-5xl lg:text-6xl text-white mb-6">
203-
Meet the Team Behind the Future of EV Charging
204-
</h1>
205-
<p className="text-white/80 text-lg md:text-xl mb-8">
206-
Engineers. Visionaries. Builders. We're creating a world where EVs charge while driving.
207-
</p>
208-
</motion.div>
209-
</div>
210-
</section>
211-
212-
{/* Core Team Section */}
183+
{/* Core Team Section Only */}
213184
<section className="py-20">
214185
<div className="container mx-auto px-4">
215186
<motion.div
@@ -228,8 +199,7 @@ const TeamSection: React.FC = () => ( // Changed component name to TeamSection a
228199
</motion.div>
229200

230201
<motion.div
231-
className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-12 mb-16 justify-items-center"
232-
style={{ justifyItems: "center" }}
202+
className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-12"
233203
variants={containerVariants}
234204
initial="hidden"
235205
animate="visible"
@@ -240,39 +210,7 @@ const TeamSection: React.FC = () => ( // Changed component name to TeamSection a
240210
</motion.div>
241211
</div>
242212
</section>
243-
244-
{/* CTA Section */}
245-
<section className="py-20 bg-gradient-to-b from-dark-800 to-dark-900">
246-
<div className="container mx-auto px-4">
247-
<motion.div
248-
className="bg-gradient-to-br from-primary-500/20 via-dark-800 to-secondary-500/20 rounded-2xl p-8 md:p-12 border border-white/10 text-center"
249-
initial={{ opacity: 0, y: 20 }}
250-
animate={{ opacity: 1, y: 0 }}
251-
transition={{ duration: 0.5, delay: 0.6 }}
252-
>
253-
<Rocket className="h-12 w-12 text-primary-500 mx-auto mb-6" />
254-
<h2 className="font-display font-bold text-3xl md:text-4xl text-white mb-4">
255-
Want to build the future of EVs with us?
256-
</h2>
257-
<p className="text-white/70 text-lg mb-8 max-w-2xl mx-auto">
258-
Join our team of innovators and help revolutionize how electric vehicles charge.
259-
</p>
260-
<Link
261-
to="/careers"
262-
className="inline-block bg-primary-500 hover:bg-primary-600 text-white px-8 py-3 rounded-full font-medium transition-colors"
263-
>
264-
<motion.span
265-
whileHover={{ scale: 1.05 }}
266-
whileTap={{ scale: 0.95 }}
267-
className="inline-block"
268-
>
269-
Join the Team
270-
</motion.span>
271-
</Link>
272-
</motion.div>
273-
</div>
274-
</section>
275213
</div>
276214
);
277215

278-
export default TeamSection;
216+
export default TeamSection;

0 commit comments

Comments
 (0)