File size: 7,798 Bytes
162b974
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
import { motion } from "framer-motion";
import { Briefcase, Github, Play } from "lucide-react";
import { EXPERIENCE } from "../constants";

const Experience = () => {
    return (
        <section id="experience" className="py-20 bg-[#030014] relative">

            <div className="max-w-7xl mx-auto px-6">

                <motion.div

                    initial={{ opacity: 0, y: 20 }}

                    whileInView={{ opacity: 1, y: 0 }}

                    viewport={{ once: true }}

                    transition={{ duration: 0.6 }}

                    className="text-center mb-16"

                >

                    <h2 className="text-3xl md:text-5xl font-bold font-heading mb-4 text-white">

                        Work <span className="text-gradient">Experience</span>

                    </h2>

                    <div className="w-20 h-1 bg-cyan-500 mx-auto rounded-full"></div>

                </motion.div>



                <div className="grid grid-cols-4 gap-4 max-w-7xl mx-auto">

                    {EXPERIENCE.map((exp, index) => (

                        <motion.div

                            key={index}

                            initial={{ opacity: 0, y: 30 }}

                            whileInView={{ opacity: 1, y: 0 }}

                            viewport={{ once: true }}

                            transition={{ duration: 0.5, delay: index * 0.1 }}

                            className="group"

                        >

                            <div className="glass p-4 rounded-2xl hover:border-cyan-500/30 transition-all duration-300 border border-white/10 relative h-full flex flex-col">

                                <div className="absolute inset-0 bg-cyan-500/5 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity"></div>

                                <div className="absolute inset-0 flex items-start justify-center pt-4 z-20 pointer-events-none">

                                    <div className="flex gap-5">

                                        {exp.logo && (

                                            <img

                                                src={exp.logo}

                                                alt="logo"

                                                className="w-28 h-28 rounded-full border border-white/20"

                                            />

                                        )}

                                        {exp.logo2 && (

                                            <img

                                                src={exp.logo2}

                                                alt="logo2"

                                                className="w-28 h-28 rounded-full border border-white/20"

                                            />

                                        )}

                                    </div>

                                </div>

                                <div className="relative z-10 flex flex-col h-full">

                                    {exp.image && (

                                        <div className="w-full h-32 mb-4 overflow-hidden rounded-xl bg-black/20">

                                            <img

                                                src={exp.image}

                                                alt={exp.company}

                                                className="w-full h-full object-cover transform group-hover:scale-110 transition-transform duration-500"

                                            />

                                        </div>

                                    )}

                                    <div className="mb-4">

                                        <h3 className="text-2xl font-bold text-white mb-1 group-hover:text-cyan-400 transition-colors">

                                            {exp.role}

                                        </h3>

                                        <div className="flex items-center text-cyan-400 font-medium">

                                            <Briefcase className="w-4 h-4 mr-2" />

                                            {exp.company}

                                        </div>

                                        {exp.professor && (

                                            <p className="text-gray-400 text-sm mt-1">

                                                {exp.professor}

                                            </p>

                                        )}

                                    </div>

                                    

                                    <ul className="space-y-3 mb-6 flex-grow">

                                        {exp.description.map((desc, i) => (

                                            <li key={i} className="text-gray-400 text-sm flex items-start">

                                                <span className="w-1.5 h-1.5 rounded-full bg-cyan-500 mt-2 mr-2 flex-shrink-0 shadow-[0_0_8px_rgba(6,182,212,0.5)]"></span>

                                                {desc}

                                            </li>

                                        ))}

                                    </ul>

                                    

                                    <div className="pt-4 border-t border-white/10 mt-auto">

                                        <div className="mb-3">

                                            <span className="text-xs font-mono text-gray-500 bg-white/5 px-3 py-1 rounded-full border border-white/10">

                                                {exp.duration}

                                            </span>

                                        </div>

                                        <div className="flex gap-2">

                                            {exp.github && exp.github !== "#" && (

                                                <a

                                                    href={exp.github}

                                                    target="_blank"

                                                    rel="noopener noreferrer"

                                                    className="flex items-center gap-1 text-xs text-cyan-400 hover:text-cyan-300 transition-colors"

                                                >

                                                    <Github className="w-3 h-3" />

                                                    GitHub

                                                </a>

                                            )}

                                            {exp.video && (

                                                <a

                                                    href={exp.video}

                                                    target="_blank"

                                                    rel="noopener noreferrer"

                                                    className="flex items-center gap-1 text-xs text-cyan-400 hover:text-cyan-300 transition-colors"

                                                >

                                                    <Play className="w-3 h-3" />

                                                    Video

                                                </a>

                                            )}

                                        </div>

                                    </div>

                                </div>

                            </div>

                        </motion.div>

                    ))}

                </div>

            </div>

        </section>
    );
};

export default Experience;