@@ -155,7 +155,7 @@ export default function Hero() {
155
155
} , [ displayedText , isDeleting , loopNum ] ) ;
156
156
157
157
return (
158
- < main className = "relative min-h-screen bg-black overflow-hidden" >
158
+ < main className = "relative min-h-screen bg-black overflow-hidden flex flex-col " >
159
159
{ /* Background Elements */ }
160
160
< div className = "absolute inset-0" >
161
161
< div className = "absolute inset-0 bg-gradient-to-b from-black via-black to-zinc-900" />
@@ -179,70 +179,66 @@ export default function Hero() {
179
179
</ div >
180
180
181
181
{ /* Main Content */ }
182
- < Container
183
- className = "relative pt-32 pb-20"
184
- >
185
- < div className = "flex flex-col items-center justify-center min-h-[80vh]" >
186
- < div className = "text-center max-w-4xl mx-auto space-y-8" >
187
- < h1 className = "text-7xl sm:text-8xl font-bold tracking-tight animate-fade-in" >
188
- < span className = "bg-clip-text text-transparent bg-gradient-to-b from-white via-white to-white/60" >
189
- Web Automation
182
+ < Container className = "relative pt-32 pb-20 flex flex-col items-center justify-center flex-grow" >
183
+ < div className = "text-center max-w-4xl mx-auto space-y-8" >
184
+ < h1 className = "text-7xl sm:text-8xl font-bold tracking-tight animate-fade-in" >
185
+ < span className = "bg-clip-text text-transparent bg-gradient-to-b from-white via-white to-white/60" >
186
+ Web Automation
187
+ </ span >
188
+ < br />
189
+ < span className = "relative inline-block mt-2" >
190
+ < span className = "animate-gradient-x text-6xl sm:text-7xl bg-gradient-to-r from-slate-300 to-slate-500 bg-clip-text text-transparent" >
191
+ Reimagined
190
192
</ span >
191
- < br />
192
- < span className = "relative inline-block mt-2" >
193
- < span className = "animate-gradient-x text-6xl sm:text-7xl bg-gradient-to-r from-slate-300 to-slate-500 bg-clip-text text-transparent" >
194
- Reimagined
195
- </ span >
196
- < div className = "absolute -inset-x-6 -inset-y-4 bg-orange-500/20 blur-2xl -z-10" />
197
- </ span >
198
- </ h1 >
193
+ < div className = "absolute -inset-x-6 -inset-y-4 bg-orange-500/20 blur-2xl -z-10" />
194
+ </ span >
195
+ </ h1 >
199
196
200
- < p className = "text-xl sm:text-2xl text-gray-400 max-w-2xl mx-auto animate-fade-in" >
201
- Automate your web workflows with pixel-perfect precision and
202
- < span className = "text-orange-500" >
203
- < span className = "ml-1 inline-block" >
204
- { displayedText }
205
- < span className = "border-r-2 border-white animate-pulse ml-1" > </ span >
206
- </ span >
197
+ < p className = "text-xl sm:text-2xl text-gray-400 max-w-2xl mx-auto animate-fade-in" >
198
+ Automate your web workflows with pixel-perfect precision and
199
+ < span className = "text-orange-500" >
200
+ < span className = "ml-1 inline-block" >
201
+ { displayedText }
202
+ < span className = "border-r-2 border-white animate-pulse ml-1" > </ span >
207
203
</ span >
208
- </ p >
204
+ </ span >
205
+ </ p >
209
206
210
- < div className = "pt-8 flex flex-col sm:flex-row items-center justify-center gap-4 w-full px-4" >
211
- < button
212
- onClick = { handleStartRecording }
213
- className = "group relative inline-flex items-center gap-2 bg-orange-500 hover:bg-orange-600 text-white px-8 py-4 rounded-full transition-all duration-300 hover:scale-105 border border-transparent hover:border-slate-300 w-full sm:w-auto sm:px-14"
214
- >
215
- < Play className = "w-5 h-5" />
216
- < span className = "font-medium" > Start Recording</ span >
217
- </ button >
207
+ < div className = "pt-8 flex flex-col sm:flex-row items-center justify-center gap-4 w-full px-4" >
208
+ < button
209
+ onClick = { handleStartRecording }
210
+ className = "group relative inline-flex items-center gap-2 bg-orange-500 hover:bg-orange-600 text-white px-8 py-4 rounded-full transition-all duration-300 hover:scale-105 border border-transparent hover:border-slate-300 w-full sm:w-auto sm:px-14"
211
+ >
212
+ < Play className = "w-5 h-5" />
213
+ < span className = "font-medium" > Start Recording</ span >
214
+ </ button >
218
215
219
- < button
220
- onClick = { ( ) => setShowRecordings ( true ) }
221
- className = "group relative inline-flex items-center gap-2 bg-white/5 hover:bg-white/10 text-white px-8 py-4 rounded-full transition-all duration-300 hover:scale-105 border border-transparent hover:border-slate-300 w-full sm:w-auto sm:px-14"
222
- >
223
- < ListVideo className = "w-5 h-5" />
224
- < span className = "font-medium" > View Recordings</ span >
225
- </ button >
226
- </ div >
216
+ < button
217
+ onClick = { ( ) => setShowRecordings ( true ) }
218
+ className = "group relative inline-flex items-center gap-2 bg-white/5 hover:bg-white/10 text-white px-8 py-4 rounded-full transition-all duration-300 hover:scale-105 border border-transparent hover:border-slate-300 w-full sm:w-auto sm:px-14"
219
+ >
220
+ < ListVideo className = "w-5 h-5" />
221
+ < span className = "font-medium" > View Recordings</ span >
222
+ </ button >
227
223
</ div >
224
+ </ div >
228
225
229
- { /* Recordings List or Infographic */ }
230
- < div className = "mt-32 w-full" >
231
- { showRecordings ? (
232
- < RecordingsList
233
- recordings = { recordings }
234
- onPlay = { handlePlayRecording }
235
- onPause = { handlePauseRecording } // Pass onPause prop
236
- onDelete = { handleDeleteRecording }
237
- onLoop = { handleLoopClick }
238
- onResetLoop = { handleResetLoop }
239
- onRename = { handleRename }
240
- currentlyPlayingId = { currentlyPlayingId } // Pass currentlyPlayingId prop
241
- />
242
- ) : (
243
- < Infographic />
244
- ) }
245
- </ div >
226
+ { /* Recordings List or Infographic */ }
227
+ < div className = "mt-32 w-full flex-grow" >
228
+ { showRecordings ? (
229
+ < RecordingsList
230
+ recordings = { recordings }
231
+ onPlay = { handlePlayRecording }
232
+ onPause = { handlePauseRecording } // Pass onPause prop
233
+ onDelete = { handleDeleteRecording }
234
+ onLoop = { handleLoopClick }
235
+ onResetLoop = { handleResetLoop }
236
+ onRename = { handleRename }
237
+ currentlyPlayingId = { currentlyPlayingId } // Pass currentlyPlayingId prop
238
+ />
239
+ ) : (
240
+ < Infographic />
241
+ ) }
246
242
</ div >
247
243
</ Container >
248
244
0 commit comments