Spaces:
Running
Running
File size: 37,383 Bytes
6c4f990 | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SkillBridge - Connect Through Knowledge Exchange</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.gradient-bg {
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}
.skill-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.exchange-card {
border-left: 4px solid #7c3aed;
}
.drawer {
transition: transform 0.3s ease-in-out;
}
.drawer-hidden {
transform: translateX(100%);
}
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i class="fas fa-hands-helping text-indigo-600 text-2xl mr-2"></i>
<span class="text-xl font-bold text-indigo-600">SkillBridge</span>
</div>
<div class="hidden sm:ml-6 sm:flex sm:space-x-8">
<a href="#" class="border-indigo-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
Home
</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
My Network
</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
Skill Exchange
</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
Learning
</a>
</div>
</div>
<div class="hidden sm:ml-6 sm:flex sm:items-center">
<div class="relative mx-4">
<input type="text" class="border border-gray-300 rounded-full py-1 px-4 pl-10 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" placeholder="Search skills...">
<i class="fas fa-search absolute left-3 top-2 text-gray-400"></i>
</div>
<button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
<i class="fas fa-bell text-xl"></i>
</button>
<div class="ml-3 relative">
<div>
<button type="button" class="bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500" id="user-menu-button" aria-expanded="false" aria-haspopup="true">
<img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</button>
</div>
</div>
</div>
<div class="-mr-2 flex items-center sm:hidden">
<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-indigo-500" aria-controls="mobile-menu" aria-expanded="false">
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Mobile menu -->
<div class="sm:hidden" id="mobile-menu">
<div class="pt-2 pb-3 space-y-1">
<a href="#" class="bg-indigo-50 border-indigo-500 text-indigo-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Home</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">My Network</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Skill Exchange</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Learning</a>
</div>
<div class="pt-4 pb-3 border-t border-gray-200">
<div class="flex items-center px-4">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</div>
<div class="ml-3">
<div class="text-base font-medium text-gray-800">John Doe</div>
<div class="text-sm font-medium text-gray-500">john@example.com</div>
</div>
<button class="ml-auto flex-shrink-0 bg-white p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
<i class="fas fa-bell text-xl"></i>
</button>
</div>
<div class="mt-3 space-y-1">
<a href="#" class="block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100">Your Profile</a>
<a href="#" class="block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100">Settings</a>
<a href="#" class="block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100">Sign out</a>
</div>
</div>
</div>
<!-- Main Content -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
<div class="flex flex-col lg:flex-row gap-6">
<!-- Left Sidebar -->
<div class="w-full lg:w-1/4 space-y-4">
<!-- Profile Card -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="gradient-bg h-20"></div>
<div class="px-4 pb-4 relative">
<div class="-mt-8">
<img class="h-16 w-16 rounded-full border-4 border-white" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</div>
<div class="mt-2">
<h3 class="text-lg font-semibold text-gray-900">John Doe</h3>
<p class="text-sm text-gray-500">Digital Marketer & Web Developer</p>
</div>
<div class="mt-4 border-t border-gray-200 pt-4">
<div class="flex justify-between text-sm">
<div>
<p class="font-medium text-gray-900">Skill Points</p>
<p class="text-indigo-600">1,245</p>
</div>
<div>
<p class="font-medium text-gray-900">Successful Exchanges</p>
<p class="text-indigo-600">28</p>
</div>
</div>
</div>
</div>
</div>
<!-- Skills Card -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-4 py-3 border-b border-gray-200">
<h3 class="text-lg font-semibold text-gray-900">My Skills</h3>
</div>
<div class="px-4 py-4">
<div class="flex flex-wrap gap-2">
<span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm font-medium">Digital Marketing</span>
<span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm font-medium">SEO</span>
<span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm font-medium">Web Development</span>
<span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm font-medium">Graphic Design</span>
<span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm font-medium">Content Writing</span>
</div>
<button class="mt-4 w-full bg-white border border-indigo-600 text-indigo-600 hover:bg-indigo-50 px-4 py-2 rounded-md text-sm font-medium">
<i class="fas fa-plus mr-2"></i> Add Skill
</button>
</div>
</div>
<!-- Learning Goals -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-4 py-3 border-b border-gray-200">
<h3 class="text-lg font-semibold text-gray-900">Learning Goals</h3>
</div>
<div class="px-4 py-4">
<div class="space-y-3">
<div class="flex items-start">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-indigo-100 flex items-center justify-center">
<i class="fas fa-code text-indigo-600"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Advanced JavaScript</p>
<p class="text-xs text-gray-500">Looking for mentors</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-indigo-100 flex items-center justify-center">
<i class="fas fa-language text-indigo-600"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Spanish Language</p>
<p class="text-xs text-gray-500">Beginner level</p>
</div>
</div>
</div>
<button class="mt-4 w-full bg-white border border-indigo-600 text-indigo-600 hover:bg-indigo-50 px-4 py-2 rounded-md text-sm font-medium">
<i class="fas fa-plus mr-2"></i> Add Goal
</button>
</div>
</div>
</div>
<!-- Main Feed -->
<div class="w-full lg:w-2/4 space-y-4">
<!-- Create Post -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="p-4">
<div class="flex items-start">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
<div class="ml-3 flex-1">
<textarea class="w-full border-0 focus:ring-0 resize-none text-gray-700 placeholder-gray-400" rows="2" placeholder="Share what skill you're offering or seeking..."></textarea>
</div>
</div>
<div class="mt-4 flex justify-between items-center">
<div class="flex space-x-4">
<button class="flex items-center text-gray-500 hover:text-indigo-600">
<i class="fas fa-hands-helping mr-2"></i>
<span>Skill Offer</span>
</button>
<button class="flex items-center text-gray-500 hover:text-indigo-600">
<i class="fas fa-question-circle mr-2"></i>
<span>Skill Request</span>
</button>
</div>
<button class="bg-indigo-600 text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-indigo-700">
Post
</button>
</div>
</div>
</div>
<!-- Skill Exchange Posts -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="p-4 border-b border-gray-200">
<div class="flex items-center">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
<div class="ml-3">
<h4 class="text-sm font-semibold text-gray-900">Sarah Johnson</h4>
<p class="text-xs text-gray-500">2 hours ago</p>
</div>
</div>
</div>
<div class="p-4">
<p class="text-gray-700">I'm offering photography lessons in exchange for help with website design. I specialize in portrait and landscape photography and can teach both technical skills and artistic composition.</p>
<div class="mt-4 flex flex-wrap gap-2">
<span class="px-2 py-1 bg-indigo-50 text-indigo-800 rounded-full text-xs font-medium">Photography</span>
<span class="px-2 py-1 bg-indigo-50 text-indigo-800 rounded-full text-xs font-medium">Photo Editing</span>
</div>
<div class="mt-4 flex items-center text-sm text-gray-500">
<i class="fas fa-exchange-alt mr-1"></i>
<span>Looking for: Web Design</span>
</div>
</div>
<div class="px-4 py-2 border-t border-gray-200 flex justify-between">
<button class="flex items-center text-gray-500 hover:text-indigo-600">
<i class="far fa-comment mr-2"></i>
<span>12 Comments</span>
</button>
<button class="flex items-center text-gray-500 hover:text-indigo-600">
<i class="fas fa-exchange-alt mr-2"></i>
<span>Propose Exchange</span>
</button>
</div>
</div>
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="p-4 border-b border-gray-200">
<div class="flex items-center">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1519244703995-f4e0f30006d5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
<div class="ml-3">
<h4 class="text-sm font-semibold text-gray-900">Michael Chen</h4>
<p class="text-xs text-gray-500">5 hours ago</p>
</div>
</div>
</div>
<div class="p-4">
<p class="text-gray-700">Looking for someone to teach me basic Spanish conversation. I can offer coding lessons in Python or JavaScript in return. Preferably meet online via Zoom.</p>
<div class="mt-4 flex flex-wrap gap-2">
<span class="px-2 py-1 bg-indigo-50 text-indigo-800 rounded-full text-xs font-medium">Python</span>
<span class="px-2 py-1 bg-indigo-50 text-indigo-800 rounded-full text-xs font-medium">JavaScript</span>
</div>
<div class="mt-4 flex items-center text-sm text-gray-500">
<i class="fas fa-exchange-alt mr-1"></i>
<span>Looking for: Spanish Language</span>
</div>
</div>
<div class="px-4 py-2 border-t border-gray-200 flex justify-between">
<button class="flex items-center text-gray-500 hover:text-indigo-600">
<i class="far fa-comment mr-2"></i>
<span>8 Comments</span>
</button>
<button class="flex items-center text-gray-500 hover:text-indigo-600">
<i class="fas fa-exchange-alt mr-2"></i>
<span>Propose Exchange</span>
</button>
</div>
</div>
</div>
<!-- Right Sidebar -->
<div class="w-full lg:w-1/4 space-y-4">
<!-- Skill Exchange Marketplace -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-4 py-3 border-b border-gray-200">
<h3 class="text-lg font-semibold text-gray-900">Skill Marketplace</h3>
</div>
<div class="p-4">
<div class="relative">
<input type="text" class="w-full border border-gray-300 rounded-md py-2 pl-10 pr-4 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" placeholder="Search skills...">
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
</div>
<div class="mt-4 space-y-3">
<div class="flex items-center justify-between p-2 hover:bg-gray-50 rounded-md cursor-pointer">
<div class="flex items-center">
<div class="h-8 w-8 rounded-full bg-indigo-100 flex items-center justify-center">
<i class="fas fa-code text-indigo-600"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Web Development</p>
<p class="text-xs text-gray-500">32 people offering</p>
</div>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
<div class="flex items-center justify-between p-2 hover:bg-gray-50 rounded-md cursor-pointer">
<div class="flex items-center">
<div class="h-8 w-8 rounded-full bg-indigo-100 flex items-center justify-center">
<i class="fas fa-paint-brush text-indigo-600"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Graphic Design</p>
<p class="text-xs text-gray-500">18 people offering</p>
</div>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
<div class="flex items-center justify-between p-2 hover:bg-gray-50 rounded-md cursor-pointer">
<div class="flex items-center">
<div class="h-8 w-8 rounded-full bg-indigo-100 flex items-center justify-center">
<i class="fas fa-language text-indigo-600"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Language Tutoring</p>
<p class="text-xs text-gray-500">45 people offering</p>
</div>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
<div class="flex items-center justify-between p-2 hover:bg-gray-50 rounded-md cursor-pointer">
<div class="flex items-center">
<div class="h-8 w-8 rounded-full bg-indigo-100 flex items-center justify-center">
<i class="fas fa-utensils text-indigo-600"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Cooking Lessons</p>
<p class="text-xs text-gray-500">12 people offering</p>
</div>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
</div>
<button class="mt-4 w-full text-indigo-600 hover:text-indigo-800 text-sm font-medium">
See all skills
</button>
</div>
</div>
<!-- Recent Exchanges -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-4 py-3 border-b border-gray-200">
<h3 class="text-lg font-semibold text-gray-900">Recent Exchanges</h3>
</div>
<div class="p-4">
<div class="space-y-4">
<div class="exchange-card bg-gray-50 p-3 rounded-md">
<div class="flex items-center">
<img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1519244703995-f4e0f30006d5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
<div class="ml-2">
<p class="text-xs font-medium text-gray-900">Alex taught Maria</p>
<p class="text-xs text-gray-500">Spanish for Web Design</p>
</div>
</div>
</div>
<div class="exchange-card bg-gray-50 p-3 rounded-md">
<div class="flex items-center">
<img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
<div class="ml-2">
<p class="text-xs font-medium text-gray-900">Sarah taught James</p>
<p class="text-xs text-gray-500">Photography for Yoga</p>
</div>
</div>
</div>
<div class="exchange-card bg-gray-50 p-3 rounded-md">
<div class="flex items-center">
<img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
<div class="ml-2">
<p class="text-xs font-medium text-gray-900">You taught David</p>
<p class="text-xs text-gray-500">SEO for Guitar Lessons</p>
</div>
</div>
</div>
</div>
<button class="mt-4 w-full text-indigo-600 hover:text-indigo-800 text-sm font-medium">
View all exchanges
</button>
</div>
</div>
<!-- Learning Resources -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-4 py-3 border-b border-gray-200">
<h3 class="text-lg font-semibold text-gray-900">Learning Resources</h3>
</div>
<div class="p-4">
<div class="space-y-3">
<a href="#" class="flex items-start group">
<div class="flex-shrink-0 h-10 w-10 rounded bg-indigo-100 flex items-center justify-center">
<i class="fas fa-video text-indigo-600"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900 group-hover:text-indigo-600">Mastering Skill Exchanges</p>
<p class="text-xs text-gray-500">Video tutorial</p>
</div>
</a>
<a href="#" class="flex items-start group">
<div class="flex-shrink-0 h-10 w-10 rounded bg-indigo-100 flex items-center justify-center">
<i class="fas fa-book text-indigo-600"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900 group-hover:text-indigo-600">The Barter Economy</p>
<p class="text-xs text-gray-500">E-book</p>
</div>
</a>
<a href="#" class="flex items-start group">
<div class="flex-shrink-0 h-10 w-10 rounded bg-indigo-100 flex items-center justify-center">
<i class="fas fa-chalkboard-teacher text-indigo-600"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900 group-hover:text-indigo-600">Teaching Skills Effectively</p>
<p class="text-xs text-gray-500">Online course</p>
</div>
</a>
</div>
<button class="mt-4 w-full text-indigo-600 hover:text-indigo-800 text-sm font-medium">
Browse all resources
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Exchange Proposal Drawer -->
<div class="fixed inset-y-0 right-0 w-full max-w-md bg-white shadow-xl drawer drawer-hidden" id="exchangeDrawer">
<div class="p-4 border-b border-gray-200">
<div class="flex items-center justify-between">
<h3 class="text-lg font-semibold text-gray-900">Propose Skill Exchange</h3>
<button class="text-gray-400 hover:text-gray-500" id="closeDrawer">
<i class="fas fa-times"></i>
</button>
</div>
</div>
<div class="p-4">
<div class="mb-4">
<label class="block text-sm font-medium text-gray-700 mb-1">Your Offered Skill</label>
<select class="w-full border border-gray-300 rounded-md py-2 px-3 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
<option>Select a skill</option>
<option>Web Development</option>
<option>Digital Marketing</option>
<option>Graphic Design</option>
<option>Content Writing</option>
</select>
</div>
<div class="mb-4">
<label class="block text-sm font-medium text-gray-700 mb-1">Exchange Details</label>
<textarea class="w-full border border-gray-300 rounded-md py-2 px-3 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" rows="3" placeholder="Describe what you're offering and what you expect in return..."></textarea>
</div>
<div class="mb-4">
<label class="block text-sm font-medium text-gray-700 mb-1">Preferred Method</label>
<div class="flex space-x-4">
<label class="inline-flex items-center">
<input type="radio" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500" name="method" checked>
<span class="ml-2 text-sm text-gray-700">Online</span>
</label>
<label class="inline-flex items-center">
<input type="radio" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500" name="method">
<span class="ml-2 text-sm text-gray-700">In Person</span>
</label>
</div>
</div>
<div class="flex justify-end space-x-3">
<button class="px-4 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 hover:bg-gray-50">
Cancel
</button>
<button class="px-4 py-2 bg-indigo-600 border border-transparent rounded-md text-sm font-medium text-white hover:bg-indigo-700">
Send Proposal
</button>
</div>
</div>
</div>
<!-- Footer -->
<footer class="bg-white border-t border-gray-200 mt-8">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div>
<h3 class="text-sm font-semibold text-gray-900 tracking-wider uppercase">About</h3>
<ul class="mt-4 space-y-2">
<li><a href="#" class="text-sm text-gray-600 hover:text-indigo-600">Our Mission</a></li>
<li><a href="#" class="text-sm text-gray-600 hover:text-indigo-600">How It Works</a></li>
<li><a href="#" class="text-sm text-gray-600 hover:text-indigo-600">Success Stories</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-900 tracking-wider uppercase">Resources</h3>
<ul class="mt-4 space-y-2">
<li><a href="#" class="text-sm text-gray-600 hover:text-indigo-600">Learning Center</a></li>
<li><a href="#" class="text-sm text-gray-600 hover:text-indigo-600">Exchange Guidelines</a></li>
<li><a href="#" class="text-sm text-gray-600 hover:text-indigo-600">Community Forum</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-900 tracking-wider uppercase">Support</h3>
<ul class="mt-4 space-y-2">
<li><a href="#" class="text-sm text-gray-600 hover:text-indigo-600">Help Center</a></li>
<li><a href="#" class="text-sm text-gray-600 hover:text-indigo-600">Safety Tips</a></li>
<li><a href="#" class="text-sm text-gray-600 hover:text-indigo-600">Contact Us</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-900 tracking-wider uppercase">Legal</h3>
<ul class="mt-4 space-y-2">
<li><a href="#" class="text-sm text-gray-600 hover:text-indigo-600">Terms</a></li>
<li><a href="#" class="text-sm text-gray-600 hover:text-indigo-600">Privacy</a></li>
<li><a href="#" class="text-sm text-gray-600 hover:text-indigo-600">Cookie Policy</a></li>
</ul>
</div>
</div>
<div class="mt-8 border-t border-gray-200 pt-8 flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center">
<i class="fas fa-hands-helping text-indigo-600 text-2xl mr-2"></i>
<span class="text-xl font-bold text-indigo-600">SkillBridge</span>
</div>
<div class="mt-4 md:mt-0 flex space-x-6">
<a href="#" class="text-gray-400 hover:text-indigo-600">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="text-gray-400 hover:text-indigo-600">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-indigo-600">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-indigo-600">
<i class="fab fa-linkedin-in"></i>
</a>
</div>
</div>
<div class="mt-8 text-center text-sm text-gray-500">
© 2023 SkillBridge. All rights reserved.
</div>
</div>
</footer>
<script>
// Mobile menu toggle
document.querySelector('[aria-controls="mobile-menu"]').addEventListener('click', function() {
const menu = document.getElementById('mobile-menu');
menu.classList.toggle('hidden');
});
// Exchange drawer functionality
const exchangeButtons = document.querySelectorAll('[aria-label="Propose Exchange"]');
const closeDrawer = document.getElementById('closeDrawer');
const exchangeDrawer = document.getElementById('exchangeDrawer');
exchangeButtons.forEach(button => {
button.addEventListener('click', function() {
exchangeDrawer.classList.remove('drawer-hidden');
});
});
closeDrawer.addEventListener('click', function() {
exchangeDrawer.classList.add('drawer-hidden');
});
// Simulate skill points animation
setInterval(function() {
const skillPoints = document.querySelectorAll('.text-indigo-600')[0];
if (skillPoints.textContent === "1,245") {
skillPoints.textContent = "1,246";
} else {
skillPoints.textContent = "1,245";
}
}, 5000);
</script>
<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=flamearchitect/skillbridge" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |