Spaces:
Running
Running
create a crypto/blockchain ecourse for newbies to easily and quickly onboard to a CEX like Coinbase and buy their first coin - Initial Deployment
d57b613 verified | <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Crypto Basics 101 - Start Your Journey</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></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.globe.min.js"></script> | |
| <style> | |
| .hero-gradient { | |
| background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%); | |
| } | |
| .card-hover: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); | |
| } | |
| .progress-bar { | |
| transition: width 0.5s ease-in-out; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans antialiased"> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-sm fixed w-full z-10"> | |
| <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"> | |
| <i data-feather="dollar-sign" class="text-purple-600 mr-2"></i> | |
| <span class="text-xl font-bold text-gray-900">CryptoBasics</span> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-8"> | |
| <a href="#" class="text-purple-600 font-medium">Home</a> | |
| <a href="#course" class="text-gray-600 hover:text-purple-600">Course</a> | |
| <a href="#steps" class="text-gray-600 hover:text-purple-600">Steps</a> | |
| <a href="#faq" class="text-gray-600 hover:text-purple-600">FAQ</a> | |
| </div> | |
| <button class="md:hidden text-gray-500 focus:outline-none"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <div id="hero" class="hero-gradient pt-24 pb-32 text-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="md:flex items-center justify-between"> | |
| <div class="md:w-1/2" data-aos="fade-right"> | |
| <h1 class="text-4xl md:text-5xl font-bold leading-tight mb-6">Your First Crypto Purchase Made Simple</h1> | |
| <p class="text-xl mb-8">From zero to crypto hero in just 30 minutes. Learn how to safely buy your first Bitcoin or Ethereum on Coinbase.</p> | |
| <div class="flex space-x-4"> | |
| <a href="#course" class="bg-white text-purple-600 px-6 py-3 rounded-lg font-medium hover:bg-gray-100 transition duration-300">Start Learning</a> | |
| <a href="#steps" class="border-2 border-white text-white px-6 py-3 rounded-lg font-medium hover:bg-white hover:text-purple-600 transition duration-300">See Steps</a> | |
| </div> | |
| </div> | |
| <div class="md:w-1/2 mt-10 md:mt-0" data-aos="fade-left"> | |
| <img src="http://static.photos/technology/640x360/42" alt="Crypto Education" class="rounded-xl shadow-2xl"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Stats Section --> | |
| <div class="bg-white py-12"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8 text-center"> | |
| <div class="p-6" data-aos="fade-up"> | |
| <div class="text-4xl font-bold text-purple-600 mb-2">30 min</div> | |
| <p class="text-gray-600">To complete the course</p> | |
| </div> | |
| <div class="p-6" data-aos="fade-up" data-aos-delay="100"> | |
| <div class="text-4xl font-bold text-purple-600 mb-2">5</div> | |
| <p class="text-gray-600">Simple steps to follow</p> | |
| </div> | |
| <div class="p-6" data-aos="fade-up" data-aos-delay="200"> | |
| <div class="text-4xl font-bold text-purple-600 mb-2">100%</div> | |
| <p class="text-gray-600">Beginner friendly</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Course Overview --> | |
| <section id="course" 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" data-aos="fade-up">What You'll Learn</h2> | |
| <p class="text-xl text-gray-600 max-w-3xl mx-auto" data-aos="fade-up" data-aos-delay="100">A step-by-step guide to buying your first cryptocurrency safely on Coinbase</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="bg-white p-8 rounded-xl shadow-md card-hover transition duration-300" data-aos="fade-up"> | |
| <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-6"> | |
| <i data-feather="user" class="text-purple-600 w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-4">Create Your Account</h3> | |
| <p class="text-gray-600">Learn how to set up your Coinbase account with proper security measures including 2FA.</p> | |
| </div> | |
| <div class="bg-white p-8 rounded-xl shadow-md card-hover transition duration-300" data-aos="fade-up" data-aos-delay="100"> | |
| <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-6"> | |
| <i data-feather="credit-card" class="text-purple-600 w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-4">Link Payment Method</h3> | |
| <p class="text-gray-600">Connect your bank account or debit card to start purchasing crypto.</p> | |
| </div> | |
| <div class="bg-white p-8 rounded-xl shadow-md card-hover transition duration-300" data-aos="fade-up" data-aos-delay="200"> | |
| <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-6"> | |
| <i data-feather="dollar-sign" class="text-purple-600 w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-4">Make Your First Purchase</h3> | |
| <p class="text-gray-600">Step-by-step guide to buying Bitcoin, Ethereum or other cryptocurrencies.</p> | |
| </div> | |
| <div class="bg-white p-8 rounded-xl shadow-md card-hover transition duration-300" data-aos="fade-up"> | |
| <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-6"> | |
| <i data-feather="shield" class="text-purple-600 w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-4">Security Best Practices</h3> | |
| <p class="text-gray-600">Essential security tips to protect your investment from hackers and scams.</p> | |
| </div> | |
| <div class="bg-white p-8 rounded-xl shadow-md card-hover transition duration-300" data-aos="fade-up" data-aos-delay="100"> | |
| <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-6"> | |
| <i data-feather="trending-up" class="text-purple-600 w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-4">Track Your Investment</h3> | |
| <p class="text-gray-600">Learn how to monitor your crypto portfolio and understand market movements.</p> | |
| </div> | |
| <div class="bg-white p-8 rounded-xl shadow-md card-hover transition duration-300" data-aos="fade-up" data-aos-delay="200"> | |
| <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-6"> | |
| <i data-feather="arrow-right" class="text-purple-600 w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-4">Next Steps</h3> | |
| <p class="text-gray-600">Where to go after your first purchase - wallets, DeFi, and more advanced topics.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Step-by-Step Guide --> | |
| <section id="steps" 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" data-aos="fade-up">5 Simple Steps to Buy Crypto</h2> | |
| <p class="text-xl text-gray-600 max-w-3xl mx-auto" data-aos="fade-up" data-aos-delay="100">Follow this beginner-friendly guide to make your first purchase</p> | |
| </div> | |
| <div class="relative"> | |
| <!-- Progress bar --> | |
| <div class="hidden md:block absolute left-8 top-0 h-full w-1 bg-gray-200" style="margin-left: 1.75rem;"> | |
| <div class="progress-bar bg-purple-600 h-0 w-full" style="height: 100%;"></div> | |
| </div> | |
| <!-- Steps --> | |
| <div class="space-y-12"> | |
| <!-- Step 1 --> | |
| <div class="relative flex" data-aos="fade-up"> | |
| <div class="flex-shrink-0 w-14 h-14 rounded-full bg-purple-600 flex items-center justify-center text-white font-bold text-xl z-10"> | |
| 1 | |
| </div> | |
| <div class="ml-6 flex-grow"> | |
| <div class="bg-gray-50 p-6 rounded-lg shadow-sm"> | |
| <h3 class="text-xl font-bold mb-3">Sign Up on Coinbase</h3> | |
| <p class="text-gray-600 mb-4">Go to Coinbase.com and click "Get Started" to create your account. You'll need to provide your name, email, and create a strong password.</p> | |
| <div class="bg-white p-4 rounded border border-gray-200"> | |
| <div class="flex items-center"> | |
| <i data-feather="alert-circle" class="text-yellow-500 mr-2"></i> | |
| <span class="font-medium">Pro Tip:</span> | |
| </div> | |
| <p class="mt-2 text-gray-600">Use a password manager to generate and store a strong, unique password for your Coinbase account.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Step 2 --> | |
| <div class="relative flex" data-aos="fade-up" data-aos-delay="100"> | |
| <div class="flex-shrink-0 w-14 h-14 rounded-full bg-purple-600 flex items-center justify-center text-white font-bold text-xl z-10"> | |
| 2 | |
| </div> | |
| <div class="ml-6 flex-grow"> | |
| <div class="bg-gray-50 p-6 rounded-lg shadow-sm"> | |
| <h3 class="text-xl font-bold mb-3">Verify Your Identity</h3> | |
| <p class="text-gray-600 mb-4">Coinbase requires ID verification for security. You'll need to upload a photo of your government-issued ID and take a selfie.</p> | |
| <div class="flex flex-wrap gap-4 mt-4"> | |
| <div class="flex items-center"> | |
| <i data-feather="check" class="text-green-500 mr-2"></i> | |
| <span>Driver's License</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i data-feather="check" class="text-green-500 mr-2"></i> | |
| <span>Passport</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i data-feather="check" class="text-green-500 mr-2"></i> | |
| <span>National ID</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Step 3 --> | |
| <div class="relative flex" data-aos="fade-up" data-aos-delay="200"> | |
| <div class="flex-shrink-0 w-14 h-14 rounded-full bg-purple-600 flex items-center justify-center text-white font-bold text-xl z-10"> | |
| 3 | |
| </div> | |
| <div class="ml-6 flex-grow"> | |
| <div class="bg-gray-50 p-6 rounded-lg shadow-sm"> | |
| <h3 class="text-xl font-bold mb-3">Add Payment Method</h3> | |
| <p class="text-gray-600 mb-4">Link your bank account or debit card. Bank transfers are usually free but take 3-5 days. Debit cards process instantly but have fees.</p> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-4 mt-4"> | |
| <div class="bg-white p-4 rounded border border-gray-200"> | |
| <div class="flex items-center mb-2"> | |
| <i data-feather="credit-card" class="text-blue-500 mr-2"></i> | |
| <span class="font-medium">Debit Card</span> | |
| </div> | |
| <p class="text-sm text-gray-600">Instant purchase, ~3.99% fee</p> | |
| </div> | |
| <div class="bg-white p-4 rounded border border-gray-200"> | |
| <div class="flex items-center mb-2"> | |
| <i data-feather="bank" class="text-green-500 mr-2"></i> | |
| <span class="font-medium">Bank Transfer</span> | |
| </div> | |
| <p class="text-sm text-gray-600">Free, takes 3-5 days</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Step 4 --> | |
| <div class="relative flex" data-aos="fade-up" data-aos-delay="300"> | |
| <div class="flex-shrink-0 w-14 h-14 rounded-full bg-purple-600 flex items-center justify-center text-white font-bold text-xl z-10"> | |
| 4 | |
| </div> | |
| <div class="ml-6 flex-grow"> | |
| <div class="bg-gray-50 p-6 rounded-lg shadow-sm"> | |
| <h3 class="text-xl font-bold mb-3">Enable Two-Factor Authentication</h3> | |
| <p class="text-gray-600 mb-4">For maximum security, set up 2FA using an authenticator app like Google Authenticator or Authy.</p> | |
| <div class="flex items-start mt-4"> | |
| <i data-feather="alert-triangle" class="text-red-500 mr-2 mt-1"></i> | |
| <p class="text-gray-600"><span class="font-medium">Important:</span> Never share your 2FA codes with anyone. Coinbase will never ask for them.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Step 5 --> | |
| <div class="relative flex" data-aos="fade-up" data-aos-delay="400"> | |
| <div class="flex-shrink-0 w-14 h-14 rounded-full bg-purple-600 flex items-center justify-center text-white font-bold text-xl z-10"> | |
| 5 | |
| </div> | |
| <div class="ml-6 flex-grow"> | |
| <div class="bg-gray-50 p-6 rounded-lg shadow-sm"> | |
| <h3 class="text-xl font-bold mb-3">Make Your First Purchase</h3> | |
| <p class="text-gray-600 mb-4">Navigate to the "Buy/Sell" tab, select the cryptocurrency you want (we recommend starting with Bitcoin or Ethereum), enter the amount, and confirm your purchase.</p> | |
| <div class="bg-white p-4 rounded border border-gray-200 mt-4"> | |
| <p class="text-gray-600"><span class="font-medium">Remember:</span> Only invest what you can afford to lose. Crypto markets are volatile.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Video Demo --> | |
| <section class="py-16 bg-purple-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4" data-aos="fade-up">Watch the Process</h2> | |
| <p class="text-xl text-gray-600 max-w-3xl mx-auto" data-aos="fade-up" data-aos-delay="100">See exactly how to buy crypto on Coinbase with our step-by-step video guide</p> | |
| </div> | |
| <div class="aspect-w-16 aspect-h-9 rounded-xl overflow-hidden shadow-xl" data-aos="zoom-in"> | |
| <div class="w-full h-96 bg-gray-200 flex items-center justify-center"> | |
| <div class="text-center"> | |
| <i data-feather="play-circle" class="w-16 h-16 text-purple-600 mx-auto"></i> | |
| <p class="mt-4 text-gray-600">Video demonstration coming soon</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- FAQ Section --> | |
| <section id="faq" 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" data-aos="fade-up">Frequently Asked Questions</h2> | |
| <p class="text-xl text-gray-600 max-w-3xl mx-auto" data-aos="fade-up" data-aos-delay="100">Answers to common questions from beginners</p> | |
| </div> | |
| <div class="max-w-3xl mx-auto"> | |
| <div class="space-y-6"> | |
| <!-- FAQ Item 1 --> | |
| <div class="border border-gray-200 rounded-lg overflow-hidden" data-aos="fade-up"> | |
| <button class="faq-toggle w-full flex justify-between items-center p-6 focus:outline-none"> | |
| <h3 class="text-lg font-medium text-left">Is Coinbase safe to use?</h3> | |
| <i data-feather="chevron-down" class="text-purple-600 transform transition-transform duration-300"></i> | |
| </button> | |
| <div class="faq-content px-6 pb-6 hidden"> | |
| <p class="text-gray-600">Yes, Coinbase is one of the most reputable and secure cryptocurrency exchanges. They store 98% of customer funds in offline cold storage, are insured against breaches, and comply with strict financial regulations. However, you should always enable 2FA and follow security best practices.</p> | |
| </div> | |
| </div> | |
| <!-- FAQ Item 2 --> | |
| <div class="border border-gray-200 rounded-lg overflow-hidden" data-aos="fade-up" data-aos-delay="100"> | |
| <button class="faq-toggle w-full flex justify-between items-center p-6 focus:outline-none"> | |
| <h3 class="text-lg font-medium text-left">How much should I invest as a beginner?</h3> | |
| <i data-feather="chevron-down" class="text-purple-600 transform transition-transform duration-300"></i> | |
| </button> | |
| <div class="faq-content px-6 pb-6 hidden"> | |
| <p class="text-gray-600">Only invest what you can afford to lose. A good rule of thumb is to start with a small amount (like $50-$100) to get comfortable with the process before committing more funds. Cryptocurrencies are volatile, so never invest money you might need in the short term.</p> | |
| </div> | |
| </div> | |
| <!-- FAQ Item 3 --> | |
| <div class="border border-gray-200 rounded-lg overflow-hidden" data-aos="fade-up" data-aos-delay="200"> | |
| <button class="faq-toggle w-full flex justify-between items-center p-6 focus:outline-none"> | |
| <h3 class="text-lg font-medium text-left">What's the difference between Bitcoin and Ethereum?</h3> | |
| <i data-feather="chevron-down" class="text-purple-600 transform transition-transform duration-300"></i> | |
| </button> | |
| <div class="faq-content px-6 pb-6 hidden"> | |
| <p class="text-gray-600">Bitcoin is primarily a digital currency and store of value, while Ethereum is a programmable blockchain that supports smart contracts and decentralized applications. Bitcoin is often called "digital gold," while Ethereum is more like a "world computer." Both are good starting points for beginners.</p> | |
| </div> | |
| </div> | |
| <!-- FAQ Item 4 --> | |
| <div class="border border-gray-200 rounded-lg overflow-hidden" data-aos="fade-up" data-aos-delay="300"> | |
| <button class="faq-toggle w-full flex justify-between items-center p-6 focus:outline-none"> | |
| <h3 class="text-lg font-medium text-left">When should I consider a crypto wallet?</h3> | |
| <i data-feather="chevron-down" class="text-purple-600 transform transition-transform duration-300"></i> | |
| </button> | |
| <div class="faq-content px-6 pb-6 hidden"> | |
| <p class="text-gray-600">For small amounts (under $1,000), keeping your crypto on Coinbase is generally fine. If you accumulate more value or want full control over your assets, consider transferring to a hardware wallet like Ledger or Trezor. Never store large amounts on exchanges long-term.</p> | |
| </div> | |
| </div> | |
| <!-- FAQ Item 5 --> | |
| <div class="border border-gray-200 rounded-lg overflow-hidden" data-aos="fade-up" data-aos-delay="400"> | |
| <button class="faq-toggle w-full flex justify-between items-center p-6 focus:outline-none"> | |
| <h3 class="text-lg font-medium text-left">How do I sell my crypto when I want to?</h3> | |
| <i data-feather="chevron-down" class="text-purple-600 transform transition-transform duration-300"></i> | |
| </button> | |
| <div class="faq-content px-6 pb-6 hidden"> | |
| <p class="text-gray-600">The process is similar to buying. Go to the "Buy/Sell" tab on Coinbase, select "Sell," choose the cryptocurrency you want to sell, enter the amount, and confirm. The funds will be deposited to your linked bank account, usually within 1-3 business days.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- CTA Section --> | |
| <section class="py-16 hero-gradient text-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center"> | |
| <h2 class="text-3xl font-bold mb-6" data-aos="fade-up">Ready to Start Your Crypto Journey?</h2> | |
| <p class="text-xl mb-8 max-w-3xl mx-auto" data-aos="fade-up" data-aos-delay="100">Join thousands of beginners who've successfully bought their first cryptocurrency using this guide.</p> | |
| <a href="#course" class="inline-block bg-white text-purple-600 px-8 py-4 rounded-lg font-bold text-lg hover:bg-gray-100 transition duration-300 shadow-lg" data-aos="zoom-in">Begin Learning Now</a> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white py-12"> | |
| <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"> | |
| <div> | |
| <div class="flex items-center mb-4"> | |
| <i data-feather="dollar-sign" class="text-purple-400 mr-2"></i> | |
| <span class="text-xl font-bold">CryptoBasics</span> | |
| </div> | |
| <p class="text-gray-400">Making cryptocurrency accessible to everyone through simple, step-by-step education.</p> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Resources</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Glossary</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Tools</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">Disclaimer</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Privacy Policy</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Terms of Service</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Connect</h3> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="twitter"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="facebook"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="instagram"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="youtube"></i></a> | |
| </div> | |
| <p class="mt-4 text-gray-400">Subscribe to our newsletter</p> | |
| <div class="mt-2 flex"> | |
| <input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-lg text-gray-900 focus:outline-none w-full"> | |
| <button class="bg-purple-600 px-4 py-2 rounded-r-lg hover:bg-purple-700 transition">Join</button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-400"> | |
| <p>© 2023 CryptoBasics. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Initialize AOS | |
| AOS.init({ | |
| duration: 800, | |
| easing: 'ease-in-out', | |
| once: true | |
| }); | |
| // Initialize Feather Icons | |
| feather.replace(); | |
| // FAQ toggle functionality | |
| document.querySelectorAll('.faq-toggle').forEach(button => { | |
| button.addEventListener('click', () => { | |
| const content = button.nextElementSibling; | |
| const icon = button.querySelector('i'); | |
| // Toggle content | |
| content.classList.toggle('hidden'); | |
| // Rotate icon | |
| if (content.classList.contains('hidden')) { | |
| icon.style.transform = 'rotate(0deg)'; | |
| } else { | |
| icon.style.transform = 'rotate(180deg)'; | |
| } | |
| }); | |
| }); | |
| // Animate progress bar on scroll | |
| window.addEventListener('scroll', () => { | |
| const progressBar = document.querySelector('.progress-bar'); | |
| const scrollPosition = window.scrollY; | |
| const documentHeight = document.body.scrollHeight - window.innerHeight; | |
| const scrollPercentage = (scrollPosition / documentHeight) * 100; | |
| progressBar.style.height = `${scrollPercentage}%`; | |
| }); | |
| // Vanta.js background for hero section | |
| VANTA.GLOBE({ | |
| el: "#hero", | |
| mouseControls: true, | |
| touchControls: true, | |
| gyroControls: false, | |
| minHeight: 200.00, | |
| minWidth: 200.00, | |
| scale: 1.00, | |
| scaleMobile: 1.00, | |
| color: 0x7b5cfa, | |
| backgroundColor: 0x0, | |
| size: 0.8 | |
| }); | |
| </script> | |
| </body> | |
| </html> | |