@@ -62,9 +62,9 @@ export function LandingPage() {
6262 { /* Hero Content */ }
6363 < div className = "text-center lg:text-left space-y-8" >
6464 < motion . h1
65- initial = { { opacity : 0 , x : - 50 } }
65+ initial = { { opacity : 0 , x : - 30 } }
6666 animate = { { opacity : 1 , x : 0 } }
67- transition = { { duration : 0.8 , ease : "easeOut" } }
67+ transition = { { duration : 0.5 , ease : "easeOut" } } // Pehle 0.8 tha, ab faster hai
6868 className = "text-6xl md:text-8xl font-bold leading-[1.1] tracking-tighter"
6969 >
7070 Growth.< br />
@@ -75,7 +75,7 @@ export function LandingPage() {
7575 < motion . p
7676 initial = { { opacity : 0 } }
7777 animate = { { opacity : 1 } }
78- transition = { { delay : 0.3 , duration : 1 } }
78+ transition = { { delay : 0.15 , duration : 0.5 } } // Delay half kar diya
7979 className = "text-xl md:text-2xl text-slate-300 max-w-xl mx-auto lg:mx-0 leading-relaxed font-light"
8080 >
8181 A GitHub-native developer intelligence layer that turns repository activity into < span className = "italic font-serif text-white font-medium underline decoration-purple-500/50 underline-offset-4" > actionable</ span > growth signals.
@@ -100,9 +100,9 @@ export function LandingPage() {
100100
101101 { /* Login Form Card */ }
102102 < motion . div
103- initial = { { opacity : 0 , scale : 0.9 , rotateY : - 15 } }
103+ initial = { { opacity : 0 , scale : 0.95 , rotateY : - 10 } }
104104 animate = { { opacity : 1 , scale : 1 , rotateY : 0 } }
105- transition = { { delay : 0.4 , type : "spring" , stiffness : 60 , damping : 15 } }
105+ transition = { { delay : 0.2 , type : "spring" , stiffness : 120 , damping : 20 } } // Spring tight kar diya for "snappy" feel
106106 className = "w-full max-w-md mx-auto perspective-1000"
107107 >
108108 < div className = "p-10 rounded-[2.5rem] bg-white/5 backdrop-blur-3xl border border-white/10 shadow-[0_32px_64px_-16px_rgba(0,0,0,0.5)] relative overflow-hidden group" >
@@ -190,9 +190,9 @@ export function LandingPage() {
190190 < motion . div
191191 key = { i }
192192 whileInView = { { opacity : 1 , y : 0 } }
193- initial = { { opacity : 0 , y : 30 } }
194- viewport = { { once : true } }
195- transition = { { delay : i * 0.1 } }
193+ initial = { { opacity : 0 , y : 20 } }
194+ viewport = { { once : true , amount : 0.1 } } // Threshold kam kiya takki jaldi animate ho
195+ transition = { { delay : i * 0.05 } } // Staggering faster hai
196196 className = "p-8 rounded-[2rem] bg-white/5 border border-white/10 hover:border-white/20 hover:bg-white/[0.07] transition-all group"
197197 >
198198 < div className = "w-12 h-12 rounded-2xl bg-white/5 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform" >
@@ -227,12 +227,13 @@ export function LandingPage() {
227227 </ div >
228228 </ div >
229229
230- < motion . div
231- whileInView = { { x : 0 , opacity : 1 } }
232- initial = { { x : 100 , opacity : 0 } }
233- viewport = { { once : true } }
234- className = "relative aspect-video rounded-3xl bg-slate-900 border border-white/10 shadow-2xl overflow-hidden group shadow-purple-500/10"
235- >
230+ < motion . div
231+ whileInView = { { x : 0 , opacity : 1 } }
232+ initial = { { x : 100 , opacity : 0 } }
233+ viewport = { { once : true , amount : 0.1 } } // Yeh trigger jaldi karega
234+ transition = { { duration : 0.5 , ease : "easeOut" } } // Duration thoda fast kar diya
235+ className = "relative aspect-video rounded-3xl bg-slate-900 border border-white/10 shadow-2xl overflow-hidden group shadow-purple-500/10"
236+ >
236237 < div className = "absolute inset-x-0 top-0 h-10 bg-white/5 flex items-center px-4 gap-2" >
237238 < div className = "w-2.5 h-2.5 rounded-full bg-red-500/50" />
238239 < div className = "w-2.5 h-2.5 rounded-full bg-yellow-500/50" />
0 commit comments