Qweli commited on
Commit
d33bf6a
·
verified ·
1 Parent(s): 6206393

What other extra features or enhancements can you add to this app? - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +848 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Test
3
- emoji: 📈
4
  colorFrom: red
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: test
3
+ emoji: 🐳
4
  colorFrom: red
5
+ colorTo: yellow
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,848 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>AI Job Apply | Automated Job Application Assistant</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <script src="https://unpkg.com/htmx.org@1.9.6"></script>
10
+ <style>
11
+ .gradient-bg {
12
+ background: linear-gradient(135deg, #6B73FF 0%, #000DFF 100%);
13
+ }
14
+ .gradient-text {
15
+ background: linear-gradient(135deg, #6B73FF 0%, #000DFF 100%);
16
+ -webkit-background-clip: text;
17
+ background-clip: text;
18
+ color: transparent;
19
+ }
20
+ .card-hover:hover {
21
+ transform: translateY(-5px);
22
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
23
+ }
24
+ .loader {
25
+ border-top-color: #3498db;
26
+ -webkit-animation: spinner 1.5s linear infinite;
27
+ animation: spinner 1.5s linear infinite;
28
+ }
29
+ @-webkit-keyframes spinner {
30
+ 0% { -webkit-transform: rotate(0deg); }
31
+ 100% { -webkit-transform: rotate(360deg); }
32
+ }
33
+ @keyframes spinner {
34
+ 0% { transform: rotate(0deg); }
35
+ 100% { transform: rotate(360deg); }
36
+ }
37
+ </style>
38
+ </head>
39
+ <body class="bg-gray-50 font-sans antialiased">
40
+ <!-- Navigation -->
41
+ <nav class="bg-white shadow-sm">
42
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
43
+ <div class="flex justify-between h-16">
44
+ <div class="flex">
45
+ <div class="flex-shrink-0 flex items-center">
46
+ <div class="text-lg font-bold gradient-text">AIApply</div>
47
+ </div>
48
+ </div>
49
+ <div class="hidden sm:ml-6 sm:flex sm:items-center space-x-8">
50
+ <a href="#" class="text-gray-700 hover:text-blue-600 px-3 py-2 text-sm font-medium">Features</a>
51
+ <a href="#" class="text-gray-700 hover:text-blue-600 px-3 py-2 text-sm font-medium">Pricing</a>
52
+ <a href="#" class="text-gray-700 hover:text-blue-600 px-3 py-2 text-sm font-medium">How it Works</a>
53
+ <a href="#" class="text-gray-700 hover:text-blue-600 px-3 py-2 text-sm font-medium">Testimonials</a>
54
+ </div>
55
+ <div class="hidden sm:ml-6 sm:flex sm:items-center">
56
+ <button class="px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white gradient-bg hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
57
+ Get Started
58
+ </button>
59
+ </div>
60
+ <div class="-mr-2 flex items-center sm:hidden">
61
+ <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500" aria-controls="mobile-menu" aria-expanded="false" id="mobile-menu-button">
62
+ <span class="sr-only">Open main menu</span>
63
+ <i class="fas fa-bars"></i>
64
+ </button>
65
+ </div>
66
+ </div>
67
+ </div>
68
+
69
+ <div class="sm:hidden hidden" id="mobile-menu">
70
+ <div class="pt-2 pb-3 space-y-1">
71
+ <a href="#" class="text-gray-700 hover:text-blue-600 block px-3 py-2 text-base font-medium">Features</a>
72
+ <a href="#" class="text-gray-700 hover:text-blue-600 block px-3 py-2 text-base font-medium">Pricing</a>
73
+ <a href="#" class="text-gray-700 hover:text-blue-600 block px-3 py-2 text-base font-medium">How it Works</a>
74
+ <a href="#" class="text-gray-700 hover:text-blue-600 block px-3 py-2 text-base font-medium">Testimonials</a>
75
+ <button class="w-full px-4 py-2 border border-transparent text-base font-medium rounded-md text-white gradient-bg hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
76
+ Get Started
77
+ </button>
78
+ </div>
79
+ </div>
80
+ </nav>
81
+
82
+ <!-- Hero Section -->
83
+ <div class="gradient-bg text-white">
84
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16 md:py-24">
85
+ <div class="md:flex md:items-center md:justify-between">
86
+ <div class="md:w-1/2">
87
+ <h1 class="text-4xl md:text-5xl font-bold leading-tight">Automate Your Job Search</h1>
88
+ <p class="mt-4 text-xl md:text-2xl text-blue-100">
89
+ Let AI apply to hundreds of jobs for you in minutes, not hours.
90
+ </p>
91
+ <div class="mt-8 flex flex-col sm:flex-row gap-4">
92
+ <button class="px-8 py-3 bg-white text-blue-600 font-bold rounded-lg hover:bg-gray-100 transition duration-300">
93
+ Start Free Trial
94
+ </button>
95
+ <button class="px-8 py-3 border border-white text-white font-bold rounded-lg hover:bg-blue-700 transition duration-300">
96
+ How It Works
97
+ </button>
98
+ </div>
99
+ </div>
100
+ <div class="md:w-1/2 mt-10 md:mt-0">
101
+ <img src="https://aiapply.co/assets/images/hero.png" alt="AI Apply Dashboard" class="rounded-xl shadow-2xl">
102
+ </div>
103
+ </div>
104
+ </div>
105
+ </div>
106
+
107
+ <!-- How It Works Section -->
108
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
109
+ <div class="text-center mb-12">
110
+ <h2 class="text-3xl font-bold text-gray-900">How AIApply Works</h2>
111
+ <p class="mt-4 max-w-2xl mx-auto text-gray-600">
112
+ Our AI-powered platform scans job boards, identifies matching positions, and applies on your behalf with personalized applications.
113
+ </p>
114
+ </div>
115
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
116
+ <div class="bg-white p-6 rounded-xl shadow-md card-hover transition duration-300">
117
+ <div class="w-14 h-14 gradient-bg text-white flex items-center justify-center rounded-full mb-4">
118
+ <i class="fas fa-user text-2xl"></i>
119
+ </div>
120
+ <h3 class="text-xl font-bold text-gray-900 mb-2">1. Create Your Profile</h3>
121
+ <p class="text-gray-600">Upload your resume and LinkedIn profile. Tell us your job preferences and career goals.</p>
122
+ </div>
123
+ <div class="bg-white p-6 rounded-xl shadow-md card-hover transition duration-300">
124
+ <div class="w-14 h-14 gradient-bg text-white flex items-center justify-center rounded-full mb-4">
125
+ <i class="fas fa-robot text-2xl"></i>
126
+ </div>
127
+ <h3 class="text-xl font-bold text-gray-900 mb-2">2. AI Scans Jobs</h3>
128
+ <p class="text-gray-600">Our AI searches through thousands of job listings across multiple platforms to find perfect matches.</p>
129
+ </div>
130
+ <div class="bg-white p-6 rounded-xl shadow-md card-hover transition duration-300">
131
+ <div class="w-14 h-14 gradient-bg text-white flex items-center justify-center rounded-full mb-4">
132
+ <i class="fas fa-paper-plane text-2xl"></i>
133
+ </div>
134
+ <h3 class="text-xl font-bold text-gray-900 mb-2">3. Automated Applications</h3>
135
+ <p class="text-gray-600">AI crafts personalized applications tailored to each job and submits them automatically.</p>
136
+ </div>
137
+ </div>
138
+ </div>
139
+
140
+ <!-- Dashboard Preview -->
141
+ <div class="bg-gray-50 py-16">
142
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
143
+ <div class="md:flex md:items-center md:justify-between">
144
+ <div class="md:w-1/2 mb-10 md:mb-0">
145
+ <h2 class="text-3xl font-bold text-gray-900 mb-4">Powerful Dashboard</h2>
146
+ <p class="text-gray-600 mb-6">
147
+ Track all your applications in one place. See which companies have viewed your profile and get notified when you're invited for interviews.
148
+ </p>
149
+ <ul class="space-y-4">
150
+ <li class="flex items-start">
151
+ <div class="flex-shrink-0 mt-1">
152
+ <i class="fas fa-check-circle text-green-500"></i>
153
+ </div>
154
+ <p class="ml-3 text-gray-600">Real-time application tracking</p>
155
+ </li>
156
+ <li class="flex items-start">
157
+ <div class="flex-shrink-0 mt-1">
158
+ <i class="fas fa-check-circle text-green-500"></i>
159
+ </div>
160
+ <p class="ml-3 text-gray-600">Performance analytics</p>
161
+ </li>
162
+ <li class="flex items-start">
163
+ <div class="flex-shrink-0 mt-1">
164
+ <i class="fas fa-check-circle text-green-500"></i>
165
+ </div>
166
+ <p class="ml-3 text-gray-600">Interview scheduling</p>
167
+ </li>
168
+ </ul>
169
+ </div>
170
+ <div class="md:w-1/2 md:pl-10">
171
+ <div class="bg-white p-4 rounded-xl shadow-lg">
172
+ <div class="flex justify-between items-center mb-4">
173
+ <div class="font-bold">Job Applications</div>
174
+ <div class="text-sm text-gray-500">Last 7 days</div>
175
+ </div>
176
+ <div class="space-y-3">
177
+ <div class="flex justify-between items-center p-3 bg-blue-50 rounded-lg">
178
+ <div>
179
+ <div class="font-medium">Software Engineer</div>
180
+ <div class="text-sm text-gray-500">Google • Applied 2 hours ago</div>
181
+ </div>
182
+ <span class="px-2 py-1 text-sm bg-blue-100 text-blue-800 rounded">Viewed</span>
183
+ </div>
184
+ <div class="flex justify-between items-center p-3 rounded-lg">
185
+ <div>
186
+ <div class="font-medium">Product Manager</div>
187
+ <div class="text-sm text-gray-500">Facebook • Applied yesterday</div>
188
+ </div>
189
+ <span class="px-2 py-1 text-sm bg-gray-100 text-gray-800 rounded">Pending</span>
190
+ </div>
191
+ <div class="flex justify-between items-center p-3 rounded-lg">
192
+ <div>
193
+ <div class="font-medium">Data Scientist</div>
194
+ <div class="text-sm text-gray-500">Amazon • Applied 3 days ago</div>
195
+ </div>
196
+ <span class="px-2 py-1 text-sm bg-green-100 text-green-800 rounded">Interview</span>
197
+ </div>
198
+ </div>
199
+ <div class="mt-6 bg-gray-50 p-4 rounded-lg">
200
+ <div class="flex justify-between mb-2">
201
+ <span class="text-sm font-medium">Weekly Applications</span>
202
+ <span class="text-sm text-gray-500">15 applications</span>
203
+ </div>
204
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
205
+ <div class="gradient-bg h-2.5 rounded-full" style="width: 75%"></div>
206
+ </div>
207
+ <div class="mt-4 text-sm text-gray-600">
208
+ <i class="fas fa-info-circle mr-1"></i> Estimated response time: 2-5 days
209
+ </div>
210
+ </div>
211
+ </div>
212
+ </div>
213
+ </div>
214
+ </div>
215
+ </div>
216
+
217
+ <!-- Features Section -->
218
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
219
+ <div class="text-center mb-12">
220
+ <h2 class="text-3xl font-bold text-gray-900">Advanced Features</h2>
221
+ <p class="mt-4 max-w-2xl mx-auto text-gray-600">
222
+ Everything you need to optimize your job search and land interviews faster.
223
+ </p>
224
+ </div>
225
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
226
+ <div class="bg-white p-8 rounded-xl shadow-md card-hover transition duration-300">
227
+ <div class="gradient-text text-4xl mb-4">
228
+ <i class="fas fa-magic"></i>
229
+ </div>
230
+ <h3 class="text-xl font-bold text-gray-900 mb-2">Smart Resume Tailoring</h3>
231
+ <p class="text-gray-600 mb-4">Our AI automatically adjusts your resume keywords to match each job description, maximizing your chances of passing ATS filters.</p>
232
+ <button class="gradient-text font-medium">Learn more →</button>
233
+ </div>
234
+ <div class="bg-white p-8 rounded-xl shadow-md card-hover transition duration-300">
235
+ <div class="gradient-text text-4xl mb-4">
236
+ <i class="fas fa-envelope-open-text"></i>
237
+ </div>
238
+ <h3 class="text-xl font-bold text-gray-900 mb-2">Personalized Cover Letters</h3>
239
+ <p class="text-gray-600 mb-4">AI generates unique, compelling cover letters that speak directly to each hiring manager and position requirements.</p>
240
+ <button class="gradient-text font-medium">Learn more →</button>
241
+ </div>
242
+ <div class="bg-white p-8 rounded-xl shadow-md card-hover transition duration-300">
243
+ <div class="gradient-text text-4xl mb-4">
244
+ <i class="fas fa-search-dollar"></i>
245
+ </div>
246
+ <h3 class="text-xl font-bold text-gray-900 mb-2">Salary Negotiation Prep</h3>
247
+ <p class="text-gray-600 mb-4">Get customized negotiation strategies based on market data for your role, location, and experience level.</p>
248
+ <button class="gradient-text font-medium">Learn more →</button>
249
+ </div>
250
+ <div class="bg-white p-8 rounded-xl shadow-md card-hover transition duration-300">
251
+ <div class="gradient-text text-4xl mb-4">
252
+ <i class="fas fa-headset"></i>
253
+ </div>
254
+ <h3 class="text-xl font-bold text-gray-900 mb-2">Interview Simulation</h3>
255
+ <p class="text-gray-600 mb-4">Practice with our AI interviewer that asks realistic questions and provides feedback on your answers.</p>
256
+ <button class="gradient-text font-medium">Learn more →</button>
257
+ </div>
258
+ </div>
259
+ </div>
260
+
261
+ <!-- Testimonials -->
262
+ <div class="bg-gray-50 py-16">
263
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
264
+ <div class="text-center mb-12">
265
+ <h2 class="text-3xl font-bold text-gray-900">Trusted by Thousands</h2>
266
+ <p class="mt-4 max-w-2xl mx-auto text-gray-600">
267
+ Join professionals who've accelerated their job search with AIApply.
268
+ </p>
269
+ </div>
270
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
271
+ <div class="bg-white p-6 rounded-xl shadow-sm">
272
+ <div class="flex items-center mb-4">
273
+ <div class="w-12 h-12 rounded-full gradient-bg flex items-center justify-center text-white text-xl font-bold">JM</div>
274
+ <div class="ml-4">
275
+ <div class="font-bold">Jessica M.</div>
276
+ <div class="text-sm text-gray-500">Software Engineer</div>
277
+ </div>
278
+ </div>
279
+ <p class="text-gray-600 mb-4">
280
+ "Using AIApply I got 5 interviews in my first week. I spent hours crafting applications before with no responses. Now I just let the AI handle it."
281
+ </p>
282
+ <div class="flex text-yellow-400">
283
+ <i class="fas fa-star"></i>
284
+ <i class="fas fa-star"></i>
285
+ <i class="fas fa-star"></i>
286
+ <i class="fas fa-star"></i>
287
+ <i class="fas fa-star"></i>
288
+ </div>
289
+ </div>
290
+ <div class="bg-white p-6 rounded-xl shadow-sm">
291
+ <div class="flex items-center mb-4">
292
+ <div class="w-12 h-12 rounded-full gradient-bg flex items-center justify-center text-white text-xl font-bold">RS</div>
293
+ <div class="ml-4">
294
+ <div class="font-bold">Robert S.</div>
295
+ <div class="text-sm text-gray-500">Marketing Director</div>
296
+ </div>
297
+ </div>
298
+ <p class="text-gray-600 mb-4">
299
+ "The personalized cover letters are amazing. I had recruiters comment on how well my applications matched their needs. Landed my dream job in 3 weeks!"
300
+ </p>
301
+ <div class="flex text-yellow-400">
302
+ <i class="fas fa-star"></i>
303
+ <i class="fas fa-star"></i>
304
+ <i class="fas fa-star"></i>
305
+ <i class="fas fa-star"></i>
306
+ <i class="fas fa-star"></i>
307
+ </div>
308
+ </div>
309
+ <div class="bg-white p-6 rounded-xl shadow-sm">
310
+ <div class="flex items-center mb-4">
311
+ <div class="w-12 h-12 rounded-full gradient-bg flex items-center justify-center text-white text-xl font-bold">AK</div>
312
+ <div class="ml-4">
313
+ <div class="font-bold">Amir K.</div>
314
+ <div class="text-sm text-gray-500">Data Scientist</div>
315
+ </div>
316
+ </div>
317
+ <p class="text-gray-600 mb-4">
318
+ "As someone immigrating to the US, AIApply helped me understand the job market and optimize my applications. Received multiple offers within a month."
319
+ </p>
320
+ <div class="flex text-yellow-400">
321
+ <i class="fas fa-star"></i>
322
+ <i class="fas fa-star"></i>
323
+ <i class="fas fa-star"></i>
324
+ <i class="fas fa-star"></i>
325
+ <i class="fas fa-star-half-alt"></i>
326
+ </div>
327
+ </div>
328
+ </div>
329
+ </div>
330
+ </div>
331
+
332
+ <!-- Pricing -->
333
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
334
+ <div class="text-center mb-12">
335
+ <h2 class="text-3xl font-bold text-gray-900">Simple, Transparent Pricing</h2>
336
+ <p class="mt-4 max-w-2xl mx-auto text-gray-600">
337
+ Choose the plan that fits your needs. Cancel anytime.
338
+ </p>
339
+ </div>
340
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto">
341
+ <div class="bg-white p-8 rounded-xl shadow-md border border-gray-200">
342
+ <h3 class="text-xl font-bold text-gray-900 mb-2">Basic</h3>
343
+ <div class="mb-6">
344
+ <span class="text-4xl font-bold gradient-text">$29</span>
345
+ <span class="text-gray-500">/month</span>
346
+ </div>
347
+ <ul class="space-y-4 mb-8">
348
+ <li class="flex items-start">
349
+ <div class="flex-shrink-0 mt-1">
350
+ <i class="fas fa-check text-green-500"></i>
351
+ </div>
352
+ <p class="ml-3 text-gray-600">50 applications/month</p>
353
+ </li>
354
+ <li class="flex items-start">
355
+ <div class="flex-shrink-0 mt-1">
356
+ <i class="fas fa-check text-green-500"></i>
357
+ </div>
358
+ <p class="ml-3 text-gray-600">Resume tailoring</p>
359
+ </li>
360
+ <li class="flex items-start">
361
+ <div class="flex-shrink-0 mt-1">
362
+ <i class="fas fa-check text-green-500"></i>
363
+ </div>
364
+ <p class="ml-3 text-gray-600">Basic cover letters</p>
365
+ </li>
366
+ <li class="flex items-start">
367
+ <div class="flex-shrink-0 mt-1">
368
+ <i class="fas fa-check text-green-500"></i>
369
+ </div>
370
+ <p class="ml-3 text-gray-600">Email support</p>
371
+ </li>
372
+ </ul>
373
+ <button class="w-full px-4 py-3 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
374
+ Get Started
375
+ </button>
376
+ </div>
377
+ <div class="bg-white p-8 rounded-xl shadow-lg border-2 border-blue-500 relative">
378
+ <div class="absolute top-0 right-0 bg-blue-500 text-white text-xs font-bold px-3 py-1 rounded-bl-lg rounded-tr-lg">POPULAR</div>
379
+ <h3 class="text-xl font-bold text-gray-900 mb-2">Professional</h3>
380
+ <div class="mb-6">
381
+ <span class="text-4xl font-bold gradient-text">$59</span>
382
+ <span class="text-gray-500">/month</span>
383
+ </div>
384
+ <ul class="space-y-4 mb-8">
385
+ <li class="flex items-start">
386
+ <div class="flex-shrink-0 mt-1">
387
+ <i class="fas fa-check text-green-500"></i>
388
+ </div>
389
+ <p class="ml-3 text-gray-600">200 applications/month</p>
390
+ </li>
391
+ <li class="flex items-start">
392
+ <div class="flex-shrink-0 mt-1">
393
+ <i class="fas fa-check text-green-500"></i>
394
+ </div>
395
+ <p class="ml-3 text-gray-600">AI-powered resume tailoring</p>
396
+ </li>
397
+ <li class="flex items-start">
398
+ <div class="flex-shrink-0 mt-1">
399
+ <i class="fas fa-check text-green-500"></i>
400
+ </div>
401
+ <p class="ml-3 text-gray-600">Personalized cover letters</p>
402
+ </li>
403
+ <li class="flex items-start">
404
+ <div class="flex-shrink-0 mt-1">
405
+ <i class="fas fa-check text-green-500"></i>
406
+ </div>
407
+ <p class="ml-3 text-gray-600">LinkedIn optimization</p>
408
+ </li>
409
+ <li class="flex items-start">
410
+ <div class="flex-shrink-0 mt-1">
411
+ <i class="fas fa-check text-green-500"></i>
412
+ </div>
413
+ <p class="ml-3 text-gray-600">Priority support</p>
414
+ </li>
415
+ </ul>
416
+ <button class="w-full px-4 py-3 border border-transparent text-sm font-medium rounded-md text-white gradient-bg hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
417
+ Get Started
418
+ </button>
419
+ </div>
420
+ <div class="bg-white p-8 rounded-xl shadow-md border border-gray-200">
421
+ <h3 class="text-xl font-bold text-gray-900 mb-2">Enterprise</h3>
422
+ <div class="mb-6">
423
+ <span class="text-4xl font-bold gradient-text">$99</span>
424
+ <span class="text-gray-500">/month</span>
425
+ </div>
426
+ <ul class="space-y-4 mb-8">
427
+ <li class="flex items-start">
428
+ <div class="flex-shrink-0 mt-1">
429
+ <i class="fas fa-check text-green-500"></i>
430
+ </div>
431
+ <p class="ml-3 text-gray-600">Unlimited applications</p>
432
+ </li>
433
+ <li class="flex items-start">
434
+ <div class="flex-shrink-0 mt-1">
435
+ <i class="fas fa-check text-green-500"></i>
436
+ </div>
437
+ <p class="ml-3 text-gray-600">Premium resume tailoring</p>
438
+ </li>
439
+ <li class="flex items-start">
440
+ <div class="flex-shrink-0 mt-1">
441
+ <i class="fas fa-check text-green-500"></i>
442
+ </div>
443
+ <p class="ml-3 text-gray-600">Advanced cover letters</p>
444
+ </li>
445
+ <li class="flex items-start">
446
+ <div class="flex-shrink-0 mt-1">
447
+ <i class="fas fa-check text-green-500"></i>
448
+ </div>
449
+ <p class="ml-3 text-gray-600">Interview coaching</p>
450
+ </li>
451
+ <li class="flex items-start">
452
+ <div class="flex-shrink-0 mt-1">
453
+ <i class="fas fa-check text-green-500"></i>
454
+ </div>
455
+ <p class="ml-3 text-gray-600">Dedicated account manager</p>
456
+ </li>
457
+ <li class="flex items-start">
458
+ <div class="flex-shrink-0 mt-1">
459
+ <i class="fas fa-check text-green-500"></i>
460
+ </div>
461
+ <p class="ml-3 text-gray-600">24/7 priority support</p>
462
+ </li>
463
+ </ul>
464
+ <button class="w-full px-4 py-3 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
465
+ Get Started
466
+ </button>
467
+ </div>
468
+ </div>
469
+ </div>
470
+
471
+ <!-- CTA Section -->
472
+ <div class="gradient-bg text-white">
473
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16 text-center">
474
+ <h2 class="text-3xl font-bold mb-6">Ready to Land Your Dream Job Faster?</h2>
475
+ <p class="text-xl text-blue-100 mb-8 max-w-3xl mx-auto">
476
+ Join thousands of professionals who have accelerated their job search with AIApply.
477
+ </p>
478
+ <button class="px-8 py-3 bg-white text-blue-600 font-bold rounded-lg hover:bg-gray-100 transition duration-300 mx-2 mb-4 md:mb-0">
479
+ Start Free Trial
480
+ </button>
481
+ <button class="px-8 py-3 border border-white text-white font-bold rounded-lg hover:bg-blue-700 transition duration-300 mx-2">
482
+ Schedule Demo
483
+ </button>
484
+ </div>
485
+ </div>
486
+
487
+ <!-- FAQ Section -->
488
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
489
+ <div class="text-center mb-12">
490
+ <h2 class="text-3xl font-bold text-gray-900">Frequently Asked Questions</h2>
491
+ </div>
492
+ <div class="max-w-3xl mx-auto divide-y divide-gray-200">
493
+ <div class="py-6">
494
+ <h3 class="text-lg font-medium text-gray-900 mb-2">How does AIApply handle job applications?</h3>
495
+ <p class="text-gray-600">
496
+ Our AI analyzes job descriptions to understand requirements, then tailors your resume and generates personalized cover letters that highlight your most relevant skills and experiences for each position.
497
+ </p>
498
+ </div>
499
+ <div class="py-6">
500
+ <h3 class="text-lg font-medium text-gray-900 mb-2">Which job boards does AIApply support?</h3>
501
+ <p class="text-gray-600">
502
+ We currently integrate with LinkedIn, Indeed, Glassdoor, BuiltIn, AngelList, and company career pages. We're constantly adding new platforms based on user demand.
503
+ </p>
504
+ </div>
505
+ <div class="py-6">
506
+ <h3 class="text-lg font-medium text-gray-900 mb-2">Is there a free trial available?</h3>
507
+ <p class="text-gray-600">
508
+ Yes! We offer a 7-day free trial with full access to all Professional plan features. No credit card required to start.
509
+ </p>
510
+ </div>
511
+ <div class="py-6">
512
+ <h3 class="text-lg font-medium text-gray-900 mb-2">How secure is my data?</h3>
513
+ <p class="text-gray-600">
514
+ We use bank-grade encryption and follow strict data protection protocols. Your information is never shared with third parties without your consent.
515
+ </p>
516
+ </div>
517
+ <div class="py-6">
518
+ <h3 class="text-lg font-medium text-gray-900 mb-2">Can I review applications before they're sent?</h3>
519
+ <p class="text-gray-600">
520
+ Absolutely. Our Auto-Send feature requires your approval before submitting any applications. You can also set it to send automatically once you're comfortable with the results.
521
+ </p>
522
+ </div>
523
+ </div>
524
+ </div>
525
+
526
+ <!-- Footer -->
527
+ <footer class="bg-gray-800 text-white">
528
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
529
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
530
+ <div>
531
+ <h3 class="text-lg font-semibold mb-4">AIApply</h3>
532
+ <p class="text-gray-400">
533
+ Automating your job search so you can focus on preparing for interviews and acing them.
534
+ </p>
535
+ </div>
536
+ <div>
537
+ <h3 class="text-lg font-semibold mb-4">Product</h3>
538
+ <ul class="space-y-2 text-gray-400">
539
+ <li><a href="#" class="hover:text-white">Features</a></li>
540
+ <li><a href="#" class="hover:text-white">Pricing</a></li>
541
+ <li><a href="#" class="hover:text-white">How It Works</a></li>
542
+ <li><a href="#" class="hover:text-white">Testimonials</a></li>
543
+ </ul>
544
+ </div>
545
+ <div>
546
+ <h3 class="text-lg font-semibold mb-4">Resources</h3>
547
+ <ul class="space-y-2 text-gray-400">
548
+ <li><a href="#" class="hover:text-white">Blog</a></li>
549
+ <li><a href="#" class="hover:text-white">Help Center</a></li>
550
+ <li><a href="#" class="hover:text-white">Careers</a></li>
551
+ <li><a href="#" class="hover:text-white">Press</a></li>
552
+ </ul>
553
+ </div>
554
+ <div>
555
+ <h3 class="text-lg font-semibold mb-4">Connect</h3>
556
+ <div class="flex space-x-4 mb-4">
557
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
558
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-linkedin"></i></a>
559
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook"></i></a>
560
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a>
561
+ </div>
562
+ <p class="text-gray-400">Subscribe to our newsletter</p>
563
+ <div class="mt-2 flex">
564
+ <input type="email" placeholder="Your email" class="px-3 py-2 bg-gray-700 text-white rounded-l-md focus:outline-none focus:ring-2 focus:ring-blue-500">
565
+ <button class="px-3 py-2 bg-blue-600 text-white rounded-r-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500">
566
+ <i class="fas fa-paper-plane"></i>
567
+ </button>
568
+ </div>
569
+ </div>
570
+ </div>
571
+ <div class="border-t border-gray-700 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
572
+ <p class="text-gray-400">© 2023 AIApply. All rights reserved.</p>
573
+ <div class="flex space-x-6 mt-4 md:mt-0">
574
+ <a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a>
575
+ <a href="#" class="text-gray-400 hover:text-white">Terms of Service</a>
576
+ <a href="#" class="text-gray-400 hover:text-white">Cookie Policy</a>
577
+ </div>
578
+ </div>
579
+ </div>
580
+ </footer>
581
+
582
+ <!-- Modal for Job Application Setup -->
583
+ <div id="setup-modal" class="fixed z-10 inset-0 overflow-y-auto hidden">
584
+ <div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
585
+ <div class="fixed inset-0 transition-opacity" aria-hidden="true">
586
+ <div class="absolute inset-0 bg-gray-500 opacity-75"></div>
587
+ </div>
588
+ <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
589
+ <div class="inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-3xl sm:w-full sm:p-6">
590
+ <div>
591
+ <h3 class="text-lg leading-6 font-medium text-gray-900 mb-4">Set Up Your Job Preferences</h3>
592
+ <div class="space-y-6">
593
+ <div>
594
+ <label class="block text-sm font-medium text-gray-700 mb-1">Upload Resume</label>
595
+ <div class="mt-1 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-md">
596
+ <div class="space-y-1 text-center">
597
+ <i class="fas fa-cloud-upload-alt text-gray-400 text-4xl mx-auto"></i>
598
+ <div class="flex text-sm text-gray-600">
599
+ <label class="relative cursor-pointer bg-white rounded-md font-medium text-blue-600 hover:text-blue-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-blue-500">
600
+ <span>Upload a file</span>
601
+ <input type="file" class="sr-only">
602
+ </label>
603
+ <p class="pl-1">or drag and drop</p>
604
+ </div>
605
+ <p class="text-xs text-gray-500">PDF, DOCX up to 5MB</p>
606
+ </div>
607
+ </div>
608
+ </div>
609
+ <div>
610
+ <label class="block text-sm font-medium text-gray-700 mb-1">LinkedIn Profile URL</label>
611
+ <input type="text" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="https://linkedin.com/in/yourprofile">
612
+ </div>
613
+ <div>
614
+ <label class="block text-sm font-medium text-gray-700 mb-1">Job Title</label>
615
+ <input type="text" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="e.g. Software Engineer, Product Manager">
616
+ </div>
617
+ <div>
618
+ <label class="block text-sm font-medium text-gray-700 mb-1">Location Preference</label>
619
+ <input type="text" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="e.g. Remote, New York, San Francisco">
620
+ </div>
621
+ <div>
622
+ <label class="block text-sm font-medium text-gray-700 mb-1">Salary Range (Annual)</label>
623
+ <div class="mt-1 flex space-x-4">
624
+ <select class="block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500">
625
+ <option>Minimum</option>
626
+ <option>$50,000</option>
627
+ <option>$75,000</option>
628
+ <option>$100,000</option>
629
+ <option>$125,000</option>
630
+ <option>$150,000</option>
631
+ </select>
632
+ <select class="block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500">
633
+ <option>Maximum</option>
634
+ <option>$100,000</option>
635
+ <option>$125,000</option>
636
+ <option>$150,000</option>
637
+ <option>$175,000</option>
638
+ <option>$200,000+</option>
639
+ </select>
640
+ </div>
641
+ </div>
642
+ <div>
643
+ <label class="block text-sm font-medium text-gray-700 mb-1">Application Approval Mode</label>
644
+ <div class="mt-2 flex items-center space-x-6">
645
+ <div class="flex items-center">
646
+ <input id="auto" name="approval-mode" type="radio" checked class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300">
647
+ <label for="auto" class="ml-2 block text-sm text-gray-700">Auto-send applications</label>
648
+ </div>
649
+ <div class="flex items-center">
650
+ <input id="manual" name="approval-mode" type="radio" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300">
651
+ <label for="manual" class="ml-2 block text-sm text-gray-700">Manual review required</label>
652
+ </div>
653
+ </div>
654
+ </div>
655
+ </div>
656
+ </div>
657
+ <div class="mt-5 sm:mt-6 sm:grid sm:grid-cols-2 sm:gap-3 sm:grid-flow-row-dense">
658
+ <button type="button" id="start-application" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 gradient-bg text-base font-medium text-white hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 sm:col-start-2 sm:text-sm">
659
+ Start Applying
660
+ </button>
661
+ <button type="button" id="cancel-setup" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 sm:mt-0 sm:col-start-1 sm:text-sm">
662
+ Cancel
663
+ </button>
664
+ </div>
665
+ </div>
666
+ </div>
667
+ </div>
668
+
669
+ <!-- Application Progress Modal -->
670
+ <div id="progress-modal" class="fixed z-10 inset-0 overflow-y-auto hidden">
671
+ <div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
672
+ <div class="fixed inset-0 transition-opacity" aria-hidden="true">
673
+ <div class="absolute inset-0 bg-gray-500 opacity-75"></div>
674
+ </div>
675
+ <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
676
+ <div class="inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full sm:p-6">
677
+ <div>
678
+ <div class="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-blue-100">
679
+ <i class="fas fa-cog text-blue-600 animate-spin"></i>
680
+ </div>
681
+ <div class="mt-3 text-center sm:mt-5">
682
+ <h3 class="text-lg leading-6 font-medium text-gray-900">Processing Your Applications</h3>
683
+ <div class="mt-4">
684
+ <p class="text-sm text-gray-500 mb-4">AIApply is analyzing job postings and tailoring your applications.</p>
685
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
686
+ <div class="gradient-bg h-2.5 rounded-full" style="width: 45%"></div>
687
+ </div>
688
+ <p class="text-sm text-gray-500 mt-2">15/50 applications processed</p>
689
+ <div id="completed-jobs" class="hidden">
690
+ <div class="mt-4 border-t pt-4 text-left">
691
+ <h4 class="font-medium mb-2">Completed Applications:</h4>
692
+ <ul class="list-disc list-inside text-sm space-y-1">
693
+ <li class="text-gray-600">Software Engineer - Google</li>
694
+ <li class="text-gray-600">Product Manager - Meta</li>
695
+ <li class="text-gray-600">Data Scientist - Amazon</li>
696
+ </ul>
697
+ </div>
698
+ <div class="mt-4">
699
+ <button class="w-full px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white gradient-bg hover:opacity-90">
700
+ View Dashboard
701
+ </button>
702
+ </div>
703
+ </div>
704
+ </div>
705
+ </div>
706
+ </div>
707
+ </div>
708
+ </div>
709
+ </div>
710
+
711
+ <script>
712
+ // Mobile menu toggle
713
+ document.getElementById('mobile-menu-button').addEventListener('click', function() {
714
+ const menu = document.getElementById('mobile-menu');
715
+ if (menu.classList.contains('hidden')) {
716
+ menu.classList.remove('hidden');
717
+ menu.classList.add('block');
718
+ } else {
719
+ menu.classList.remove('block');
720
+ menu.classList.add('hidden');
721
+ }
722
+ });
723
+
724
+ // Setup modal handlers
725
+ document.querySelectorAll('[data-modal="setup"]').forEach(button => {
726
+ button.addEventListener('click', function() {
727
+ document.getElementById('setup-modal').classList.remove('hidden');
728
+ });
729
+ });
730
+
731
+ document.getElementById('cancel-setup').addEventListener('click', function() {
732
+ document.getElementById('setup-modal').classList.add('hidden');
733
+ });
734
+
735
+ document.getElementById('start-application').addEventListener('click', function() {
736
+ document.getElementById('setup-modal').classList.add('hidden');
737
+ document.getElementById('progress-modal').classList.remove('hidden');
738
+
739
+ // Simulate progress
740
+ setTimeout(() => {
741
+ document.getElementById('completed-jobs').classList.remove('hidden');
742
+ }, 3000);
743
+ });
744
+
745
+ // Close modals when clicking outside
746
+ document.querySelectorAll('.fixed.inset-0').forEach(el => {
747
+ el.addEventListener('click', function(e) {
748
+ if (e.target === this) {
749
+ document.getElementById('setup-modal').classList.add('hidden');
750
+ document.getElementById('progress-modal').classList.add('hidden');
751
+ }
752
+ });
753
+ });
754
+
755
+ // CrewAI API Endpoints
756
+ const API_ENDPOINTS = {
757
+ submitProfile: '/api/submit-profile',
758
+ startApplication: '/api/start-application',
759
+ getApplications: '/api/applications',
760
+ getStatus: '/api/status'
761
+ };
762
+
763
+ // Database Models (sample structure)
764
+ const DB_SCHEMA = {
765
+ users: {
766
+ id: 'primary',
767
+ email: 'string',
768
+ resume: 'text',
769
+ preferences: 'json'
770
+ },
771
+ applications: {
772
+ id: 'primary',
773
+ user_id: 'foreign',
774
+ job_id: 'string',
775
+ status: 'string',
776
+ details: 'json'
777
+ }
778
+ };
779
+
780
+ // CrewAI Agent Configuration
781
+ document.addEventListener('DOMContentLoaded', function() {
782
+ // This would be replaced with actual HTMX functionality
783
+ console.log("CrewAI agents would be initialized here");
784
+
785
+ // Initialize CrewAI Agents
786
+ async function initializeCrewAI() {
787
+ try {
788
+ const jobScraper = new Agent({
789
+ role: "Senior Job Scraper",
790
+ goal: "Extract job postings from 50+ sources",
791
+ backstory: "Expert web scraper with NLP capabilities",
792
+ tools: [ScraperTool, FilterTool],
793
+ verbose: true
794
+ });
795
+
796
+ const resumeTailor = new Agent({
797
+ role: "Resume Optimization Expert",
798
+ goal: "Tailor resumes for each application",
799
+ backstory: "Former HR professional with ATS knowledge",
800
+ tools: [ResumeAnalyzer, KeywordOptimizer],
801
+ verbose: true
802
+ });
803
+
804
+ const crew = new Crew({
805
+ agents: [jobScraper, resumeTailor],
806
+ tasks: [
807
+ new Task({
808
+ description: "Find relevant jobs",
809
+ agent: jobScraper
810
+ }),
811
+ new Task({
812
+ description: "Optimize resume for each job",
813
+ agent: resumeTailor
814
+ })
815
+ ]
816
+ });
817
+
818
+ console.log("CrewAI initialized successfully");
819
+ return crew;
820
+ } catch (error) {
821
+ console.error("CrewAI initialization failed:", error);
822
+ }
823
+ }
824
+
825
+ // Database Functions
826
+ async function saveUserProfile(profileData) {
827
+ const response = await fetch(API_ENDPOINTS.submitProfile, {
828
+ method: 'POST',
829
+ headers: {
830
+ 'Content-Type': 'application/json'
831
+ },
832
+ body: JSON.stringify(profileData)
833
+ });
834
+ return await response.json();
835
+ }
836
+
837
+ async function getApplications(userId) {
838
+ const response = await fetch(`${API_ENDPOINTS.getApplications}?user_id=${userId}`);
839
+ return await response.json();
840
+ }
841
+
842
+ // Initialize application
843
+ const crew = await initializeCrewAI();
844
+ console.log("Application initialized with CrewAI backend");
845
+ });
846
+ </script>
847
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Qweli/test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
848
+ </html>