@@ -16,77 +16,87 @@ const Hero: React.FC = () => {
1616 if ( spacesSection ) spacesSection . scrollIntoView ( { behavior : 'smooth' } ) ;
1717 } ;
1818
19- if ( ! mounted ) return null ; // ✅ Eliminado flash "loading..."
19+ if ( ! mounted ) return null ;
2020
2121 return (
22- < section className = "relative flex flex-col items-center justify-center min-h-[calc(100vh-4rem)] py-16 overflow-hidden" >
23- { /* Fondo de estrellas */ }
24- < div className = "absolute inset-0 bg-stars bg-cover bg-center opacity-40 " > </ div >
22+ < section className = "relative flex flex-col items-center justify-center min-h-[calc(100vh-4rem)] py-12 sm:py- 16 overflow-hidden" >
23+ { /* Background layers */ }
24+ < div className = "absolute inset-0 bg-stars bg-cover bg-center opacity-30 " > </ div >
2525 < div className = "absolute inset-0 bg-glow-radial" > </ div >
2626
27- < div className = "container relative z-10 px-4 mx-auto text-center" >
28- { /* Logo flotante */ }
27+ < div className = "container relative z-10 px-4 mx-auto text-center max-w-6xl " >
28+ { /* Floating logo */ }
2929 < motion . img
3030 src = "/lovable-uploads/ALogo.png"
3131 alt = "AlienFlowSpaceDAO Logo"
32- className = "h-24 md:h-28 gold -glow z-20 mb-8 mx-auto"
33- initial = { { scale : 0.8 } }
32+ className = "h-20 sm:h- 24 md:h-28 logo -glow z-20 mb-6 sm: mb-8 mx-auto"
33+ initial = { { scale : 0.9 , opacity : 0 } }
3434 animate = { {
35- scale : [ 1 , 1.05 , 1 ] ,
36- rotate : [ 0 , 2 , 0 ] ,
37- y : [ 0 , - 10 , 0 ]
35+ scale : [ 1 , 1.02 , 1 ] ,
36+ opacity : 1 ,
37+ y : [ 0 , - 5 , 0 ]
38+ } }
39+ transition = { {
40+ duration : 4 ,
41+ repeat : Infinity ,
42+ repeatType : "reverse" ,
43+ opacity : { duration : 0.8 }
3844 } }
39- transition = { { duration : 6 , repeat : Infinity , repeatType : "reverse" } }
4045 loading = "lazy"
4146 />
4247
43- { /* Título */ }
48+ { /* Main title */ }
4449 < motion . h1
45- initial = { { opacity : 0 , y : - 30 } }
50+ initial = { { opacity : 0 , y : - 20 } }
4651 animate = { { opacity : 1 , y : 0 } }
47- transition = { { duration : 1.2 , ease : 'easeOut' } }
48- className = "text-3xl sm:text-4xl lg:text-6xl font-nasalization font-extrabold leading-tight text-center starwars-text mb-6 "
52+ transition = { { duration : 1 , ease : 'easeOut' } }
53+ className = "text-2xl sm:text-4xl md:text-5xl lg:text-6xl font-nasalization font-extrabold leading-tight text-center hero-title mb-8 sm:mb-12 "
4954 >
5055 < span className = "text-alien-green" > Δlieπ</ span >
5156 < span className = "text-alien-gold" > FlΦw</ span >
5257 < span className = "text-alien-green" > $pac€</ span >
5358 < span className = "text-alien-gold" > DAO</ span >
5459 </ motion . h1 >
5560
56- { /* Crawl Star Wars */ }
57- < div className = "star-wars-crawl" >
58- < div className = "star-wars-content starwars-text" >
59- < p >
61+ { /* Star Wars inspired description */ }
62+ < motion . div
63+ className = "star-wars-crawl"
64+ initial = { { opacity : 0 } }
65+ animate = { { opacity : 1 } }
66+ transition = { { delay : 0.5 , duration : 1 } }
67+ >
68+ < div className = "star-wars-content" >
69+ < p className = "mb-4 text-sm sm:text-base lg:text-lg" >
6070 Access the DAO with Innovative Solutions, Unlocks Energy Efficiency & Environmental Sustainability .
6171 </ p >
62- < p >
72+ < p className = "text-sm sm:text-base lg:text-lg opacity-90" >
6373 Advantages Boosting the BENEFITS, for Connecting you and Raise your QUALITY of LIFE, with Mutual PROFITS…
6474 </ p >
6575 </ div >
66- </ div >
76+ </ motion . div >
6777
68- { /* Botones */ }
78+ { /* Action buttons */ }
6979 < motion . div
70- className = "flex flex-wrap justify-center gap-4 mt-8"
80+ className = "flex flex-col sm:flex-row flex- wrap justify-center gap-3 sm:gap- 4 mt-8 sm:mt-12 "
7181 initial = { { opacity : 0 , y : 20 } }
7282 animate = { { opacity : 1 , y : 0 } }
73- transition = { { delay : 1.5 , duration : 1 } }
83+ transition = { { delay : 1 , duration : 0.8 } }
7484 >
75- < Link to = "/about" >
76- < Button className = "bg-alien-green text-alien-gold hover:bg-alien-gold hover:text-alien-green font-nasalization px-6 sm:px-8 py-4 sm:py-5 text-sm sm:text-base rounded-full transition-colors shadow-lg" >
85+ < Link to = "/about" className = "w-full sm:w-auto" >
86+ < Button className = "w-full sm:w-auto bg-alien-green text-alien-gold hover:bg-alien-gold hover:text-alien-green font-nasalization px-6 sm:px-8 py-3 sm:py-4 text-sm sm:text-base rounded-full transition-all duration-300 shadow-lg hover:shadow-xl hover:scale-105 " >
7787 < Orbit className = "mr-2 h-4 w-4" /> About Enter Portal
7888 </ Button >
7989 </ Link >
8090
81- < Link to = "/alien-trip" >
82- < Button className = "bg-alien-green text-alien-gold hover:bg-alien-gold hover:text-alien-green font-nasalization px-6 sm:px-8 py-4 sm:py-5 text-sm sm:text-base rounded-full transition-colors shadow-lg" >
91+ < Link to = "/alien-trip" className = "w-full sm:w-auto" >
92+ < Button className = "w-full sm:w-auto bg-alien-green text-alien-gold hover:bg-alien-gold hover:text-alien-green font-nasalization px-6 sm:px-8 py-3 sm:py-4 text-sm sm:text-base rounded-full transition-all duration-300 shadow-lg hover:shadow-xl hover:scale-105 " >
8393 < ScrollText className = "mr-2 h-4 w-4" /> Alientrip Manifesto
8494 </ Button >
8595 </ Link >
8696
8797 < Button
8898 onClick = { scrollToSpaces }
89- className = "bg-alien-green text-alien-gold hover:bg-alien-gold hover:text-alien-green font-nasalization px-6 sm:px-8 py-4 sm:py-5 text-sm sm:text-base rounded-full transition-colors shadow-lg"
99+ className = "w-full sm:w-auto bg-alien-green text-alien-gold hover:bg-alien-gold hover:text-alien-green font-nasalization px-6 sm:px-8 py-3 sm:py-4 text-sm sm:text-base rounded-full transition-all duration-300 shadow-lg hover:shadow-xl hover:scale-105 "
90100 >
91101 < Globe className = "mr-2 h-4 w-4" /> Join the Journey
92102 </ Button >
0 commit comments