@@ -26,35 +26,30 @@ const features = [{
2626} ] ;
2727
2828const FeaturesSection = ( ) => {
29- return < section className = "py-20 relative overflow-hidden" >
29+ return (
30+ < section className = "py-20 relative overflow-hidden" >
3031 < div className = "container mx-auto px-4 py-0 my-0" >
31- < motion . div initial = { {
32- opacity : 0
33- } } whileInView = { {
34- opacity : 1
35- } } transition = { {
36- duration : 0.8
37- } } viewport = { {
38- once : true
39- } } className = "text-center mb-16" >
32+ < motion . div
33+ initial = { { opacity : 0 } }
34+ whileInView = { { opacity : 1 } }
35+ transition = { { duration : 0.8 } }
36+ viewport = { { once : true } }
37+ className = "text-center mb-16"
38+ >
4039 < h2 className = "text-4xl font-bold mb-4 text-alien-gold text-glow font-nasalization" > Advanced Features</ h2 >
4140 < p className = "text-xl text-gray-300 max-w-3xl mx-auto" > ΔlieπFlΦw $pac€ offers cutting-edge technologies to support our interstellar ecosystem</ p >
4241 </ motion . div >
4342
4443 < div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8" >
45- { features . map ( ( feature , index ) => < motion . div key = { index } initial = { {
46- opacity : 0 ,
47- y : 20
48- } } whileInView = { {
49- opacity : 1 ,
50- y : 0
51- } } transition = { {
52- duration : 0.5 ,
53- delay : index * 0.1
54- } } viewport = { {
55- once : true ,
56- margin : "-50px"
57- } } className = "card-border p-6 relative overflow-hidden group" >
44+ { features . map ( ( feature , index ) => (
45+ < motion . div
46+ key = { index }
47+ initial = { { opacity : 0 , y : 20 } }
48+ whileInView = { { opacity : 1 , y : 0 } }
49+ transition = { { duration : 0.5 , delay : index * 0.1 } }
50+ viewport = { { once : true , margin : "-50px" } }
51+ className = "card-border p-6 relative overflow-hidden group"
52+ >
5853 < div className = "mb-6 p-4 rounded-full bg-gradient-to-br from-alien-gold-dark/20 to-alien-green-dark/20 w-fit" >
5954 < div className = "text-alien-gold group-hover:text-alien-green transition-colors duration-300" >
6055 { feature . icon }
@@ -64,15 +59,13 @@ const FeaturesSection = () => {
6459 < h3 className = "text-xl font-semibold mb-3 text-alien-gold font-nasalization" > { feature . title } </ h3 >
6560 < p className = "text-gray-300" > { feature . description } </ p >
6661
67- { /* Hover effect */ }
6862 < div className = "absolute bottom-0 left-0 w-full h-1 bg-gradient-to-r from-alien-gold to-alien-green scale-x-0 group-hover:scale-x-100 transition-transform duration-300 origin-left" > </ div >
69- </ motion . div > ) }
63+ </ motion . div >
64+ ) ) }
7065 </ div >
7166 </ div >
72-
73- { /* Background decoration */ }
74- < div className = "absolute bottom-0 left-0 w-full h-20 bg-gradient-to-t from-alien-space to-transparent" > </ div >
75- </ section > ;
67+ </ section >
68+ ) ;
7669} ;
7770
7871export default FeaturesSection ;
0 commit comments