File size: 33,193 Bytes
c5e178c 7252447 | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SoleSphere Hoops Hub - Premium Basketball Sneakers</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.waves.min.js"></script>
<style>
.video-background {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
z-index: -1;
opacity: 0.15;
}
.chatbot-container {
transition: all 0.3s ease;
}
.chatbot-hidden {
transform: translateY(100%);
}
</style>
</head>
<body class="bg-black text-white">
<!-- Video Background -->
<video autoplay muted loop id="bgVideo" class="video-background">
<source src="https://assets.mixkit.co/videos/preview/mixkit-basketball-player-training-on-court-1234-large.mp4" type="video/mp4">
</video>
<!-- Navigation -->
<nav class="bg-black border-b border-red-600">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16 items-center">
<div class="flex items-center">
<a href="logo.html" class="flex items-center">
<i data-feather="grid" class="text-red-600"></i>
<span class="ml-2 text-xl font-bold">PJDA Designs</span>
</a>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<a href="#" class="text-red-400 px-3 py-2 rounded-md text-sm font-medium">Home</a>
<a href="#shop" class="text-white hover:text-red-400 px-3 py-2 rounded-md text-sm font-medium">Shop</a>
<a href="#brands" class="text-white hover:text-red-400 px-3 py-2 rounded-md text-sm font-medium">Brands</a>
<a href="#preorder" class="text-white hover:text-red-400 px-3 py-2 rounded-md text-sm font-medium">Pre-Order</a>
<a href="#contact" class="text-white hover:text-red-400 px-3 py-2 rounded-md text-sm font-medium">Contact</a>
</div>
</div>
<div class="flex items-center">
<button class="p-2 rounded-full text-white hover:text-red-400">
<i data-feather="shopping-cart"></i>
</button>
<button class="p-2 rounded-full text-white hover:text-red-400 ml-2">
<i data-feather="user"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="relative">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20 md:py-32">
<div class="text-center">
<h1 class="text-4xl md:text-6xl font-extrabold tracking-tight">
<span class="block text-white">ELEVATE YOUR</span>
<span class="block text-red-600">COURT GAME</span>
</h1>
<p class="mt-3 max-w-md mx-auto text-base text-gray-300 sm:text-lg md:mt-5 md:text-xl md:max-w-3xl">
Premium basketball sneakers from Kobe, Jordan, Adidas and more. Limited editions and exclusive drops.
</p>
<div class="mt-5 max-w-md mx-auto sm:flex sm:justify-center md:mt-8">
<div class="rounded-md shadow">
<a href="#shop" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-red-600 hover:bg-red-700 md:py-4 md:text-lg md:px-10">
Shop Now
</a>
</div>
<div class="mt-3 rounded-md shadow sm:mt-0 sm:ml-3">
<a href="#preorder" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-red-600 bg-white hover:bg-gray-100 md:py-4 md:text-lg md:px-10">
Pre-Order
</a>
</div>
</div>
</div>
</div>
</section>
<!-- Featured Products -->
<section id="shop" class="bg-black py-12 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<div class="text-center mb-12">
<h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl">
HOTTEST KICKS RIGHT NOW
</h2>
<p class="mt-3 max-w-2xl mx-auto text-xl text-gray-300 sm:mt-4">
Limited stock available. Don't miss out!
</p>
</div>
<div class="grid grid-cols-1 gap-y-10 gap-x-6 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 xl:gap-x-8">
<!-- Product 1 -->
<div class="group">
<div class="relative overflow-hidden rounded-lg bg-gray-800 aspect-w-1 aspect-h-1">
<img src="http://static.photos/sport/640x360/1" alt="Kobe 6 Protro 'Grinch'" class="w-full h-full object-center object-cover group-hover:opacity-75">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
<p class="text-sm text-gray-300">Kobe 6 Protro</p>
<h3 class="mt-1 text-lg font-medium text-white">'Grinch'</h3>
</div>
<div class="absolute top-2 right-2 bg-red-600 text-white text-xs font-bold px-2 py-1 rounded-full">
Limited
</div>
</div>
<div class="mt-4 flex justify-between">
<div>
<p class="text-sm text-gray-300">Size: 7-13</p>
</div>
<p class="text-lg font-medium text-red-500">$399</p>
</div>
</div>
<!-- Product 2 -->
<div class="group">
<div class="relative overflow-hidden rounded-lg bg-gray-800 aspect-w-1 aspect-h-1">
<img src="http://static.photos/sport/640x360/2" alt="Jordan 1 Retro High OG 'Bred Patent'" class="w-full h-full object-center object-cover group-hover:opacity-75">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
<p class="text-sm text-gray-300">Jordan 1 Retro High</p>
<h3 class="mt-1 text-lg font-medium text-white">'Bred Patent'</h3>
</div>
</div>
<div class="mt-4 flex justify-between">
<div>
<p class="text-sm text-gray-300">Size: 4.5-15</p>
</div>
<p class="text-lg font-medium text-red-500">$249</p>
</div>
</div>
<!-- Product 3 -->
<div class="group">
<div class="relative overflow-hidden rounded-lg bg-gray-800 aspect-w-1 aspect-h-1">
<img src="http://static.photos/sport/640x360/3" alt="Adidas Harden Vol. 6" class="w-full h-full object-center object-cover group-hover:opacity-75">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
<p class="text-sm text-gray-300">Adidas Harden</p>
<h3 class="mt-1 text-lg font-medium text-white">Vol. 6</h3>
</div>
<div class="absolute top-2 right-2 bg-red-600 text-white text-xs font-bold px-2 py-1 rounded-full">
New
</div>
</div>
<div class="mt-4 flex justify-between">
<div>
<p class="text-sm text-gray-300">Size: 7-16</p>
</div>
<p class="text-lg font-medium text-red-500">$159</p>
</div>
</div>
<!-- Product 4 -->
<div class="group">
<div class="relative overflow-hidden rounded-lg bg-gray-800 aspect-w-1 aspect-h-1">
<img src="http://static.photos/sport/640x360/4" alt="Nike Lebron 19" class="w-full h-full object-center object-cover group-hover:opacity-75">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
<p class="text-sm text-gray-300">Nike Lebron</p>
<h3 class="mt-1 text-lg font-medium text-white">19</h3>
</div>
<div class="absolute top-2 right-2 bg-red-600 text-white text-xs font-bold px-2 py-1 rounded-full">
Sale
</div>
</div>
<div class="mt-4 flex justify-between">
<div>
<p class="text-sm text-gray-300">Size: 8-14</p>
</div>
<p class="text-lg font-medium text-red-500">$199 <span class="text-sm text-gray-400 line-through">$249</span></p>
</div>
</div>
</div>
</div>
</section>
<!-- Brands Section -->
<section id="brands" class="bg-gray-900 py-12 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<div class="text-center mb-12">
<h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl">
SHOP BY BRAND
</h2>
<p class="mt-3 max-w-2xl mx-auto text-xl text-gray-300 sm:mt-4">
All your favorite basketball sneaker brands
</p>
</div>
<div class="grid grid-cols-2 gap-8 md:grid-cols-3 lg:grid-cols-4">
<div class="col-span-1 flex justify-center py-8 px-8 bg-gray-800 rounded-lg hover:bg-gray-700 transition cursor-pointer">
<div class="flex flex-col items-center">
<div class="w-24 h-24 bg-white rounded-full flex items-center justify-center mb-4">
<span class="text-2xl font-bold text-black">NIKE</span>
</div>
<h3 class="text-lg font-medium text-white">Nike</h3>
<p class="mt-1 text-sm text-gray-300">Jordan, Kobe, Lebron</p>
</div>
</div>
<div class="col-span-1 flex justify-center py-8 px-8 bg-gray-800 rounded-lg hover:bg-gray-700 transition cursor-pointer">
<div class="flex flex-col items-center">
<div class="w-24 h-24 bg-white rounded-full flex items-center justify-center mb-4">
<span class="text-2xl font-bold text-black">ADIDAS</span>
</div>
<h3 class="text-lg font-medium text-white">Adidas</h3>
<p class="mt-1 text-sm text-gray-300">Harden, Trae, Dame</p>
</div>
</div>
<div class="col-span-1 flex justify-center py-8 px-8 bg-gray-800 rounded-lg hover:bg-gray-700 transition cursor-pointer">
<div class="flex flex-col items-center">
<div class="w-24 h-24 bg-white rounded-full flex items-center justify-center mb-4">
<span class="text-2xl font-bold text-black">PUMA</span>
</div>
<h3 class="text-lg font-medium text-white">Puma</h3>
<p class="mt-1 text-sm text-gray-300">Melos, LaMelo</p>
</div>
</div>
<div class="col-span-1 flex justify-center py-8 px-8 bg-gray-800 rounded-lg hover:bg-gray-700 transition cursor-pointer">
<div class="flex flex-col items-center">
<div class="w-24 h-24 bg-white rounded-full flex items-center justify-center mb-4">
<span class="text-2xl font-bold text-black">UA</span>
</div>
<h3 class="text-lg font-medium text-white">Under Armour</h3>
<p class="mt-1 text-sm text-gray-300">Curry, Embiid</p>
</div>
</div>
</div>
</div>
</section>
<!-- Pre-Order Section -->
<section id="preorder" class="bg-black py-16 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<div class="text-center mb-12">
<h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl">
PRE-ORDER NOW
</h2>
<p class="mt-3 max-w-2xl mx-auto text-xl text-gray-300 sm:mt-4">
Reserve upcoming drops or sizes currently unavailable
</p>
</div>
<div class="bg-gray-900 rounded-lg p-8 max-w-3xl mx-auto">
<form>
<div class="grid grid-cols-1 gap-6 sm:grid-cols-2">
<div>
<label for="first-name" class="block text-sm font-medium text-gray-300">First name</label>
<input type="text" name="first-name" id="first-name" autocomplete="given-name" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500">
</div>
<div>
<label for="last-name" class="block text-sm font-medium text-gray-300">Last name</label>
<input type="text" name="last-name" id="last-name" autocomplete="family-name" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500">
</div>
<div>
<label for="email" class="block text-sm font-medium text-gray-300">Email address</label>
<input type="email" name="email" id="email" autocomplete="email" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500">
</div>
<div>
<label for="phone" class="block text-sm font-medium text-gray-300">Phone number</label>
<input type="text" name="phone" id="phone" autocomplete="tel" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500">
</div>
<div class="sm:col-span-2">
<label for="shoe-model" class="block text-sm font-medium text-gray-300">Shoe Model</label>
<input type="text" name="shoe-model" id="shoe-model" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500">
</div>
<div>
<label for="size" class="block text-sm font-medium text-gray-300">Size</label>
<select id="size" name="size" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500">
<option>Select size</option>
<option>4</option>
<option>4.5</option>
<option>5</option>
<option>5.5</option>
<option>6</option>
<option>6.5</option>
<option>7</option>
<option>7.5</option>
<option>8</option>
<option>8.5</option>
<option>9</option>
<option>9.5</option>
<option>10</option>
<option>10.5</option>
<option>11</option>
<option>11.5</option>
<option>12</option>
<option>12.5</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
</select>
</div>
<div>
<label for="colorway" class="block text-sm font-medium text-gray-300">Colorway</label>
<input type="text" name="colorway" id="colorway" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500">
</div>
</div>
<div class="mt-6">
<label for="notes" class="block text-sm font-medium text-gray-300">Additional notes</label>
<textarea id="notes" name="notes" rows="3" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500"></textarea>
</div>
<div class="mt-6">
<button type="submit" class="w-full flex justify-center py-3 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-red-600 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500">
Submit Pre-Order
</button>
</div>
</form>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="bg-gray-900 py-16 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<div class="text-center mb-12">
<h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl">
CONTACT US
</h2>
<p class="mt-3 max-w-2xl mx-auto text-xl text-gray-300 sm:mt-4">
Have questions? Reach out to our team
</p>
</div>
<div class="grid grid-cols-1 gap-8 md:grid-cols-3">
<div class="bg-gray-800 rounded-lg p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-red-600 rounded-md p-3">
<i data-feather="map-pin" class="text-white"></i>
</div>
<div class="ml-4">
<h3 class="text-lg font-medium text-white">Visit Us</h3>
<p class="mt-1 text-sm text-gray-300">123 Baller Street, Court City, CC 90210</p>
</div>
</div>
</div>
<div class="bg-gray-800 rounded-lg p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-red-600 rounded-md p-3">
<i data-feather="phone" class="text-white"></i>
</div>
<div class="ml-4">
<h3 class="text-lg font-medium text-white">Call Us</h3>
<p class="mt-1 text-sm text-gray-300">(555) 123-4567</p>
</div>
</div>
</div>
<div class="bg-gray-800 rounded-lg p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-red-600 rounded-md p-3">
<i data-feather="mail" class="text-white"></i>
</div>
<div class="ml-4">
<h3 class="text-lg font-medium text-white">Email Us</h3>
<p class="mt-1 text-sm text-gray-300">info@solesphere.com</p>
</div>
</div>
</div>
</div>
<div class="mt-12 bg-gray-800 rounded-lg p-8 max-w-3xl mx-auto">
<h3 class="text-lg font-medium text-white mb-6">Store Hours</h3>
<div class="grid grid-cols-1 gap-4">
<div class="flex justify-between">
<span class="text-gray-300">Monday - Thursday</span>
<span class="text-white">10:00 AM - 8:00 PM</span>
</div>
<div class="flex justify-between">
<span class="text-gray-300">Friday - Saturday</span>
<span class="text-white">10:00 AM - 9:00 PM</span>
</div>
<div class="flex justify-between">
<span class="text-gray-300">Sunday</span>
<span class="text-white">11:00 AM - 6:00 PM</span>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-black">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 gap-8 md:grid-cols-4">
<div>
<div class="flex items-center">
<a href="logo.html" class="flex items-center">
<i data-feather="grid" class="text-red-600"></i>
<span class="ml-2 text-xl font-bold">PJDA Designs</span>
</a>
</div>
<p class="mt-4 text-sm text-gray-300">
The premier destination for basketball sneaker enthusiasts. Authentic kicks, exclusive drops.
</p>
<div class="mt-4 flex space-x-4">
<a href="#" class="text-gray-400 hover:text-red-400">
<i data-feather="instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-red-400">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-red-400">
<i data-feather="facebook"></i>
</a>
</div>
</div>
<div>
<h3 class="text-sm font-semibold text-white uppercase tracking-wider">Shop</h3>
<ul class="mt-4 space-y-2">
<li><a href="#" class="text-sm text-gray-300 hover:text-red-400">New Arrivals</a></li>
<li><a href="#" class="text-sm text-gray-300 hover:text-red-400">Best Sellers</a></li>
<li><a href="#" class="text-sm text-gray-300 hover:text-red-400">Sale Items</a></li>
<li><a href="#" class="text-sm text-gray-300 hover:text-red-400">Pre-Order</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-white uppercase tracking-wider">Information</h3>
<ul class="mt-4 space-y-2">
<li><a href="#" class="text-sm text-gray-300 hover:text-red-400">About Us</a></li>
<li><a href="#" class="text-sm text-gray-300 hover:text-red-400">Shipping Policy</a></li>
<li><a href="#" class="text-sm text-gray-300 hover:text-red-400">Return Policy</a></li>
<li><a href="#" class="text-sm text-gray-300 hover:text-red-400">FAQs</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-white uppercase tracking-wider">Newsletter</h3>
<p class="mt-4 text-sm text-gray-300">
Subscribe to get exclusive access to drops and special offers.
</p>
<form class="mt-4 sm:flex sm:max-w-md">
<label for="email-address" class="sr-only">Email address</label>
<input type="email" name="email-address" id="email-address" autocomplete="email" required class="appearance-none min-w-0 w-full bg-gray-700 border border-gray-700 rounded-md py-2 px-4 text-base text-white placeholder-gray-400 focus:outline-none focus:ring-red-500 focus:border-red-500" placeholder="Enter your email">
<div class="mt-3 rounded-md sm:mt-0 sm:ml-3 sm:flex-shrink-0">
<button type="submit" class="w-full flex items-center justify-center py-2 px-4 border border-transparent rounded-md text-sm font-medium text-white bg-red-600 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500">
Subscribe
</button>
</div>
</form>
</div>
</div>
<div class="mt-8 border-t border-gray-800 pt-8 flex flex-col md:flex-row justify-between">
<p class="text-sm text-gray-400">
© 2023 SoleSphere Hoops Hub. All rights reserved.
</p>
<div class="flex mt-4 md:mt-0">
<a href="#" class="text-sm text-gray-400 hover:text-red-400 mr-4">Privacy Policy</a>
<a href="#" class="text-sm text-gray-400 hover:text-red-400 mr-4">Terms of Service</a>
<a href="#" class="text-sm text-gray-400 hover:text-red-400">Cookie Policy</a>
</div>
</div>
</div>
</footer>
<!-- Chatbot -->
<div class="fixed bottom-4 right-4 z-50">
<div id="chatbotContainer" class="bg-gray-900 rounded-lg shadow-xl overflow-hidden w-80 h-96 flex flex-col chatbot-container chatbot-hidden">
<div class="bg-red-600 px-4 py-3 flex justify-between items-center">
<h3 class="text-white font-medium">SoleSphere Assistant</h3>
<button id="closeChatbot" class="text-white hover:text-gray-200">
<i data-feather="x"></i>
</button>
</div>
<div id="chatbotMessages" class="flex-1 p-4 overflow-y-auto space-y-4">
<div class="flex">
<div class="bg-gray-800 rounded-lg p-3 max-w-xs">
<p class="text-sm text-white">Hello! I'm your SoleSphere assistant. How can I help you today?</p>
</div>
</div>
<div class="flex justify-end">
<div class="bg-red-600 rounded-lg p-3 max-w-xs">
<p class="text-sm text-white">What are your store hours?</p>
</div>
</div>
<div class="flex">
<div class="bg-gray-800 rounded-lg p-3 max-w-xs">
<p class="text-sm text-white">We're open Monday-Thursday 10AM-8PM, Friday-Saturday 10AM-9PM, and Sunday 11AM-6PM.</p>
</div>
</div>
</div>
<div class="border-t border-gray-800 p-4">
<form id="chatbotForm" class="flex">
<input type="text" id="chatbotInput" placeholder="Type your message..." class="flex-1 bg-gray-800 border border-gray-700 rounded-l-md py-2 px-3 text-sm text-white focus:outline-none focus:ring-red-500 focus:border-red-500">
<button type="submit" class="bg-red-600 hover:bg-red-700 text-white py-2 px-3 rounded-r-md text-sm">
<i data-feather="send" class="w-4 h-4"></i>
</button>
</form>
<div class="mt-2 flex justify-between">
<button class="text-xs text-gray-400 hover:text-red-400">Store Hours</button>
<button class="text-xs text-gray-400 hover:text-red-400">Appointments</button>
<button class="text-xs text-gray-400 hover:text-red-400">Contact</button>
</div>
</div>
</div>
<button id="openChatbot" class="bg-red-600 hover:bg-red-700 text-white rounded-full p-4 shadow-lg">
<i data-feather="message-square"></i>
</button>
</div>
<script>
feather.replace();
// Chatbot functionality
const chatbotContainer = document.getElementById('chatbotContainer');
const openChatbot = document.getElementById('openChatbot');
const closeChatbot = document.getElementById('closeChatbot');
const chatbotMessages = document.getElementById('chatbotMessages');
const chatbotForm = document.getElementById('chatbotForm');
const chatbotInput = document.getElementById('chatbotInput');
openChatbot.addEventListener('click', () => {
chatbotContainer.classList.remove('chatbot-hidden');
});
closeChatbot.addEventListener('click', () => {
chatbotContainer.classList.add('chatbot-hidden');
});
chatbotForm.addEventListener('submit', (e) => {
e.preventDefault();
const message = chatbotInput.value.trim();
if (message) {
// Add user message
addMessage(message, true);
chatbotInput.value = '';
// Simulate bot response after a delay
setTimeout(() => {
const responses = [
"Our store hours are Monday-Thursday 10AM-8PM, Friday-Saturday 10AM-9PM, and Sunday 11AM-6PM.",
"You can schedule an appointment by calling us at (555) 123-4567 or emailing info@solesphere.com.",
"We currently have Kobe 6 Protro 'Grinch' in limited sizes available.",
"You can pre-order by filling out the form on our website with your contact information and desired shoe details.",
"Thank you for your question! A human representative will follow up with you shortly."
];
const randomResponse = responses[Math.floor(Math.random() * responses.length)];
addMessage(randomResponse, false);
}, 1000);
}
});
function addMessage(text, isUser) {
const messageDiv = document.createElement('div');
messageDiv.className = `flex ${isUser ? 'justify-end' : ''}`;
const innerDiv = document.createElement('div');
innerDiv.className = isUser ? 'bg-red-600 rounded-lg p-3 max-w-xs' : 'bg-gray-800 rounded-lg p-3 max-w-xs';
const messageText = document.createElement('p');
messageText.className = 'text-sm text-white';
messageText.textContent = text;
innerDiv.appendChild(messageText);
messageDiv.appendChild(innerDiv);
chatbotMessages.appendChild(messageDiv);
// Scroll to bottom
chatbotMessages.scrollTop = chatbotMessages.scrollHeight;
}
// Initialize Vanta.js waves effect
VANTA.WAVES({
el: "body",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x660000,
shininess: 35.00,
waveHeight: 15.00,
waveSpeed: 0.75,
zoom: 0.65
});
</script>
</body>
</html>
|