|
| 1 | +import { motion } from 'framer-motion'; |
| 2 | + |
| 3 | +export default function About() { |
| 4 | + return ( |
| 5 | + <section id="about" className="py-20 bg-white"> |
| 6 | + <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> |
| 7 | + <motion.div |
| 8 | + className="text-center mb-16" |
| 9 | + initial={{ opacity: 0, y: 20 }} |
| 10 | + whileInView={{ opacity: 1, y: 0 }} |
| 11 | + viewport={{ once: true }} |
| 12 | + transition={{ duration: 0.6 }} |
| 13 | + > |
| 14 | + <h2 className="text-3xl font-bold text-gray-900 sm:text-4xl">About Me</h2> |
| 15 | + <div className="w-24 h-1 bg-indigo-600 mx-auto mt-4 rounded-full"></div> |
| 16 | + </motion.div> |
| 17 | + |
| 18 | + <div className="grid md:grid-cols-2 gap-12 items-center"> |
| 19 | + <motion.div |
| 20 | + initial={{ opacity: 0, x: -50 }} |
| 21 | + whileInView={{ opacity: 1, x: 0 }} |
| 22 | + viewport={{ once: true }} |
| 23 | + transition={{ duration: 0.6, delay: 0.2 }} |
| 24 | + > |
| 25 | + <h3 className="text-2xl font-semibold text-gray-900 mb-6">Who I Am</h3> |
| 26 | + <p className="text-gray-600 mb-6"> |
| 27 | + I'm a passionate developer with a keen eye for design and a love for creating beautiful, |
| 28 | + functional web applications. With expertise in modern web technologies, I bring ideas to |
| 29 | + life through clean and efficient code. |
| 30 | + </p> |
| 31 | + <p className="text-gray-600 mb-6"> |
| 32 | + My journey in web development started several years ago, and since then, I've had the |
| 33 | + opportunity to work on various projects that have honed my skills and expanded my knowledge. |
| 34 | + </p> |
| 35 | + <div className="flex flex-wrap gap-4"> |
| 36 | + <span className="px-4 py-2 bg-indigo-100 text-indigo-800 rounded-full text-sm font-medium"> |
| 37 | + Web Development |
| 38 | + </span> |
| 39 | + <span className="px-4 py-2 bg-indigo-100 text-indigo-800 rounded-full text-sm font-medium"> |
| 40 | + UI/UX Design |
| 41 | + </span> |
| 42 | + <span className="px-4 py-2 bg-indigo-100 text-indigo-800 rounded-full text-sm font-medium"> |
| 43 | + Problem Solving |
| 44 | + </span> |
| 45 | + </div> |
| 46 | + </motion.div> |
| 47 | + |
| 48 | + <motion.div |
| 49 | + className="grid grid-cols-2 gap-4" |
| 50 | + initial={{ opacity: 0, x: 50 }} |
| 51 | + whileInView={{ opacity: 1, x: 0 }} |
| 52 | + viewport={{ once: true }} |
| 53 | + transition={{ duration: 0.6, delay: 0.4 }} |
| 54 | + > |
| 55 | + <div className="bg-gray-50 p-6 rounded-xl"> |
| 56 | + <div className="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4"> |
| 57 | + <span className="text-2xl">🎓</span> |
| 58 | + </div> |
| 59 | + <h4 className="font-semibold text-lg mb-2">Education</h4> |
| 60 | + <p className="text-gray-600 text-sm"> |
| 61 | + Degree in Computer Science with a focus on Web Technologies |
| 62 | + </p> |
| 63 | + </div> |
| 64 | + |
| 65 | + <div className="bg-gray-50 p-6 rounded-xl"> |
| 66 | + <div className="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4"> |
| 67 | + <span className="text-2xl">💼</span> |
| 68 | + </div> |
| 69 | + <h4 className="font-semibold text-lg mb-2">Experience</h4> |
| 70 | + <p className="text-gray-600 text-sm"> |
| 71 | + X+ years of professional experience in web development |
| 72 | + </p> |
| 73 | + </div> |
| 74 | + |
| 75 | + <div className="bg-gray-50 p-6 rounded-xl"> |
| 76 | + <div className="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4"> |
| 77 | + <span className="text-2xl">🌍</span> |
| 78 | + </div> |
| 79 | + <h4 className="font-semibold text-lg mb-2">Location</h4> |
| 80 | + <p className="text-gray-600 text-sm"> |
| 81 | + Based in [Your Location], open to remote work |
| 82 | + </p> |
| 83 | + </div> |
| 84 | + |
| 85 | + <div className="bg-gray-50 p-6 rounded-xl"> |
| 86 | + <div className="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4"> |
| 87 | + <span className="text-2xl">🚀</span> |
| 88 | + </div> |
| 89 | + <h4 className="font-semibold text-lg mb-2">Interests</h4> |
| 90 | + <p className="text-gray-600 text-sm"> |
| 91 | + Web Technologies, Open Source, Photography |
| 92 | + </p> |
| 93 | + </div> |
| 94 | + </motion.div> |
| 95 | + </div> |
| 96 | + </div> |
| 97 | + </section> |
| 98 | + ); |
| 99 | +} |
0 commit comments