@@ -2,29 +2,29 @@ import { motion } from "framer-motion";
22
33export const LeftSide = ( ) => {
44 return (
5- < div className = "relative flex-1 flex flex-col items-center px-12 py-10 overflow-hidden" >
5+ < div className = "relative flex-1 flex flex-col items-center px-6 md:px-8 lg:px- 12 py-6 md:py-8 lg: py-10 overflow-hidden" >
66 { /* Logo */ }
7- < div className = "w-full flex justify-center mb-2 mt-10" >
7+ < div className = "w-full flex justify-center mb-2 mt-4 md:mt-6 lg:mt- 10" >
88 < img
99 src = "/images/d.png"
1010 alt = "DCODE Logo"
11- className = "h-8"
11+ className = "h-6 md:h-7 lg:h- 8"
1212 />
1313 </ div >
1414
1515 { /* Center Content */ }
16- < div className = "flex flex-col items-center text-center max-w-md flex-grow justify-center" >
16+ < div className = "flex flex-col items-center text-center max-w-xs md:max-w-sm lg:max-w- md flex-grow justify-center" >
1717 { /* Illustration with floating symbols */ }
1818 < motion . div
19- className = "relative inline-block mb-8"
19+ className = "relative inline-block mb-6 md:mb- 8"
2020 initial = { { opacity : 0 , scale : 0.8 } }
2121 animate = { { opacity : 1 , scale : 1 } }
2222 transition = { { duration : 0.8 , ease : "easeOut" } }
2323 >
2424 < motion . img
2525 src = "/images/Illustration.png"
2626 alt = "Developer Illustration"
27- className = "rounded-lg"
27+ className = "rounded-lg w-full max-w-[280px] md:max-w-[320px] lg:max-w-full "
2828 style = { { mixBlendMode : "lighten" } }
2929 // animate={{ y: [0, -5, 0] }}
3030 transition = { { duration : 4 , repeat : Infinity , ease : "easeInOut" } }
@@ -34,7 +34,7 @@ export const LeftSide = () => {
3434 < div className = "absolute inset-0 pointer-events-none select-none" >
3535 { /* Top-left {} */ }
3636 < motion . div
37- className = "absolute top-2 left-2 text-gray-500 text-2xl"
37+ className = "absolute top-1 md:top- 2 left-1 md:left- 2 text-gray-500 text-lg md:text-xl lg: text-2xl"
3838 initial = { { opacity : 0 , scale : 0 , rotate : - 180 } }
3939 animate = { {
4040 opacity : 1 ,
@@ -54,7 +54,7 @@ export const LeftSide = () => {
5454
5555 { /* Top-right ; */ }
5656 < motion . div
57- className = "absolute top-2 right-2 text-gray-500 text-2xl"
57+ className = "absolute top-1 md:top- 2 right-1 md:right- 2 text-gray-500 text-lg md:text-xl lg: text-2xl"
5858 initial = { { opacity : 0 , scale : 0 , x : 50 } }
5959 animate = { {
6060 opacity : 1 ,
@@ -74,7 +74,7 @@ export const LeftSide = () => {
7474
7575 { /* Bottom-left <> */ }
7676 < motion . div
77- className = "absolute bottom-2 left-2 text-gray-500 text-2xl"
77+ className = "absolute bottom-1 md:bottom- 2 left-1 md:left- 2 text-gray-500 text-lg md:text-xl lg: text-2xl"
7878 initial = { { opacity : 0 , scale : 0 , y : 50 } }
7979 animate = { {
8080 opacity : 1 ,
@@ -92,7 +92,7 @@ export const LeftSide = () => {
9292
9393 { /* Bottom-center 0x3234 */ }
9494 < motion . div
95- className = "absolute bottom-10 left-1/3 -translate-x-1/2 text-gray-500 text-xl"
95+ className = "absolute bottom-6 md:bottom-8 lg:bottom- 10 left-1/3 -translate-x-1/2 text-gray-500 text-sm md:text-base lg: text-xl"
9696 initial = { { opacity : 0 , scale : 0 , rotate : 45 } }
9797 animate = { {
9898 opacity : 1 ,
@@ -112,7 +112,7 @@ export const LeftSide = () => {
112112
113113 { /* Bottom-right $ */ }
114114 < motion . div
115- className = "absolute bottom-2 right-2 text-gray-500 text-2xl"
115+ className = "absolute bottom-1 md:bottom- 2 right-1 md:right- 2 text-gray-500 text-lg md:text-xl lg: text-2xl"
116116 initial = { { opacity : 0 , scale : 0 , x : - 50 , rotate : 90 } }
117117 animate = { {
118118 opacity : 1 ,
@@ -136,7 +136,7 @@ export const LeftSide = () => {
136136
137137 { /* Heading + text */ }
138138 < motion . h2
139- className = "text-2xl font-semibold text-white mb-4"
139+ className = "text-lg md:text-xl lg:text- 2xl font-semibold text-white mb-3 md: mb-4"
140140 initial = { { opacity : 0 , y : 30 } }
141141 animate = { { opacity : 1 , y : 0 } }
142142 transition = { { duration : 0.8 , delay : 0.4 } }
@@ -145,7 +145,7 @@ export const LeftSide = () => {
145145 < span className = "text-[#BCDD19]" > OPEN SOURCE</ span > Developers
146146 </ motion . h2 >
147147 < motion . p
148- className = "text-sm text-[#F5F5F5]/50"
148+ className = "text-xs md:text- sm text-[#F5F5F5]/50 leading-relaxed "
149149 initial = { { opacity : 0 , y : 20 } }
150150 animate = { { opacity : 1 , y : 0 } }
151151 transition = { { duration : 0.8 , delay : 0.6 } }
0 commit comments