Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>PiWorkstation - Raspberry Pi Zero 2W Workstation</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> | |
| .hero-gradient { | |
| background: linear-gradient(135deg, #3b82f6 0%, #10b981 50%, #6366f1 100%); | |
| } | |
| .product-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .video-container { | |
| position: relative; | |
| padding-bottom: 56.25%; | |
| height: 0; | |
| overflow: hidden; | |
| } | |
| .video-container iframe { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| } | |
| .fade-in { | |
| animation: fadeIn 0.5s ease-in; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; } | |
| to { opacity: 1; } | |
| } | |
| </style> | |
| </head> | |
| <body class="font-sans bg-gray-50"> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-lg sticky top-0 z-50"> | |
| <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="fab fa-raspberry-pi text-3xl text-red-600 mr-2"></i> | |
| <span class="text-xl font-bold text-gray-900">PiWorkstation</span> | |
| </div> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-8"> | |
| <a href="#features" class="text-gray-700 hover:text-blue-600 px-3 py-2 text-sm font-medium">Features</a> | |
| <a href="#specs" class="text-gray-700 hover:text-blue-600 px-3 py-2 text-sm font-medium">Specs</a> | |
| <a href="#testimonials" class="text-gray-700 hover:text-blue-600 px-3 py-2 text-sm font-medium">Testimonials</a> | |
| <a href="#pricing" class="bg-blue-600 text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-blue-700">Order Now</a> | |
| </div> | |
| <div class="md:hidden flex items-center"> | |
| <button id="menu-btn" class="text-gray-500 hover:text-gray-900 focus:outline-none"> | |
| <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="M4 6h16M4 12h16M4 18h16"></path> | |
| </svg> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Mobile menu --> | |
| <div id="mobile-menu" class="hidden md:hidden bg-white border-t border-gray-200"> | |
| <div class="px-2 pt-2 pb-3 space-y-1 sm:px-3"> | |
| <a href="#features" class="block px-3 py-2 text-base font-medium text-gray-700 hover:text-blue-600 hover:bg-gray-50">Features</a> | |
| <a href="#specs" class="block px-3 py-2 text-base font-medium text-gray-700 hover:text-blue-600 hover:bg-gray-50">Specs</a> | |
| <a href="#testimonials" class="block px-3 py-2 text-base font-medium text-gray-700 hover:text-blue-600 hover:bg-gray-50">Testimonials</a> | |
| <a href="#pricing" class="block px-3 py-2 text-base font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700">Order Now</a> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section (Squeeze Page) --> | |
| <section id="lead-capture" class="hero-gradient text-white py-16 md:py-24"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="lg:grid lg:grid-cols-2 lg:gap-8 items-center"> | |
| <div class="mb-12 lg:mb-0"> | |
| <h1 class="text-4xl md:text-5xl font-bold mb-6 fade-in">Your Portable <span class="text-yellow-300">Pi Workstation</span></h1> | |
| <p class="text-xl mb-8 opacity-90">The ultimate compact computing solution built around Raspberry Pi Zero 2W. Perfect for developers, students, and tech enthusiasts.</p> | |
| <div class="bg-white bg-opacity-10 backdrop-blur-sm rounded-lg p-6 shadow-lg"> | |
| <h3 class="text-xl font-semibold mb-4">Get Early Access + 10% Discount</h3> | |
| <form id="lead-form" class="space-y-4"> | |
| <div> | |
| <label for="name" class="block text-sm font-medium">Full Name</label> | |
| <input type="text" id="name" name="name" required class="mt-1 block w-full rounded-md border-gray-300 shadow-sm bg-white bg-opacity-20 border border-white border-opacity-30 text-white placeholder-white placeholder-opacity-70 focus:ring-2 focus:ring-yellow-300 focus:border-yellow-300 p-3"> | |
| </div> | |
| <div> | |
| <label for="email" class="block text-sm font-medium">Email Address</label> | |
| <input type="email" id="email" name="email" required class="mt-1 block w-full rounded-md border-gray-300 shadow-sm bg-white bg-opacity-20 border border-white border-opacity-30 text-white placeholder-white placeholder-opacity-70 focus:ring-2 focus:ring-yellow-300 focus:border-yellow-300 p-3"> | |
| </div> | |
| <button type="submit" class="w-full bg-yellow-400 text-gray-900 py-3 px-4 rounded-md font-bold hover:bg-yellow-300 transition duration-200 flex items-center justify-center"> | |
| <span>Get My Discount</span> | |
| <i class="fas fa-arrow-right ml-2"></i> | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| <div class="flex justify-center"> | |
| <div class="relative w-full max-w-md"> | |
| <div class="absolute -top-6 -left-6 w-64 h-64 bg-blue-400 rounded-full mix-blend-multiply filter blur-xl opacity-70 animate-blob"></div> | |
| <div class="absolute -bottom-8 -right-8 w-64 h-64 bg-yellow-400 rounded-full mix-blend-multiply filter blur-xl opacity-70 animate-blob animation-delay-2000"></div> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1639762681057-408e52192e55?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2232&q=80" alt="Pi Workstation" class="rounded-lg shadow-2xl border-8 border-white border-opacity-20 transform rotate-3 hover:rotate-0 transition duration-500"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Features Section --> | |
| <section id="features" class="py-16 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">Why Choose PiWorkstation?</h2> | |
| <p class="text-lg text-gray-600 max-w-3xl mx-auto">Designed for portability without compromising on functionality</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="bg-gray-50 p-6 rounded-xl hover:shadow-md transition duration-300"> | |
| <div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-bolt text-blue-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2 text-gray-900">Powerful Performance</h3> | |
| <p class="text-gray-600">Quad-core 64-bit processor with 512MB RAM delivers smooth performance for development and light computing tasks.</p> | |
| </div> | |
| <div class="bg-gray-50 p-6 rounded-xl hover:shadow-md transition duration-300"> | |
| <div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-compress-arrows-alt text-green-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2 text-gray-900">Ultra Compact</h3> | |
| <p class="text-gray-600">Smaller than a deck of cards yet packed with features. Fits in your pocket or backpack with ease.</p> | |
| </div> | |
| <div class="bg-gray-50 p-6 rounded-xl hover:shadow-md transition duration-300"> | |
| <div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-plug text-purple-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2 text-gray-900">All-in-One Design</h3> | |
| <p class="text-gray-600">Includes built-in ports for HDMI, USB, and power. No additional adapters needed for basic setup.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Product Showcase --> | |
| <section class="py-16 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="lg:flex items-center gap-12"> | |
| <div class="lg:w-1/2 mb-12 lg:mb-0"> | |
| <div class="video-container rounded-xl overflow-hidden shadow-lg"> | |
| <iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | |
| </div> | |
| </div> | |
| <div class="lg:w-1/2"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-6">Complete Portable Development Station</h2> | |
| <p class="text-lg text-gray-600 mb-6">Transform your Raspberry Pi Zero 2W into a fully functional workstation with our custom-designed case and optimized software bundle.</p> | |
| <ul class="space-y-4 mb-8"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-500 mt-1 mr-3"></i> | |
| <span class="text-gray-700">Pre-installed with Raspberry Pi OS optimized for performance</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-500 mt-1 mr-3"></i> | |
| <span class="text-gray-700">Includes custom cooling solution for sustained performance</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-500 mt-1 mr-3"></i> | |
| <span class="text-gray-700">Easy-access ports and GPIO header</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-500 mt-1 mr-3"></i> | |
| <span class="text-gray-700">Compatible with standard Raspberry Pi accessories</span> | |
| </li> | |
| </ul> | |
| <a href="#pricing" class="inline-block bg-blue-600 text-white px-6 py-3 rounded-md font-bold hover:bg-blue-700 transition duration-200"> | |
| Get Yours Today | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Specs Section --> | |
| <section id="specs" class="py-16 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">Technical Specifications</h2> | |
| <p class="text-lg text-gray-600 max-w-3xl mx-auto">Everything you need in a compact package</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-8"> | |
| <div> | |
| <h3 class="text-xl font-semibold mb-4 text-gray-900 border-b pb-2">Hardware</h3> | |
| <ul class="space-y-3"> | |
| <li class="flex justify-between py-2 border-b border-gray-100"> | |
| <span class="text-gray-600">Processor</span> | |
| <span class="font-medium">Quad-core ARM Cortex-A53 @ 1GHz</span> | |
| </li> | |
| <li class="flex justify-between py-2 border-b border-gray-100"> | |
| <span class="text-gray-600">Memory</span> | |
| <span class="font-medium">512MB LPDDR2 SDRAM</span> | |
| </li> | |
| <li class="flex justify-between py-2 border-b border-gray-100"> | |
| <span class="text-gray-600">Storage</span> | |
| <span class="font-medium">MicroSD card slot (card not included)</span> | |
| </li> | |
| <li class="flex justify-between py-2 border-b border-gray-100"> | |
| <span class="text-gray-600">Connectivity</span> | |
| <span class="font-medium">2.4GHz 802.11n wireless LAN, Bluetooth 4.2</span> | |
| </li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-xl font-semibold mb-4 text-gray-900 border-b pb-2">Ports & Features</h3> | |
| <ul class="space-y-3"> | |
| <li class="flex justify-between py-2 border-b border-gray-100"> | |
| <span class="text-gray-600">Video Output</span> | |
| <span class="font-medium">Mini HDMI port</span> | |
| </li> | |
| <li class="flex justify-between py-2 border-b border-gray-100"> | |
| <span class="text-gray-600">USB</span> | |
| <span class="font-medium">Micro USB (OTG), USB 2.0 (via adapter)</span> | |
| </li> | |
| <li class="flex justify-between py-2 border-b border-gray-100"> | |
| <span class="text-gray-600">Power</span> | |
| <span class="font-medium">5V/2.5A via Micro USB</span> | |
| </li> | |
| <li class="flex justify-between py-2 border-b border-gray-100"> | |
| <span class="text-gray-600">Dimensions</span> | |
| <span class="font-medium">65mm × 30mm × 15mm</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Testimonials --> | |
| <section id="testimonials" class="py-16 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">What Our Customers Say</h2> | |
| <p class="text-lg text-gray-600 max-w-3xl mx-auto">Don't just take our word for it</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="bg-white p-6 rounded-xl shadow-sm"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-4"> | |
| <i class="fas fa-user text-blue-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold">Sarah K.</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600">"Perfect for my coding classes. The compact size means I can carry it everywhere, and the performance is surprisingly good for web development."</p> | |
| </div> | |
| <div class="bg-white p-6 rounded-xl shadow-sm"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mr-4"> | |
| <i class="fas fa-user text-green-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold">Michael T.</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star-half-alt"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600">"I use this as a portable retro gaming station. The case keeps everything protected and the cooling solution works great even during long sessions."</p> | |
| </div> | |
| <div class="bg-white p-6 rounded-xl shadow-sm"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center mr-4"> | |
| <i class="fas fa-user text-purple-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold">David L.</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600">"As an IoT developer, this is my go-to device for prototyping. The form factor is ideal, and the build quality is excellent for the price."</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Pricing Section --> | |
| <section id="pricing" class="py-16 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">Choose Your Package</h2> | |
| <p class="text-lg text-gray-600 max-w-3xl mx-auto">Select the option that fits your needs</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto"> | |
| <!-- Basic Package --> | |
| <div class="bg-gray-50 rounded-xl overflow-hidden border border-gray-200 product-card transition duration-300"> | |
| <div class="p-6 border-b border-gray-200"> | |
| <h3 class="text-xl font-semibold text-gray-900 mb-2">Starter Kit</h3> | |
| <p class="text-gray-600 mb-4">Everything you need to get started</p> | |
| <div class="mb-6"> | |
| <span class="text-4xl font-bold text-gray-900">$49</span> | |
| <span class="text-gray-500">+ shipping</span> | |
| </div> | |
| <a href="#checkout" class="block w-full bg-gray-200 text-gray-800 py-2 px-4 rounded-md font-medium text-center hover:bg-gray-300 transition duration-200"> | |
| Select Plan | |
| </a> | |
| </div> | |
| <div class="p-6"> | |
| <ul class="space-y-3"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-3"></i> | |
| <span>Premium Aluminum Case</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-3"></i> | |
| <span>Optimized Cooling Solution</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-3"></i> | |
| <span>HDMI & USB Adapters</span> | |
| </li> | |
| <li class="flex items-start text-gray-400"> | |
| <i class="fas fa-times mt-1 mr-3"></i> | |
| <span>Power Supply</span> | |
| </li> | |
| <li class="flex items-start text-gray-400"> | |
| <i class="fas fa-times mt-1 mr-3"></i> | |
| <span>MicroSD Card</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Popular Package --> | |
| <div class="bg-blue-50 rounded-xl overflow-hidden border-2 border-blue-500 product-card transform scale-105 transition duration-300 relative"> | |
| <div class="absolute top-0 right-0 bg-blue-500 text-white text-xs font-bold px-3 py-1 rounded-bl-lg"> | |
| MOST POPULAR | |
| </div> | |
| <div class="p-6 border-b border-blue-200"> | |
| <h3 class="text-xl font-semibold text-gray-900 mb-2">Complete Bundle</h3> | |
| <p class="text-gray-600 mb-4">Best value with everything included</p> | |
| <div class="mb-6"> | |
| <span class="text-4xl font-bold text-gray-900">$79</span> | |
| <span class="text-gray-500">free shipping</span> | |
| </div> | |
| <a href="#checkout" class="block w-full bg-blue-600 text-white py-2 px-4 rounded-md font-bold text-center hover:bg-blue-700 transition duration-200"> | |
| Select Plan | |
| </a> | |
| </div> | |
| <div class="p-6"> | |
| <ul class="space-y-3"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-3"></i> | |
| <span>Premium Aluminum Case</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-3"></i> | |
| <span>Optimized Cooling Solution</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-3"></i> | |
| <span>HDMI & USB Adapters</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-3"></i> | |
| <span>5V/2.5A Power Supply</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-3"></i> | |
| <span>32GB MicroSD Card (Pre-loaded)</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Pro Package --> | |
| <div class="bg-gray-50 rounded-xl overflow-hidden border border-gray-200 product-card transition duration-300"> | |
| <div class="p-6 border-b border-gray-200"> | |
| <h3 class="text-xl font-semibold text-gray-900 mb-2">Developer Pro</h3> | |
| <p class="text-gray-600 mb-4">For serious developers and makers</p> | |
| <div class="mb-6"> | |
| <span class="text-4xl font-bold text-gray-900">$129</span> | |
| <span class="text-gray-500">free shipping</span> | |
| </div> | |
| <a href="#checkout" class="block w-full bg-gray-200 text-gray-800 py-2 px-4 rounded-md font-medium text-center hover:bg-gray-300 transition duration-200"> | |
| Select Plan | |
| </a> | |
| </div> | |
| <div class="p-6"> | |
| <ul class="space-y-3"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-3"></i> | |
| <span>Everything in Complete Bundle</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-3"></i> | |
| <span>Extended 2-Year Warranty</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-3"></i> | |
| <span>GPIO Breakout Board</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-3"></i> | |
| <span>Premium Carrying Case</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-3"></i> | |
| <span>Exclusive Developer Resources</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Checkout Section --> | |
| <section id="checkout" class="py-16 bg-gray-50 hidden"> | |
| <div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="p-8"> | |
| <h2 class="text-2xl font-bold text-gray-900 mb-6">Complete Your Purchase</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-8"> | |
| <!-- Order Summary --> | |
| <div> | |
| <h3 class="text-lg font-semibold text-gray-900 mb-4">Order Summary</h3> | |
| <div class="bg-gray-50 rounded-lg p-4 mb-6"> | |
| <div class="flex justify-between items-center mb-3 pb-3 border-b border-gray-200"> | |
| <div> | |
| <h4 class="font-medium" id="selected-package">Complete Bundle</h4> | |
| <p class="text-sm text-gray-500">Includes case, power supply, and 32GB SD card</p> | |
| </div> | |
| <span class="font-bold" id="package-price">$79.00</span> | |
| </div> | |
| <div class="flex justify-between items-center mb-3"> | |
| <span class="text-gray-600">Shipping</span> | |
| <span class="font-medium" id="shipping-cost">Free</span> | |
| </div> | |
| <div class="flex justify-between items-center pt-3 border-t border-gray-200"> | |
| <span class="font-medium">Total</span> | |
| <span class="text-xl font-bold" id="total-price">$79.00</span> | |
| </div> | |
| </div> | |
| <!-- OTO 1 --> | |
| <div class="bg-blue-50 border border-blue-200 rounded-lg p-4 mb-4"> | |
| <div class="flex items-start mb-3"> | |
| <input type="checkbox" id="oto1" class="mt-1 mr-3" checked> | |
| <div> | |
| <label for="oto1" class="font-medium">Add Accessory Kit (+$19.99)</label> | |
| <p class="text-sm text-gray-600">Includes HDMI cable, USB hub, and heat sinks</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- OTO 2 --> | |
| <div class="bg-purple-50 border border-purple-200 rounded-lg p-4"> | |
| <div class="flex items-start"> | |
| <input type="checkbox" id="oto2" class="mt-1 mr-3"> | |
| <div> | |
| <label for="oto2" class="font-medium">Extended Warranty (+$29.99)</label> | |
| <p class="text-sm text-gray-600">3-year replacement warranty with priority support</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Payment Form --> | |
| <div> | |
| <h3 class="text-lg font-semibold text-gray-900 mb-4">Payment Information</h3> | |
| <form id="payment-form" class="space-y-4"> | |
| <div> | |
| <label for="card-name" class="block text-sm font-medium text-gray-700 mb-1">Name on Card</label> | |
| <input type="text" id="card-name" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500" placeholder="John Smith"> | |
| </div> | |
| <div> | |
| <label for="card-number" class="block text-sm font-medium text-gray-700 mb-1">Card Number</label> | |
| <input type="text" id="card-number" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500" placeholder="4242 4242 4242 4242"> | |
| </div> | |
| <div class="grid grid-cols-2 gap-4"> | |
| <div> | |
| <label for="card-expiry" class="block text-sm font-medium text-gray-700 mb-1">Expiry Date</label> | |
| <input type="text" id="card-expiry" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500" placeholder="MM/YY"> | |
| </div> | |
| <div> | |
| <label for="card-cvc" class="block text-sm font-medium text-gray-700 mb-1">CVC</label> | |
| <input type="text" id="card-cvc" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500" placeholder="123"> | |
| </div> | |
| </div> | |
| <div> | |
| <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email for Receipt</label> | |
| <input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500" placeholder="your@email.com"> | |
| </div> | |
| <button type="submit" class="w-full bg-blue-600 text-white py-3 px-4 rounded-md font-bold hover:bg-blue-700 transition duration-200 flex items-center justify-center"> | |
| <i class="fas fa-lock mr-2"></i> | |
| <span>Pay $79.00</span> | |
| </button> | |
| <div class="flex items-center justify-center"> | |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/stripe/stripe-original.svg" class="h-8 mr-2" alt="Stripe"> | |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/visa/visa-original.svg" class="h-6 mr-2" alt="Visa"> | |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/mastercard/mastercard-original.svg" class="h-6 mr-2" alt="Mastercard"> | |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/apple/apple-original.svg" class="h-6" alt="Apple Pay"> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Thank You Section --> | |
| <section id="thank-you" class="py-16 bg-white hidden"> | |
| <div class="max-w-2xl mx-auto px-4 sm:px-6 lg:px-8 text-center"> | |
| <div class="bg-green-50 border border-green-200 rounded-full w-20 h-20 flex items-center justify-center mx-auto mb-6"> | |
| <i class="fas fa-check-circle text-green-500 text-4xl"></i> | |
| </div> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">Thank You for Your Order!</h2> | |
| <p class="text-lg text-gray-600 mb-8">Your PiWorkstation will be shipped within 2 business days. A confirmation email has been sent to <span class="font-medium" id="customer-email">your@email.com</span> with your order details.</p> | |
| <div class="bg-gray-50 rounded-lg p-6 mb-8 text-left max-w-md mx-auto"> | |
| <h3 class="font-semibold text-gray-900 mb-4">Order #<span id="order-number">PI2023-98765</span></h3> | |
| <div class="flex justify-between py-2 border-b border-gray-200"> | |
| <span class="text-gray-600">PiWorkstation Complete Bundle</span> | |
| <span class="font-medium">$79.00</span> | |
| </div> | |
| <div class="flex justify-between py-2 border-b border-gray-200"> | |
| <span class="text-gray-600">Accessory Kit</span> | |
| <span class="font-medium">$19.99</span> | |
| </div> | |
| <div class="flex justify-between py-2"> | |
| <span class="text-gray-600">Shipping</span> | |
| <span class="font-medium">Free</span> | |
| </div> | |
| <div class="flex justify-between pt-4 mt-3 border-t border-gray-200 font-bold"> | |
| <span>Total</span> | |
| <span>$98.99</span> | |
| </div> | |
| </div> | |
| <div class="bg-blue-50 border border-blue-200 rounded-lg p-6 mb-8"> | |
| <h3 class="font-semibold text-gray-900 mb-3">Get Started Right Away</h3> | |
| <p class="text-gray-600 mb-4">Download our setup guide and recommended software bundle to get the most out of your PiWorkstation.</p> | |
| <a href="#download" class="inline-block bg-blue-600 text-white px-6 py-2 rounded-md font-medium hover:bg-blue-700 transition duration-200"> | |
| <i class="fas fa-download mr-2"></i> Download Resources | |
| </a> | |
| </div> | |
| <p class="text-gray-500">Need help? Contact our support team at <a href="mailto:support@piworkstation.com" class="text-blue-600 hover:underline">support@piworkstation.com</a></p> | |
| </div> | |
| </section> | |
| <!-- Download Section --> | |
| <section id="download" class="py-16 bg-gray-50 hidden"> | |
| <div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="p-8"> | |
| <h2 class="text-2xl font-bold text-gray-900 mb-2">Your Downloads</h2> | |
| <p class="text-gray-600 mb-6">Access your purchased resources below</p> | |
| <div class="border border-gray-200 rounded-lg divide-y divide-gray-200"> | |
| <!-- Setup Guide --> | |
| <div class="p-4 flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <div class="bg-blue-100 rounded-lg w-12 h-12 flex items-center justify-center mr-4"> | |
| <i class="fas fa-book text-blue-600 text-xl"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-900">PiWorkstation Setup Guide</h4> | |
| <p class="text-sm text-gray-500">PDF • 12MB</p> | |
| </div> | |
| </div> | |
| <a href="#" class="bg-blue-600 text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-blue-700 transition duration-200 download-btn" data-file="setup-guide"> | |
| <i class="fas fa-download mr-2"></i> Download | |
| </a> | |
| </div> | |
| <!-- Software Bundle --> | |
| <div class="p-4 flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <div class="bg-purple-100 rounded-lg w-12 h-12 flex items-center justify-center mr-4"> | |
| <i class="fas fa-download text-purple-600 text-xl"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-900">Optimized Software Bundle</h4> | |
| <p class="text-sm text-gray-500">ZIP • 1.2GB</p> | |
| </div> | |
| </div> | |
| <a href="#" class="bg-blue-600 text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-blue-700 transition duration-200 download-btn" data-file="software-bundle"> | |
| <i class="fas fa-download mr-2"></i> Download | |
| </a> | |
| </div> | |
| <!-- Bonus Resources --> | |
| <div class="p-4 flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <div class="bg-green-100 rounded-lg w-12 h-12 flex items-center justify-center mr-4"> | |
| <i class="fas fa-gift text-green-600 text-xl"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-900">Bonus Developer Resources</h4> | |
| <p class="text-sm text-gray-500">ZIP • 350MB</p> | |
| </div> | |
| </div> | |
| <a href="#" class="bg-blue-600 text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-blue-700 transition duration-200 download-btn" data-file="bonus-resources"> | |
| <i class="fas fa-download mr-2"></i> Download | |
| </a> | |
| </div> | |
| </div> | |
| <div class="mt-8 bg-yellow-50 border border-yellow-200 rounded-lg p-4"> | |
| <div class="flex"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-exclamation-circle text-yellow-500 mt-1"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <h3 class="text-sm font-medium text-yellow-800">Download Notice</h3> | |
| <div class="mt-2 text-sm text-yellow-700"> | |
| <p>Your download links will expire in 24 hours. You have <span class="font-bold">3</span> download attempts remaining for each file.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- FAQ Section --> | |
| <section class="py-16 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">Frequently Asked Questions</h2> | |
| <p class="text-lg text-gray-600 max-w-3xl mx-auto">Everything you need to know about the PiWorkstation</p> | |
| </div> | |
| <div class="max-w-3xl mx-auto"> | |
| <div class="space-y-4"> | |
| <div class="border border-gray-200 rounded-lg overflow-hidden"> | |
| <button class="faq-btn w-full px-6 py-4 text-left font-medium text-gray-900 bg-gray-50 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <div class="flex items-center justify-between"> | |
| <span>What's included in the PiWorkstation package?</span> | |
| <i class="fas fa-chevron-down transition-transform duration-200"></i> | |
| </div> | |
| </button> | |
| <div class="faq-content px-6 pb-4 hidden"> | |
| <p class="text-gray-600">The Complete Bundle includes our premium aluminum case with optimized cooling, a 5V/2.5A power supply, mini HDMI to HDMI adapter, micro USB to USB adapter, and a 32GB microSD card pre-loaded with Raspberry Pi OS and our optimization scripts.</p> | |
| </div> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg overflow-hidden"> | |
| <button class="faq-btn w-full px-6 py-4 text-left font-medium text-gray-900 bg-gray-50 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <div class="flex items-center justify-between"> | |
| <span>How long does shipping take?</span> | |
| <i class="fas fa-chevron-down transition-transform duration-200"></i> | |
| </div> | |
| </button> | |
| <div class="faq-content px-6 pb-4 hidden"> | |
| <p class="text-gray-600">We ship all orders within 1-2 business days via USPS or FedEx. Domestic orders typically arrive in 3-5 business days. International shipping times vary by destination but generally take 7-14 business days. Tracking information will be provided once your order ships.</p> | |
| </div> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg overflow-hidden"> | |
| <button class="faq-btn w-full px-6 py-4 text-left font-medium text-gray-900 bg-gray-50 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <div class="flex items-center justify-between"> | |
| <span>Is the Raspberry Pi Zero 2W included?</span> | |
| <i class="fas fa-chevron-down transition-transform duration-200"></i> | |
| </div> | |
| </button> | |
| <div class="faq-content px-6 pb-4 hidden"> | |
| <p class="text-gray-600">No, the Raspberry Pi Zero 2W board is not included in our packages. This allows us to keep costs down for customers who may already own the board. The PiWorkstation case and accessories are designed specifically for the Zero 2W model.</p> | |
| </div> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg overflow-hidden"> | |
| <button class="faq-btn w-full px-6 py-4 text-left font-medium text-gray-900 bg-gray-50 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <div class="flex items-center justify-between"> | |
| <span>What's your return policy?</span> | |
| <i class="fas fa-chevron-down transition-transform duration-200"></i> | |
| </div> | |
| </button> | |
| <div class="faq-content px-6 pb-4 hidden"> | |
| <p class="text-gray-600">We offer a 30-day money-back guarantee on all our products. If you're not completely satisfied with your PiWorkstation, simply contact our support team to initiate a return. The product must be returned in its original condition with all accessories. Shipping costs are non-refundable.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white pt-16 pb-8"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-12"> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">PiWorkstation</h3> | |
| <p class="text-gray-400">The ultimate portable computing solution built around Raspberry Pi Zero 2W.</p> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Quick Links</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#features" class="text-gray-400 hover:text-white transition duration-200">Features</a></li> | |
| <li><a href="#specs" class="text-gray-400 hover:text-white transition duration-200">Specifications</a></li> | |
| <li><a href="#pricing" class="text-gray-400 hover:text-white transition duration-200">Pricing</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-200">Support</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Legal</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-200">Privacy Policy</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-200">Terms of Service</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-200">Shipping Policy</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-200">Refund Policy</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Connect With Us</h3> | |
| <div class="flex space-x-4 mb-4"> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-200"><i class="fab fa-twitter text-xl"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-200"><i class="fab fa-facebook text-xl"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-200"><i class="fab fa-instagram text-xl"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-200"><i class="fab fa-github text-xl"></i></a> | |
| </div> | |
| <p class="text-gray-400">Subscribe to our newsletter</p> | |
| <form class="mt-2 flex"> | |
| <input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-md text-gray-900 w-full"> | |
| <button type="submit" class="bg-blue-600 text-white px-4 py-2 rounded-r-md hover:bg-blue-700 transition duration-200"> | |
| <i class="fas fa-paper-plane"></i> | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 pt-8 flex flex-col md:flex-row justify-between items-center"> | |
| <p class="text-gray-400 mb-4 md:mb-0">© 2023 PiWorkstation. All rights reserved.</p> | |
| <div class="flex space-x-6"> | |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/stripe/stripe-original.svg" class="h-8" alt="Stripe"> | |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/visa/visa-original.svg" class="h-6" alt="Visa"> | |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/mastercard/mastercard-original.svg" class="h-6" alt="Mastercard"> | |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/paypal/paypal-original.svg" class="h-6" alt="PayPal"> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Mobile menu toggle | |
| document.getElementById('menu-btn').addEventListener('click', function() { | |
| const menu = document.getElementById('mobile-menu'); | |
| menu.classList.toggle('hidden'); | |
| }); | |
| // FAQ accordion | |
| document.querySelectorAll('.faq-btn').forEach(button => { | |
| button.addEventListener('click', () => { | |
| const content = button.nextElementSibling; | |
| const icon = button.querySelector('i'); | |
| content.classList.toggle('hidden'); | |
| icon.classList.toggle('transform'); | |
| icon.classList.toggle('rotate-180'); | |
| }); | |
| }); | |
| // Lead form submission | |
| document.getElementById('lead-form').addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| const name = document.getElementById('name').value; | |
| const email = document.getElementById('email').value; | |
| // In a real app, you would send this data to your server | |
| console.log('Lead captured:', { name, email }); | |
| // Show success message (in a real app, you might redirect) | |
| alert(`Thanks, ${name}! Check your email (${email}) for your discount code.`); | |
| // Reset form | |
| this.reset(); | |
| // Scroll to sales page | |
| document.querySelector('#features').scrollIntoView({ behavior: 'smooth' }); | |
| }); | |
| // Package selection | |
| document.querySelectorAll('[href="#checkout"]').forEach(link => { | |
| link.addEventListener('click', function(e) { | |
| e.preventDefault(); | |
| // Get package details from clicked card | |
| const card = this.closest('.product-card'); | |
| const title = card.querySelector('h3').textContent; | |
| const price = card.querySelector('span.text-4xl').textContent; | |
| const shipping = card.querySelector('span.text-gray-500').textContent.includes('free') ? 'Free' : '$5.99'; | |
| // Update checkout section | |
| document.getElementById('selected-package').textContent = title; | |
| document.getElementById('package-price').textContent = price; | |
| document.getElementById('shipping-cost').textContent = shipping; | |
| document.getElementById('total-price').textContent = price; | |
| // Show checkout section | |
| document.querySelector('#checkout').classList.remove('hidden'); | |
| document.querySelector('#checkout').scrollIntoView({ behavior: 'smooth' }); | |
| }); | |
| }); | |
| // Payment form submission | |
| document.getElementById('payment-form').addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| // In a real app, you would process payment via Stripe API | |
| console.log('Payment submitted'); | |
| // Get customer email for thank you page | |
| const email = document.getElementById('email').value; | |
| document.getElementById('customer-email').textContent = email; | |
| // Generate random order number | |
| const orderNum = 'PI2023-' + Math.floor(10000 + Math.random() * 90000); | |
| document.getElementById('order-number').textContent = orderNum; | |
| // Hide checkout, show thank you page | |
| document.querySelector('#checkout').classList.add('hidden'); | |
| document.querySelector('#thank-you').classList.remove('hidden'); | |
| document.querySelector('#thank-you').scrollIntoView({ behavior: 'smooth' }); | |
| }); | |
| // Download buttons | |
| document.querySelectorAll('.download-btn').forEach(btn => { | |
| btn.addEventListener('click', function(e) { | |
| e.preventDefault(); | |
| const file = this.getAttribute('data-file'); | |
| // In a real app, this would initiate a secure download | |
| alert(`Starting download: ${file}.zip`); | |
| // Track download attempts (simplified) | |
| const notice = document.querySelector('.bg-yellow-50'); | |
| if (notice) { | |
| notice.querySelector('span.font-bold').textContent = '2'; | |
| } | |
| }); | |
| }); | |
| // Update total price when OTOs are selected | |
| document.querySelectorAll('#oto1, #oto2').forEach(checkbox => { | |
| checkbox.addEventListener('change', function() { | |
| const basePrice = parseFloat(document.getElementById('package-price').textContent.replace('$', '')); | |
| let total = basePrice; | |
| if (document.getElementById('oto1').checked) { | |
| total += 19.99; | |
| } | |
| if (document.getElementById('oto2').checked) { | |
| total += 29.99; | |
| } | |
| document.getElementById('total-price').textContent = '$' + total.toFixed(2); | |
| // Update payment button | |
| const payBtn = document.querySelector('#payment-form button[type="submit"]'); | |
| payBtn.innerHTML = `<i class="fas fa-lock mr-2"></i><span>Pay $${total.toFixed(2)}</span>`; | |
| }); | |
| }); | |
| </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=S-Dreamer/piworkstation" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |