@@ -90,7 +90,7 @@ export const HeroSection = ({
9090 < br />
9191
9292 { /* Tutorial Buttons */ }
93- < div className = 'flex justify-center gap-6 mb-8' >
93+ < div className = 'flex flex-col md:flex-row justify-center gap-4 md:gap- 6 mb-8 px-4 ' >
9494 < Tooltip content = 'Scroll down to the tutorial section' >
9595 < button
9696 onClick = { ( ) => {
@@ -102,7 +102,7 @@ export const HeroSection = ({
102102 } ) ;
103103 }
104104 } }
105- className = 'px-8 py-4 bg-gradient-to-r from-brand-500 to-accent-500 hover:from-brand-600 hover:to-accent-600 text-white font-bold rounded-xl transition-all duration-300 transform hover:scale-105 shadow-lg hover:shadow-xl border-2 border-white/20 hover:border-white/40 flex items-center space-x-3'
105+ className = 'w-full md:w-auto px-6 md:px- 8 py-4 bg-gradient-to-r from-brand-500 to-accent-500 hover:from-brand-600 hover:to-accent-600 text-white font-bold rounded-xl transition-all duration-300 transform hover:scale-105 shadow-lg hover:shadow-xl border-2 border-white/20 hover:border-white/40 flex items-center justify -center space-x-3'
106106 >
107107 < Image
108108 src = '/images/character/baby.png'
@@ -121,9 +121,9 @@ export const HeroSection = ({
121121 < button
122122 onClick = { onTechTreeClick }
123123 disabled = { false }
124- className = 'px-8 py-4 font-bold rounded-xl transition-all duration-300 flex items-center space-x-3 bg-gradient-to-r from-brand-500/20 to-accent-500/20 hover:from-brand-800/50 hover:to-accent-800/50 text-white transform hover:scale-105 shadow-lg hover:shadow-xl border-2 border-white/20 hover:border-white/40'
124+ className = 'w-full md:w-auto px-6 md:px- 8 py-4 font-bold rounded-xl transition-all duration-300 flex items-center justify -center space-x-3 bg-gradient-to-r from-brand-500/20 to-accent-500/20 hover:from-brand-800/50 hover:to-accent-800/50 text-white transform hover:scale-105 shadow-lg hover:shadow-xl border-2 border-white/20 hover:border-white/40'
125125 >
126- < span > Trustless Work Tech Tree</ span >
126+ < span className = 'text-center md:text-left' > Trustless Work Tech Tree</ span >
127127 < span className = 'text-xl' >
128128 < Image
129129 src = '/images/icons/demos.png'
@@ -141,7 +141,7 @@ export const HeroSection = ({
141141 </ button >
142142 </ Tooltip >
143143
144- < div className = { `relative ${ miniGamesUnlocked ? 'animate-pulse hover:animate-none cursor-pointer' : '' } ` } >
144+ < div className = { `relative w-full md:w-auto ${ miniGamesUnlocked ? 'animate-pulse hover:animate-none cursor-pointer' : '' } ` } >
145145 { /* Wave Effect - Only show when unlocked */ }
146146 { miniGamesUnlocked && (
147147 < >
@@ -167,7 +167,7 @@ export const HeroSection = ({
167167 e . preventDefault ( ) ;
168168 }
169169 } }
170- className = { `relative px-8 py-4 font-bold rounded-xl transition-all duration-300 flex items-center space-x-3 transform shadow-lg border-2 ${
170+ className = { `relative w-full md:w-auto px-6 md:px- 8 py-4 font-bold rounded-xl transition-all duration-300 flex items-center justify -center space-x-3 transform shadow-lg border-2 ${
171171 miniGamesUnlocked
172172 ? 'bg-gradient-to-r from-brand-500 to-accent-500 hover:from-brand-600 hover:to-accent-600 text-white hover:scale-105 hover:shadow-xl border-white/20 hover:border-white/40 cursor-pointer hover:animate-none'
173173 : 'bg-gray-600 text-gray-400 border-gray-600 cursor-not-allowed'
@@ -178,7 +178,7 @@ export const HeroSection = ({
178178 : 'Complete all demos and earn all badges to unlock the Nexus Web3 Playground'
179179 }
180180 >
181- < span >
181+ < span className = 'text-center md:text-left' >
182182 { miniGamesUnlocked ? 'Nexus Web3 Playground' : '🔒 Nexus Web3 Playground' }
183183 </ span >
184184 < span className = 'text-xl' >
0 commit comments