File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,14 +8,22 @@ const AboutMe = () => {
88 < div className = "grid md:grid-cols-[1fr,2fr] gap-8 md:gap-12 items-center" >
99 < div className = "relative mx-auto md:mx-0" >
1010 < div className = "absolute -inset-1 bg-gradient-to-r from-gray-300 to-gray-400 dark:from-gray-600 dark:to-gray-700 rounded-full blur opacity-20 animate-pulse" > </ div >
11- < div className = "relative h-56 w-56 overflow-hidden rounded-full ring-4 ring-white dark:ring-gray-400 shadow-xl" >
11+ < div className = "relative h-56 w-56 overflow-hidden rounded-full ring-4 ring-white dark:ring-gray-400 shadow-xl group" >
12+ < Image
13+ width = { 500 }
14+ height = { 400 }
15+ priority = { true }
16+ src = { '/images/profile/darkDuck.png' }
17+ alt = "Background image"
18+ className = "object-cover w-full h-full bg-gray-500"
19+ />
1220 < Image
1321 width = { 500 }
1422 height = { 400 }
1523 priority = { true }
1624 src = { '/images/profile/profile.jpg' }
1725 alt = "About image"
18- className = "hover:scale-110 transition duration-700 object-cover w-full h-full bg-gray-500"
26+ className = "absolute inset-0 object-cover w-full h-full bg-gray-500 transition-opacity duration-700 group-hover:opacity-0 "
1927 />
2028 </ div >
2129 </ div >
You can’t perform that action at this time.
0 commit comments