-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjobs.html
624 lines (600 loc) · 38.1 KB
/
jobs.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jobs - Upwork</title>
<script src="https://cdn.tailwindcss.com"></script>
<link data-n-head="ssr" type="font/woff2" rel="preload" href="https://www.upwork.com/static/fonts-global/4.5.1/neue-montreal-variable.woff2" as="font" crossorigin="anonymous">
<script type="module">
import FilterDrawer from './filterDrawer.js';
import Navigation from "./navigation.js";
// Optional: Custom filter application function
const applyContractFilters = (filters) => {
console.log('Applying contract filters:', filters);
// Example: Filter contract cards based on status
const contractCards = document.querySelectorAll('.contract-card');
contractCards.forEach(card => {
const status = card.getAttribute('data-status');
const isStatusMatch = filters.status.length === 0 || filters.status.includes(status);
// Additional filter conditions
const rate = parseFloat(card.getAttribute('data-rate') || '0');
const isRateMatch =
(!filters.rateRange.min || rate >= parseFloat(filters.rateRange.min || '0')) &&
(!filters.rateRange.max || rate <= parseFloat(filters.rateRange.max || '1000000'));
// Show/hide card based on filters
card.style.display = (isStatusMatch && isRateMatch) ? 'block' : 'none';
});
};
// Initialize FilterDrawer with custom configuration
document.addEventListener('DOMContentLoaded', () => {
const contractFilterDrawer = FilterDrawer.create({
onApply: applyContractFilters,
drawerSelector: '#filter-drawer',
buttonSelector: '#filter-button',
applyButtonSelector: '#apply-filters-btn'
});
});
const nav = new Navigation
nav.setupEventListeners();
</script>
<style>
.job-row {
cursor: pointer;
transition: background-color 0.2s ease;
}
.job-row:hover {
background-color: rgba(0,0,0,0.05);
}
</style>
</head>
<body class="bg-white-100">
<!-- Top Menu Bar -->
<header class="bg-white sticky top-0 z-10 shadow-sm">
<div class="container mx-auto px-4 py-3 flex items-center justify-between">
<div class="flex items-center">
<!-- Mobile Menu Icon -->
<button class="md:hidden p-2 text-gray-600 focus:outline-none" aria-label="Open Menu" onclick="toggleMenu()">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" class="h-6 w-6">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16m-7 6h7" />
</svg>
</button>
<!-- Logo -->
<div class="text-xl font-bold text-gray-700"><a href="./index.html">RemoteHQ</a></div>
<!-- Menu Options (Desktop) -->
<nav class="hidden md:flex space-x-4 ml-6">
<a href="./talent.html" class="text-gray-600 hover:text-gray-800 focus:outline focus:outline-gray-300">Find Talent</a>
<a href="./jobs.html" class="text-gray-600 hover:text-gray-800 focus:outline focus:outline-gray-300">Jobs</a>
<a href="./contract.html" class="text-gray-600 hover:text-gray-800 focus:outline focus:outline-gray-300">Contracts</a>
</nav>
</div>
<!-- Notifications and Account Info -->
<div class="flex items-center space-x-4">
<!--Ai assistant chat-->
<div class="relative">
<button class="p-2 rounded-full focus:outline focus:outline-gray-400" aria-label="Notifications" title="conversations">
<a href="./ai_chat.html" class="relative">
<svg class="w-6 h-6 text-gray-600" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8-1.174 0-2.3-.183-3.358-.524L3 20l1.424-4.272C3.526 14.335 3 12.73 3 11c0-4.418 4.03-8 9-8s9 3.582 9 8z"/>
</svg>
<span class="absolute -top-1 -right-1 bg-red-500 text-white text-xs rounded-full h-4 w-4 flex items-center justify-center">3</span>
</a>
</button>
</div>
<!-- Notifications -->
<div class="relative" id="notifications-icon">
<button class="p-2 rounded-full focus:outline focus:outline-gray-400" aria-label="Notifications" title="Notifications" onclick="togglePopup('notifications')">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" class="h-6 w-6 text-gray-600">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V4a2 2 0 10-4 0v1.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0a3 3 0 11-6 0m6 0H9" />
</svg>
</button>
<div id="popup-notifications" class="hidden absolute right-0 mt-2 w-48 bg-white border rounded shadow-lg p-4">
<p class="text-sm text-gray-600">No new notifications.</p>
</div>
</div>
<!-- Account Info -->
<div class="relative" id="account-info-icon">
<button class="p-2 rounded-full focus:outline focus:outline-gray-400" aria-label="Account Info" title="Account Info" onclick="togglePopup('account-info')">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" class="h-6 w-6 text-gray-600">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-3.31 0-10 1.67-10 5v2h20v-2c0-3.33-6.69-5-10-5z" />
</svg>
</button>
<div id="popup-account-info" class="hidden absolute right-0 mt-2 w-48 bg-white border rounded shadow-lg p-4">
<p class="text-sm text-gray-600">Logged in as John Doe.</p>
<a href="#" class="text-blue-500 hover:underline text-sm">Profile</a>
<br>
<a href="#" class="text-blue-500 hover:underline text-sm">Logout</a>
</div>
</div>
</div>
</div>
<!-- Mobile Menu -->
<nav id="mobile-menu" class="hidden md:hidden bg-gray-100 py-2">
<a href="./talent.html" class="block px-4 py-2 text-gray-600 hover:bg-gray-200">Find Talent</a>
<a href="#" class="block px-4 py-2 text-gray-600 hover:bg-gray-200">Jobs</a>
<a href="#" class="block px-4 py-2 text-gray-600 hover:bg-gray-200">Contracts</a>
</nav>
</header>
<!-- Main Content -->
<div class="container mx-auto px-4 py-6">
<!-- Jobs Section -->
<div class="max-w-6xl mx-auto">
<!-- Header Section -->
<div class="flex justify-between items-center mb-6">
<h1 class="text-2xl font-bold">Jobs</h1>
<button class="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600 transition">
Find Jobs
</button>
</div>
<!-- Search and Filter Section -->
<div class="mb-6 flex space-x-4">
<div class="flex-grow relative">
<input
type="text"
placeholder="Search jobs"
class="w-full border border-gray-300 rounded-md pl-10 pr-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500"
>
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 absolute left-3 top-3 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
</svg>
</div>
<button
id="filter-button"
class="text-gray-600 hover:bg-gray-100 p-2 rounded flex-shrink-0"
>
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z" />
</svg>
</button>
</div>
<!-- Jobs List -->
<div class="bg-white shadow rounded-lg overflow-x-auto">
<table class="w-full">
<thead class="bg-gray-50 border-b">
<tr>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Job Title</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Connects</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Skills</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Budget</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"></th>
</tr>
</thead>
<tbody>
<!-- Job Row 1 -->
<tr class="job-row hover:bg-gray-50 transition">
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm font-medium text-gray-900">Frontend React Developer</div>
<div class="text-sm text-gray-500">Posted 2 days ago</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">
6 Connects
</span>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-500">React, JavaScript, HTML, CSS</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-900">$500-$1000</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right relative">
<div class="group inline-block relative">
<button class="text-gray-400 hover:text-gray-600 focus:outline-none">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<path d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" />
</svg>
</button>
<!-- Dropdown Menu -->
<div class="hidden group-hover:block absolute right-0 top-full mt-1 w-48 bg-white rounded-md shadow-lg z-50 border border-gray-100">
<div class="py-1">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
View Job Details
</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
Save Job
</a>
<a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-50 hover:text-red-800">
Report Job
</a>
</div>
</div>
</div>
</td>
</tr>
<!-- More job rows can be added similarly -->
<tr class="job-row hover:bg-gray-50 transition">
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm font-medium text-gray-900">Backend Node.js Developer</div>
<div class="text-sm text-gray-500">Posted 1 day ago</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">
4 Connects
</span>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-500">Node.js, Express, MongoDB, GraphQL</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-900">$800-$1500</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right relative">
<div class="group inline-block relative">
<button class="text-gray-400 hover:text-gray-600 focus:outline-none">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<path d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" />
</svg>
</button>
<!-- Dropdown Menu -->
<div class="hidden group-hover:block absolute right-0 top-full mt-1 w-48 bg-white rounded-md shadow-lg z-50 border border-gray-100">
<div class="py-1">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
View Job Details
</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
Save Job
</a>
<a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-50 hover:text-red-800">
Report Job
</a>
</div>
</div>
</div>
</td>
</tr>
<tr class="job-row hover:bg-gray-50 transition">
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm font-medium text-gray-900">Full Stack Python Developer</div>
<div class="text-sm text-gray-500">Posted 3 days ago</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">
5 Connects
</span>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-500">Python, Django, React, PostgreSQL</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-900">$1000-$2000</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right relative">
<div class="group inline-block relative">
<button class="text-gray-400 hover:text-gray-600 focus:outline-none">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<path d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" />
</svg>
</button>
<!-- Dropdown Menu -->
<div class="hidden group-hover:block absolute right-0 top-full mt-1 w-48 bg-white rounded-md shadow-lg z-50 border border-gray-100">
<div class="py-1">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
View Job Details
</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
Save Job
</a>
<a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-50 hover:text-red-800">
Report Job
</a>
</div>
</div>
</div>
</td>
</tr>
<tr class="job-row hover:bg-gray-50 transition">
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm font-medium text-gray-900">Mobile App iOS Developer</div>
<div class="text-sm text-gray-500">Posted 5 days ago</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">
7 Connects
</span>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-500">Swift, iOS, UIKit, CoreData</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-900">$1200-$2500</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right relative">
<div class="group inline-block relative">
<button class="text-gray-400 hover:text-gray-600 focus:outline-none">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<path d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" />
</svg>
</button>
<!-- Dropdown Menu -->
<div class="hidden group-hover:block absolute right-0 top-full mt-1 w-48 bg-white rounded-md shadow-lg z-50 border border-gray-100">
<div class="py-1">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
View Job Details
</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
Save Job
</a>
<a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-50 hover:text-red-800">
Report Job
</a>
</div>
</div>
</div>
</td>
</tr>
<tr class="job-row hover:bg-gray-50 transition">
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm font-medium text-gray-900">UI/UX Designer</div>
<div class="text-sm text-gray-500">Posted 1 week ago</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">
3 Connects
</span>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-500">Figma, Sketch, Adobe XD, Wireframing</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-900">$500-$1200</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right relative">
<div class="group inline-block relative">
<button class="text-gray-400 hover:text-gray-600 focus:outline-none">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<path d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" />
</svg>
</button>
<!-- Dropdown Menu -->
<div class="hidden group-hover:block absolute right-0 top-full mt-1 w-48 bg-white rounded-md shadow-lg z-50 border border-gray-100">
<div class="py-1">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
View Job Details
</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
Save Job
</a>
<a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-50 hover:text-red-800">
Report Job
</a>
</div>
</div>
</div>
</td>
</tr>
<tr class="job-row hover:bg-gray-50 transition">
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm font-medium text-gray-900">DevOps Engineer</div>
<div class="text-sm text-gray-500">Posted 4 days ago</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">
6 Connects
</span>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-500">AWS, Docker, Kubernetes, CI/CD</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-900">$1500-$3000</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right relative">
<div class="group inline-block relative">
<button class="text-gray-400 hover:text-gray-600 focus:outline-none">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<path d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" />
</svg>
</button>
<!-- Dropdown Menu -->
<div class="hidden group-hover:block absolute right-0 top-full mt-1 w-48 bg-white rounded-md shadow-lg z-50 border border-gray-100">
<div class="py-1">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
View Job Details
</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
Save Job
</a>
<a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-50 hover:text-red-800">
Report Job
</a>
</div>
</div>
</div>
</td>
</tr>
<tr class="job-row hover:bg-gray-50 transition">
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm font-medium text-gray-900">Machine Learning Engineer</div>
<div class="text-sm text-gray-500">Posted 6 days ago</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">
8 Connects
</span>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-500">Python, TensorFlow, Scikit-learn, Deep Learning</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<a href="./ats.html" class="block">
<div class="text-sm text-gray-900">$2000-$4000</div>
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right relative">
<div class="group inline-block relative">
<button class="text-gray-400 hover:text-gray-600 focus:outline-none">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<path d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" />
</svg>
</button>
<!-- Dropdown Menu -->
<div class="hidden group-hover:block absolute right-0 top-full mt-1 w-48 bg-white rounded-md shadow-lg z-50 border border-gray-100">
<div class="py-1">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
View Job Details
</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-gray-900">
Save Job
</a>
<a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-50 hover:text-red-800">
Report Job
</a>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div
id="filter-drawer"
class="hidden fixed inset-0 bg-black bg-opacity-50 z-50 flex justify-end"
>
<div class="w-full md:w-96 bg-white h-full shadow-lg p-6 overflow-y-auto">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-bold">Filter Jobs</h2>
<button
id="apply-filters-btn"
class="text-gray-600 hover:bg-gray-100 p-2 rounded"
>
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
</svg>
</button>
</div>
<!-- Filter Options -->
<div class="space-y-4">
<!-- Contract Status -->
<div>
<h3 class="text-md font-semibold mb-2">Job Status</h3>
<div class="space-y-2">
<label class="flex items-center">
<input
type="checkbox"
class="form-checkbox h-4 w-4 text-blue-600 mr-2"
>
<span>Active</span>
</label>
<label class="flex items-center">
<input
type="checkbox"
class="form-checkbox h-4 w-4 text-blue-600 mr-2"
>
<span>Pending</span>
</label>
<label class="flex items-center">
<input
type="checkbox"
class="form-checkbox h-4 w-4 text-blue-600 mr-2"
>
<span>Completed</span>
</label>
</div>
</div>
<!-- Date Range -->
<div>
<h3 class="text-md font-semibold mb-2">Date Range</h3>
<div class="space-y-2">
<div>
<label class="block text-sm mb-1">Start Date</label>
<input
type="date"
class="w-full border border-gray-300 rounded-md px-3 py-2"
>
</div>
<div>
<label class="block text-sm mb-1">End Date</label>
<input
type="date"
class="w-full border border-gray-300 rounded-md px-3 py-2"
>
</div>
</div>
</div>
<!-- Rate Range -->
<div>
<h3 class="text-md font-semibold mb-2">Budget Range</h3>
<div class="flex space-x-2">
<input
type="number"
placeholder="Min"
class="w-full border border-gray-300 rounded-md px-3 py-2"
>
<input
type="number"
placeholder="Max"
class="w-full border border-gray-300 rounded-md px-3 py-2"
>
</div>
</div>
<!-- Apply Filters Button -->
<div class="mt-6">
<button
id="apply-filters-btn"
class="w-full bg-blue-500 text-white py-2 rounded hover:bg-blue-600 transition"
>
Apply Filters
</button>
</div>
</div>
</div>
</div>
</body>
</html>