Prakhar Singh commited on
Commit
3e76c6c
·
1 Parent(s): a3b81fa

fix the UI color combination

Browse files
Files changed (1) hide show
  1. Frontend/src/pages/home.tsx +42 -42
Frontend/src/pages/home.tsx CHANGED
@@ -60,39 +60,39 @@ const AIInterviewPlatform: React.FC = () => {
60
  ];
61
 
62
  return (
63
- <div className="w-full min-h-screen bg-gradient-to-br from-slate-900 via-purple-900 to-slate-900 text-white **overflow-x-hidden**">
64
  {/* Navigation Bar */}
65
  <nav className={`fixed top-0 left-0 right-0 w-full z-50 transition-all duration-300 ${scrolled ? 'bg-slate-900/95 backdrop-blur-md shadow-xl' : 'bg-slate-900/80 backdrop-blur-sm'}`}>
66
  <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
67
  <div className="flex justify-between items-center h-20">
68
  {/* Logo */}
69
  <div className="flex items-center space-x-3">
70
- <div className="bg-gradient-to-br from-purple-500 to-pink-500 p-2 rounded-lg">
71
  <Sparkles className="w-6 h-6 text-white" />
72
  </div>
73
- <span className="text-2xl font-bold bg-gradient-to-r from-purple-400 to-pink-400 bg-clip-text text-transparent">
74
  InterviewAI
75
  </span>
76
  </div>
77
 
78
  {/* Desktop Navigation */}
79
  <div className="hidden lg:flex items-center space-x-8">
80
- <a href="#home" className="text-gray-200 hover:text-purple-400 transition-colors font-medium">
81
  Home
82
  </a>
83
- <a href="#about" className="text-gray-200 hover:text-purple-400 transition-colors font-medium">
84
  About
85
  </a>
86
- <a href="#features" className="text-gray-200 hover:text-purple-400 transition-colors font-medium">
87
  Features
88
  </a>
89
- <a href="#how-it-works" className="text-gray-200 hover:text-purple-400 transition-colors font-medium">
90
  How It Works
91
  </a>
92
- <button className="px-6 py-2.5 rounded-lg border-2 border-purple-400 text-purple-400 hover:bg-purple-400/10 transition-all font-medium">
93
  Sign In
94
  </button>
95
- <button className="px-6 py-2.5 rounded-lg bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 transition-all shadow-lg shadow-purple-500/30 font-medium">
96
  Sign Up
97
  </button>
98
  </div>
@@ -111,36 +111,36 @@ const AIInterviewPlatform: React.FC = () => {
111
  <div className="px-4 py-4 space-y-3 max-w-7xl mx-auto">
112
  <a
113
  href="#home"
114
- className="block py-3 px-4 rounded-lg text-gray-200 hover:bg-purple-500/10 hover:text-purple-400 transition-all font-medium"
115
  onClick={() => setIsMenuOpen(false)}
116
  >
117
  Home
118
  </a>
119
  <a
120
  href="#about"
121
- className="block py-3 px-4 rounded-lg text-gray-200 hover:bg-purple-500/10 hover:text-purple-400 transition-all font-medium"
122
  onClick={() => setIsMenuOpen(false)}
123
  >
124
  About
125
  </a>
126
  <a
127
  href="#features"
128
- className="block py-3 px-4 rounded-lg text-gray-200 hover:bg-purple-500/10 hover:text-purple-400 transition-all font-medium"
129
  onClick={() => setIsMenuOpen(false)}
130
  >
131
  Features
132
  </a>
133
  <a
134
  href="#how-it-works"
135
- className="block py-3 px-4 rounded-lg text-gray-200 hover:bg-purple-500/10 hover:text-purple-400 transition-all font-medium"
136
  onClick={() => setIsMenuOpen(false)}
137
  >
138
  How It Works
139
  </a>
140
- <button className="w-full py-3 rounded-lg border-2 border-purple-400 text-purple-400 hover:bg-purple-400/10 transition-all font-medium">
141
  Sign In
142
  </button>
143
- <button className="w-full py-3 rounded-lg bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 transition-all font-medium">
144
  Sign Up
145
  </button>
146
  </div>
@@ -148,15 +148,15 @@ const AIInterviewPlatform: React.FC = () => {
148
  )}
149
  </nav>
150
  {/* Hero Section */}
151
- <section id="home" className="min-h-screen flex items-center pt-20 pb-20 px-4 sm:px-6 lg:px-8">
152
  <div className="max-w-7xl mx-auto text-center">
153
- <div className="inline-block mb-4 px-4 py-2 bg-purple-500/20 rounded-full border border-purple-500/50">
154
- <span className="text-sm font-semibold text-purple-300">✨ AI-Powered Interview Practice</span>
155
  </div>
156
 
157
  <h1 className="text-5xl sm:text-6xl lg:text-7xl font-bold mb-6 leading-tight">
158
  Master Your Next
159
- <span className="block bg-gradient-to-r from-purple-400 via-pink-400 to-purple-400 bg-clip-text text-transparent">
160
  Interview with AI
161
  </span>
162
  </h1>
@@ -166,33 +166,33 @@ const AIInterviewPlatform: React.FC = () => {
166
  </p>
167
 
168
  <div className="flex flex-col sm:flex-row gap-4 justify-center items-center">
169
- <button className="px-8 py-4 rounded-lg bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 transition shadow-lg shadow-purple-500/50 flex items-center gap-2 text-lg font-semibold">
170
  Start Free Trial
171
  <ChevronRight className="w-5 h-5" />
172
  </button>
173
- <button className="px-8 py-4 rounded-lg border-2 border-purple-400 hover:bg-purple-400/10 transition text-lg font-semibold">
174
  Watch Demo
175
  </button>
176
  </div>
177
  {/* Stats */}
178
  <div className="mt-20 grid grid-cols-1 sm:grid-cols-3 gap-8 max-w-4xl mx-auto">
179
  <div className="bg-white/5 backdrop-blur-sm rounded-xl p-6 border border-white/10">
180
- <div className="text-4xl font-bold text-purple-400 mb-2">50K+</div>
181
  <div className="text-gray-400">Successful Interviews</div>
182
  </div>
183
  <div className="bg-white/5 backdrop-blur-sm rounded-xl p-6 border border-white/10">
184
- <div className="text-4xl font-bold text-pink-400 mb-2">95%</div>
185
  <div className="text-gray-400">Success Rate</div>
186
  </div>
187
  <div className="bg-white/5 backdrop-blur-sm rounded-xl p-6 border border-white/10">
188
- <div className="text-4xl font-bold text-purple-400 mb-2">24/7</div>
189
  <div className="text-gray-400">AI Availability</div>
190
  </div>
191
  </div>
192
  </div>
193
  </section>
194
  {/* About Section */}
195
- <section id="about" className="py-20 px-4 sm:px-6 lg:px-8 bg-black/20">
196
  <div className="max-w-6xl mx-auto">
197
  <div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
198
  <div>
@@ -207,31 +207,31 @@ const AIInterviewPlatform: React.FC = () => {
207
  </p>
208
  <div className="space-y-4">
209
  <div className="flex items-center gap-3">
210
- <div className="w-2 h-2 bg-purple-400 rounded-full"></div>
211
  <span className="text-gray-300">Advanced AI interview simulations</span>
212
  </div>
213
  <div className="flex items-center gap-3">
214
- <div className="w-2 h-2 bg-pink-400 rounded-full"></div>
215
  <span className="text-gray-300">Personalized feedback and coaching</span>
216
  </div>
217
  <div className="flex items-center gap-3">
218
- <div className="w-2 h-2 bg-purple-400 rounded-full"></div>
219
  <span className="text-gray-300">Industry-leading success rates</span>
220
  </div>
221
  </div>
222
  </div>
223
- <div className="bg-gradient-to-br from-purple-900/50 to-pink-900/50 rounded-2xl p-8 border border-purple-500/30">
224
  <div className="space-y-6">
225
  <div className="bg-white/5 backdrop-blur-sm rounded-lg p-6">
226
- <div className="text-3xl font-bold text-purple-400 mb-2">2020</div>
227
  <div className="text-gray-400">Founded</div>
228
  </div>
229
  <div className="bg-white/5 backdrop-blur-sm rounded-lg p-6">
230
- <div className="text-3xl font-bold text-pink-400 mb-2">50K+</div>
231
  <div className="text-gray-400">Happy Users</div>
232
  </div>
233
  <div className="bg-white/5 backdrop-blur-sm rounded-lg p-6">
234
- <div className="text-3xl font-bold text-purple-400 mb-2">500+</div>
235
  <div className="text-gray-400">Companies Trust Us</div>
236
  </div>
237
  </div>
@@ -240,7 +240,7 @@ const AIInterviewPlatform: React.FC = () => {
240
  </div>
241
  </section>
242
  {/* Features Section */}
243
- <section id="features" className="py-20 px-4 sm:px-6 lg:px-8">
244
  <div className="max-w-7xl mx-auto">
245
  <div className="text-center mb-16">
246
  <h2 className="text-4xl sm:text-5xl font-bold mb-4">
@@ -254,9 +254,9 @@ const AIInterviewPlatform: React.FC = () => {
254
  {features.map((feature: Feature, index: number) => (
255
  <div
256
  key={index}
257
- className="bg-gradient-to-br from-purple-900/30 to-pink-900/30 backdrop-blur-sm rounded-xl p-8 border border-purple-500/20 hover:border-purple-500/50 transition-all duration-300 hover:transform hover:scale-105"
258
  >
259
- <div className="bg-gradient-to-br from-purple-500 to-pink-500 w-16 h-16 rounded-lg flex items-center justify-center mb-4 shadow-lg shadow-purple-500/50">
260
  {feature.icon}
261
  </div>
262
  <h3 className="text-xl font-bold mb-3">{feature.title}</h3>
@@ -267,7 +267,7 @@ const AIInterviewPlatform: React.FC = () => {
267
  </div>
268
  </section>
269
  {/* How It Works */}
270
- <section id="how-it-works" className="py-20 px-4 sm:px-6 lg:px-8 bg-black/20">
271
  <div className="max-w-7xl mx-auto">
272
  <div className="text-center mb-16">
273
  <h2 className="text-4xl sm:text-5xl font-bold mb-4">
@@ -280,11 +280,11 @@ const AIInterviewPlatform: React.FC = () => {
280
  <div className="grid grid-cols-1 md:grid-cols-3 gap-8">
281
  {steps.map((item: Step, index: number) => (
282
  <div key={index} className="relative text-center">
283
- <div className="text-7xl font-bold text-purple-500/20 mb-4">{item.step}</div>
284
  <h3 className="text-2xl font-bold mb-3">{item.title}</h3>
285
  <p className="text-gray-400">{item.desc}</p>
286
  {index < 2 && (
287
- <ChevronRight className="hidden md:block absolute top-12 -right-12 w-8 h-8 text-purple-500/50" />
288
  )}
289
  </div>
290
  ))}
@@ -292,7 +292,7 @@ const AIInterviewPlatform: React.FC = () => {
292
  </div>
293
  </section>
294
  {/* CTA Section */}
295
- <section className="py-20 px-4 sm:px-6 lg:px-8 bg-gradient-to-r from-purple-900/50 to-pink-900/50">
296
  <div className="max-w-4xl mx-auto text-center">
297
  <h2 className="text-4xl sm:text-5xl font-bold mb-6">
298
  Ready to Ace Your Interview?
@@ -300,16 +300,16 @@ const AIInterviewPlatform: React.FC = () => {
300
  <p className="text-xl text-gray-300 mb-10">
301
  Join thousands of successful candidates who prepared with InterviewAI
302
  </p>
303
- <button className="px-10 py-5 rounded-lg bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 transition shadow-lg shadow-purple-500/50 text-lg font-semibold">
304
  Start Your Free Trial Today
305
  </button>
306
  </div>
307
  </section>
308
  {/* Footer */}
309
- <footer className="py-12 px-4 sm:px-6 lg:px-8 bg-black/40">
310
  <div className="max-w-7xl mx-auto text-center text-gray-400">
311
  <div className="flex items-center justify-center space-x-2 mb-4">
312
- <Sparkles className="w-6 h-6 text-purple-400" />
313
  <span className="text-xl font-bold text-white">InterviewAI</span>
314
  </div>
315
  <p>&copy; 2025 InterviewAI. All rights reserved.</p>
 
60
  ];
61
 
62
  return (
63
+ <div className="w-full min-h-screen bg-gradient-to-br from-blue-900 to-gray-400 from-blue-900 text-white **overflow-x-hidden**">
64
  {/* Navigation Bar */}
65
  <nav className={`fixed top-0 left-0 right-0 w-full z-50 transition-all duration-300 ${scrolled ? 'bg-slate-900/95 backdrop-blur-md shadow-xl' : 'bg-slate-900/80 backdrop-blur-sm'}`}>
66
  <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
67
  <div className="flex justify-between items-center h-20">
68
  {/* Logo */}
69
  <div className="flex items-center space-x-3">
70
+ <div className="bg-gradient-to-br from-blue-500 to-gray-400 p-2 rounded-lg">
71
  <Sparkles className="w-6 h-6 text-white" />
72
  </div>
73
+ <span className="text-2xl font-bold bg-gradient-to-r from-blue-500 to-gray-400 bg-clip-text text-transparent">
74
  InterviewAI
75
  </span>
76
  </div>
77
 
78
  {/* Desktop Navigation */}
79
  <div className="hidden lg:flex items-center space-x-8">
80
+ <a href="#home" className="text-gray-200 hover:text-blue-400 transition-colors font-medium">
81
  Home
82
  </a>
83
+ <a href="#about" className="text-gray-200 hover:text-blue-400 transition-colors font-medium">
84
  About
85
  </a>
86
+ <a href="#features" className="text-gray-200 hover:text-blue-400 transition-colors font-medium">
87
  Features
88
  </a>
89
+ <a href="#how-it-works" className="text-gray-200 hover:text-blue-400 transition-colors font-medium">
90
  How It Works
91
  </a>
92
+ <button className="px-6 py-2.5 rounded-lg border-2 border-blue-400 text-blue-400 hover:bg-blue-400/10 transition-all font-medium">
93
  Sign In
94
  </button>
95
+ <button className="px-6 py-2.5 rounded-lg bg-gradient-to-r from-blue-500 to-blue-500 hover:from-blue-600 hover:to-blue-900 transition-all shadow-lg shadow-blue-500/30 font-medium">
96
  Sign Up
97
  </button>
98
  </div>
 
111
  <div className="px-4 py-4 space-y-3 max-w-7xl mx-auto">
112
  <a
113
  href="#home"
114
+ className="block py-3 px-4 rounded-lg text-gray-200 hover:bg-blue-500/10 hover:text-blue-400 transition-all font-medium"
115
  onClick={() => setIsMenuOpen(false)}
116
  >
117
  Home
118
  </a>
119
  <a
120
  href="#about"
121
+ className="block py-3 px-4 rounded-lg text-gray-200 hover:bg-blue-500/10 hover:text-blue-400 transition-all font-medium"
122
  onClick={() => setIsMenuOpen(false)}
123
  >
124
  About
125
  </a>
126
  <a
127
  href="#features"
128
+ className="block py-3 px-4 rounded-lg text-gray-200 hover:bg-blue-500/10 hover:text-blue-400 transition-all font-medium"
129
  onClick={() => setIsMenuOpen(false)}
130
  >
131
  Features
132
  </a>
133
  <a
134
  href="#how-it-works"
135
+ className="block py-3 px-4 rounded-lg text-gray-200 hover:bg-blue-500/10 hover:text-blue-400 transition-all font-medium"
136
  onClick={() => setIsMenuOpen(false)}
137
  >
138
  How It Works
139
  </a>
140
+ <button className="w-full py-3 rounded-lg border-2 border-blue-400 text-blue-400 hover:bg-blue-400/10 transition-all font-medium">
141
  Sign In
142
  </button>
143
+ <button className="w-full py-3 rounded-lg bg-gradient-to-r from-blue-500 to-gray-500 hover:from-blue-600 hover:to-gray-600 transition-all font-medium">
144
  Sign Up
145
  </button>
146
  </div>
 
148
  )}
149
  </nav>
150
  {/* Hero Section */}
151
+ <section id="home" className="min-h-screen flex items-center pt-20 pb-20 px-4 sm:px-6 lg:px-8 bg-black">
152
  <div className="max-w-7xl mx-auto text-center">
153
+ <div className="inline-block mb-4 px-4 py-2 bg-blue-500/20 rounded-full border border-blue-500/50">
154
+ <span className="text-sm font-semibold text-blue-300">✨ AI-Powered Interview Practice</span>
155
  </div>
156
 
157
  <h1 className="text-5xl sm:text-6xl lg:text-7xl font-bold mb-6 leading-tight">
158
  Master Your Next
159
+ <span className="block bg-gradient-to-r from-blue-500 via-gray-400 to-blue-500 bg-clip-text text-transparent">
160
  Interview with AI
161
  </span>
162
  </h1>
 
166
  </p>
167
 
168
  <div className="flex flex-col sm:flex-row gap-4 justify-center items-center">
169
+ <button className="px-8 py-4 rounded-lg bg-gradient-to-r from-blue-500 to-gray-500 hover:from-blue-600 hover:to-blue-500 transition shadow-lg shadow-blue-500/50 flex items-center gap-2 text-lg font-semibold">
170
  Start Free Trial
171
  <ChevronRight className="w-5 h-5" />
172
  </button>
173
+ <button className="px-8 py-4 rounded-lg border-2 border-blue-400 hover:bg-blue-400/10 transition text-lg font-semibold">
174
  Watch Demo
175
  </button>
176
  </div>
177
  {/* Stats */}
178
  <div className="mt-20 grid grid-cols-1 sm:grid-cols-3 gap-8 max-w-4xl mx-auto">
179
  <div className="bg-white/5 backdrop-blur-sm rounded-xl p-6 border border-white/10">
180
+ <div className="text-4xl font-bold text-blue-600 mb-2">50K+</div>
181
  <div className="text-gray-400">Successful Interviews</div>
182
  </div>
183
  <div className="bg-white/5 backdrop-blur-sm rounded-xl p-6 border border-white/10">
184
+ <div className="text-4xl font-bold text-blue-600 mb-2">95%</div>
185
  <div className="text-gray-400">Success Rate</div>
186
  </div>
187
  <div className="bg-white/5 backdrop-blur-sm rounded-xl p-6 border border-white/10">
188
+ <div className="text-4xl font-bold text-blue-600 mb-2">24/7</div>
189
  <div className="text-gray-400">AI Availability</div>
190
  </div>
191
  </div>
192
  </div>
193
  </section>
194
  {/* About Section */}
195
+ <section id="about" className="py-20 px-4 sm:px-6 lg:px-8 bg-black/40">
196
  <div className="max-w-6xl mx-auto">
197
  <div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
198
  <div>
 
207
  </p>
208
  <div className="space-y-4">
209
  <div className="flex items-center gap-3">
210
+ <div className="w-2 h-2 bg-blue-400 rounded-full"></div>
211
  <span className="text-gray-300">Advanced AI interview simulations</span>
212
  </div>
213
  <div className="flex items-center gap-3">
214
+ <div className="w-2 h-2 bg-blue-600 rounded-full"></div>
215
  <span className="text-gray-300">Personalized feedback and coaching</span>
216
  </div>
217
  <div className="flex items-center gap-3">
218
+ <div className="w-2 h-2 bg-blue-400 rounded-full"></div>
219
  <span className="text-gray-300">Industry-leading success rates</span>
220
  </div>
221
  </div>
222
  </div>
223
+ <div className="bg-gradient-to-br from-blue-900/50 to-gray-900/50 rounded-2xl p-8 border border-gray-200/30">
224
  <div className="space-y-6">
225
  <div className="bg-white/5 backdrop-blur-sm rounded-lg p-6">
226
+ <div className="text-3xl font-bold text-blue-400 mb-2">2020</div>
227
  <div className="text-gray-400">Founded</div>
228
  </div>
229
  <div className="bg-white/5 backdrop-blur-sm rounded-lg p-6">
230
+ <div className="text-3xl font-bold text-blue-500 mb-2">50K+</div>
231
  <div className="text-gray-400">Happy Users</div>
232
  </div>
233
  <div className="bg-white/5 backdrop-blur-sm rounded-lg p-6">
234
+ <div className="text-3xl font-bold text-blue-400 mb-2">500+</div>
235
  <div className="text-gray-400">Companies Trust Us</div>
236
  </div>
237
  </div>
 
240
  </div>
241
  </section>
242
  {/* Features Section */}
243
+ <section id="features" className="py-20 px-4 sm:px-6 lg:px-8 bg-black">
244
  <div className="max-w-7xl mx-auto">
245
  <div className="text-center mb-16">
246
  <h2 className="text-4xl sm:text-5xl font-bold mb-4">
 
254
  {features.map((feature: Feature, index: number) => (
255
  <div
256
  key={index}
257
+ className="bg-gradient-to-br from-blue-900/50 to-gray-900/50 backdrop-blur-sm rounded-xl p-8 border border-blue-500/20 hover:border-gray-500/50 transition-all duration-300 hover:transform hover:scale-105"
258
  >
259
+ <div className="bg-gradient-to-br from-blue-500 to-gray-400 w-16 h-16 rounded-lg flex items-center justify-center mb-4 shadow-lg shadow-blue-500/50">
260
  {feature.icon}
261
  </div>
262
  <h3 className="text-xl font-bold mb-3">{feature.title}</h3>
 
267
  </div>
268
  </section>
269
  {/* How It Works */}
270
+ <section id="how-it-works" className="py-20 px-4 sm:px-6 lg:px-8 bg-black/40">
271
  <div className="max-w-7xl mx-auto">
272
  <div className="text-center mb-16">
273
  <h2 className="text-4xl sm:text-5xl font-bold mb-4">
 
280
  <div className="grid grid-cols-1 md:grid-cols-3 gap-8">
281
  {steps.map((item: Step, index: number) => (
282
  <div key={index} className="relative text-center">
283
+ <div className="text-7xl font-bold text-blue-500/20 mb-4">{item.step}</div>
284
  <h3 className="text-2xl font-bold mb-3">{item.title}</h3>
285
  <p className="text-gray-400">{item.desc}</p>
286
  {index < 2 && (
287
+ <ChevronRight className="hidden md:block absolute top-12 -right-12 w-8 h-8 text-blue-500/50" />
288
  )}
289
  </div>
290
  ))}
 
292
  </div>
293
  </section>
294
  {/* CTA Section */}
295
+ <section className="py-20 px-4 sm:px-6 lg:px-8 bg-gradient-to-r from-gray-900/50 to-blue-700/50">
296
  <div className="max-w-4xl mx-auto text-center">
297
  <h2 className="text-4xl sm:text-5xl font-bold mb-6">
298
  Ready to Ace Your Interview?
 
300
  <p className="text-xl text-gray-300 mb-10">
301
  Join thousands of successful candidates who prepared with InterviewAI
302
  </p>
303
+ <button className="px-10 py-5 rounded-lg bg-gradient-to-r from-blue-400 to-blue-700 hover:from-blue-600 hover:to-blue-900 transition shadow-lg shadow-blue-500/50 text-lg font-semibold">
304
  Start Your Free Trial Today
305
  </button>
306
  </div>
307
  </section>
308
  {/* Footer */}
309
+ <footer className="py-12 px-4 sm:px-6 lg:px-8 bg-black">
310
  <div className="max-w-7xl mx-auto text-center text-gray-400">
311
  <div className="flex items-center justify-center space-x-2 mb-4">
312
+ <Sparkles className="w-6 h-6 text-blue-400" />
313
  <span className="text-xl font-bold text-white">InterviewAI</span>
314
  </div>
315
  <p>&copy; 2025 InterviewAI. All rights reserved.</p>