@@ -416,7 +416,7 @@ export default function About() {
416416 </ ul >
417417 </ motion . div >
418418 < div className = "w-full border-t-2 border-gray-800 my-6 mt-8" />
419- < div className = "text-start mb-2" >
419+ < div className = "text-start mb-2 px-4 sm:px-0 " >
420420 { /* Section Title with Fade-in Animation */ }
421421 < motion . p
422422 className = "text-2xl text-[#00FF9C] font-semibold"
@@ -427,14 +427,14 @@ export default function About() {
427427 📬 Let's Connect!
428428 </ motion . p >
429429
430- < div className = "flex justify-start space-x-8 mt-6" >
430+ < div className = "flex flex-col sm:flex-row flex-wrap justify-start sm:space-x-4 md:space-x-6 lg: space-x-8 mt-6" >
431431 { [
432432 {
433433 href : "https://mail.google.com/mail/?view=cm&fs=1&to=ypviduruwan55@gmail.com" ,
434434 imgSrc :
435435 "https://img.icons8.com/ios-filled/50/FFFFFF/gmail.png" ,
436436 alt : "Email" ,
437- text : "ypviduruwan55@gmail.com " ,
437+ text : "Email " ,
438438 } ,
439439 {
440440 href : "https://linkedin.com/in/y-p-viduruwan" ,
@@ -462,7 +462,7 @@ export default function About() {
462462 key = { index }
463463 href = { contact . href }
464464 target = "_blank"
465- className = "flex items-center space-x-2 hover:text-blue-400 hover:scale-105 transition-all duration-300"
465+ className = "flex items-center space-x-2 hover:text-blue-400 hover:scale-105 transition-all duration-300 mb-3 sm:mb-2 "
466466 initial = { { opacity : 0 , y : 20 } }
467467 whileInView = { { opacity : 1 , y : 0 } }
468468 viewport = { { once : true } }
@@ -474,7 +474,7 @@ export default function About() {
474474 className = "w-6 h-6 hover:scale-110 transition-all duration-300"
475475 whileHover = { { scale : 1.2 } }
476476 />
477- < span className = "text-white hover:text-gray-200" >
477+ < span className = "text-white hover:text-gray-200 text-sm md:text-base truncate " >
478478 { contact . text }
479479 </ span >
480480 </ motion . a >
0 commit comments