Spaces:
Running
Running
Download services.html from jisoe/contentcraft-AI: direct link, hf CLI and curl.
- Browser
- Download file 24.6 kB
-
https://huggingface.co/spaces/jisoe/contentcraft-AI/resolve/main/services.html
- Command line
-
hf download hf://spaces/jisoe/contentcraft-AI/services.html
-
curl -L -o services.html https://huggingface.co/spaces/jisoe/contentcraft-AI/resolve/main/services.html
24.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Services & Pricing - ContentCraft AI</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://js.stripe.com/v3/"></script> | |
| <script> | |
| // Stripe configuration | |
| const stripe = Stripe('pk_test_51QNq8xRw2vV6x8V9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789'); | |
| </script> | |
| <style> | |
| .pricing-card { | |
| transition: all 0.3s ease; | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); | |
| } | |
| .pricing-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); | |
| } | |
| .popular-badge { | |
| background: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%); | |
| } | |
| .feature-item { | |
| position: relative; | |
| padding-left: 1.75rem; | |
| } | |
| .feature-item:before { | |
| content: ""; | |
| position: absolute; | |
| left: 0; | |
| top: 0.5rem; | |
| width: 1rem; | |
| height: 1rem; | |
| background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2306b6d4'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E"); | |
| background-repeat: no-repeat; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans antialiased"> | |
| <!-- Navigation --> | |
| <nav class="relative z-10 bg-white shadow-sm"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16"> | |
| <div class="flex items-center"> | |
| <a href="index.html" class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-cyan-500 to-indigo-500">ContentCraft AI</a> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-8"> | |
| <a href="index.html" class="text-gray-700 hover:text-primary-500 font-medium">Home</a> | |
| <a href="services.html" class="text-primary-500 font-medium">Services</a> | |
| <a href="about.html" class="text-gray-700 hover:text-primary-500 font-medium">About</a> | |
| <a href="faq.html" class="text-gray-700 hover:text-primary-500 font-medium">FAQ</a> | |
| <button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-2 rounded-lg font-medium transition-colors">Get Started</button> | |
| </div> | |
| <div class="md:hidden flex items-center"> | |
| <button> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero --> | |
| <section class="bg-gradient-to-r from-primary-500 to-secondary-500 text-white py-20"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center"> | |
| <h1 class="text-4xl md:text-5xl font-bold mb-6 text-black">Simple, Transparent Pricing</h1> | |
| <p class="text-xl max-w-3xl mx-auto text-gray-700"> | |
| Choose the perfect plan for your content needs. Scale up or down as your business grows. | |
| </p> | |
| </div> | |
| </section> | |
| <!-- Pricing Toggle --> | |
| <section class="py-12"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-center mb-12"> | |
| <div class="inline-flex rounded-lg bg-gray-100 p-1"> | |
| <button id="monthly-btn" class="px-6 py-2 rounded-lg font-medium bg-white text-primary-500 shadow-sm">Monthly</button> | |
| <button id="yearly-btn" class="px-6 py-2 rounded-lg font-medium text-gray-600 hover:text-primary-500">Yearly <span class="text-sm bg-primary-100 text-primary-600 px-2 py-0.5 rounded ml-1">Save 20%</span></button> | |
| </div> | |
| </div> | |
| <!-- Pricing Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <!-- Basic Plan --> | |
| <div class="pricing-card bg-white rounded-xl overflow-hidden"> | |
| <div class="p-8"> | |
| <h3 class="text-xl font-bold text-gray-900 mb-2">Basic</h3> | |
| <p class="text-gray-600 mb-6">Perfect for individuals and small businesses</p> | |
| <div class="mb-6"> | |
| <span class="text-4xl font-bold text-gray-900">$29</span> | |
| <span class="text-gray-500">/month</span> | |
| </div> | |
| <button id="basic-plan-btn" class="w-full bg-gray-100 hover:bg-gray-200 text-gray-800 py-3 rounded-lg font-medium transition-colors"> | |
| Get Started | |
| </button> | |
| </div> | |
| <div class="border-t border-gray-100 p-8 bg-gray-50"> | |
| <h4 class="font-medium text-gray-900 mb-4">Features:</h4> | |
| <ul class="space-y-3"> | |
| <li class="feature-item">10,000 words per month</li> | |
| <li class="feature-item">5 blog articles</li> | |
| <li class="feature-item">Basic SEO optimization</li> | |
| <li class="feature-item">Standard writing quality</li> | |
| <li class="feature-item">Email support</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Pro Plan (Popular) --> | |
| <div class="pricing-card bg-white rounded-xl overflow-hidden transform scale-105 relative"> | |
| <div class="absolute top-0 right-0 bg-primary-500 text-white text-xs font-bold px-3 py-1 rounded-bl-lg rounded-tr-lg"> | |
| MOST POPULAR | |
| </div> | |
| <div class="p-8"> | |
| <h3 class="text-xl font-bold text-gray-900 mb-2">Pro</h3> | |
| <p class="text-gray-600 mb-6">For growing businesses and content teams</p> | |
| <div class="mb-6"> | |
| <span class="text-4xl font-bold text-gray-900">$79</span> | |
| <span class="text-gray-500">/month</span> | |
| </div> | |
| <button id="pro-plan-btn" class="w-full bg-primary-500 hover:bg-primary-600 text-white py-3 rounded-lg font-medium transition-colors"> | |
| Get Started | |
| </button> | |
| </div> | |
| <div class="border-t border-gray-100 p-8 bg-gray-50"> | |
| <h4 class="font-medium text-gray-900 mb-4">Features:</h4> | |
| <ul class="space-y-3"> | |
| <li class="feature-item">50,000 words per month</li> | |
| <li class="feature-item">25 blog articles</li> | |
| <li class="feature-item">Advanced SEO optimization</li> | |
| <li class="feature-item">Premium writing quality</li> | |
| <li class="feature-item">Content strategy tools</li> | |
| <li class="feature-item">Priority email support</li> | |
| <li class="feature-item">Style customization</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Enterprise Plan --> | |
| <div class="pricing-card bg-white rounded-xl overflow-hidden"> | |
| <div class="p-8"> | |
| <h3 class="text-xl font-bold text-gray-900 mb-2">Enterprise</h3> | |
| <p class="text-gray-600 mb-6">For agencies and high-volume content needs</p> | |
| <div class="mb-6"> | |
| <span class="text-4xl font-bold text-gray-900">$199</span> | |
| <span class="text-gray-500">/month</span> | |
| </div> | |
| <button id="enterprise-plan-btn" class="w-full bg-gray-100 hover:bg-gray-200 text-gray-800 py-3 rounded-lg font-medium transition-colors"> | |
| Get Started | |
| </button> | |
| </div> | |
| <div class="border-t border-gray-100 p-8 bg-gray-50"> | |
| <h4 class="font-medium text-gray-900 mb-4">Features:</h4> | |
| <ul class="space-y-3"> | |
| <li class="feature-item">200,000 words per month</li> | |
| <li class="feature-item">100 blog articles</li> | |
| <li class="feature-item">Premium SEO optimization</li> | |
| <li class="feature-item">Human-level writing quality</li> | |
| <li class="feature-item">API access</li> | |
| <li class="feature-item">Team collaboration</li> | |
| <li class="feature-item">Dedicated account manager</li> | |
| <li class="feature-item">24/7 priority support</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Custom Plan --> | |
| <div class="mt-16 bg-white rounded-xl shadow-sm p-8"> | |
| <div class="text-center mb-8"> | |
| <h3 class="text-2xl font-bold text-gray-900">Need a custom plan?</h3> | |
| <p class="text-gray-600 mt-2">We can create a solution tailored to your specific needs</p> | |
| </div> | |
| <div class="max-w-md mx-auto"> | |
| <form> | |
| <div class="mb-4"> | |
| <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email</label> | |
| <input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-primary-500 focus:border-primary-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="message" class="block text-sm font-medium text-gray-700 mb-1">Your Requirements</label> | |
| <textarea id="message" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-primary-500 focus:border-primary-500"></textarea> | |
| </div> | |
| <button type="submit" class="w-full bg-primary-500 hover:bg-primary-600 text-white py-3 rounded-lg font-medium transition-colors"> | |
| Request Custom Plan | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Payment Methods --> | |
| <section class="py-16 bg-gray-100"> | |
| <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">Secure Payment Options</h2> | |
| <p class="text-xl text-gray-600 mt-4">We accept all major payment methods</p> | |
| </div> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-8"> | |
| <div class="bg-white rounded-lg p-6 flex items-center justify-center"> | |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/visa/visa-original.svg" class="h-12" alt="Visa"> | |
| </div> | |
| <div class="bg-white rounded-lg p-6 flex items-center justify-center"> | |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/mastercard/mastercard-original.svg" class="h-12" alt="Mastercard"> | |
| </div> | |
| <div class="bg-white rounded-lg p-6 flex items-center justify-center"> | |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/paypal/paypal-original.svg" class="h-12" alt="PayPal"> | |
| </div> | |
| <div class="bg-white rounded-lg p-6 flex items-center justify-center"> | |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/apple/apple-original.svg" class="h-12" alt="Apple Pay"> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- CTA --> | |
| <section class="py-20 bg-gradient-to-r from-primary-500 to-secondary-500 text-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-6 text-black">Still Have Questions?</h2> | |
| <p class="text-xl max-w-3xl mx-auto mb-10 opacity-90 text-black"> | |
| Our team is here to help you choose the right plan for your needs. | |
| </p> | |
| <button class="bg-white hover:bg-gray-100 text-black px-8 py-4 rounded-lg font-bold text-lg transition-colors shadow-lg"> | |
| Contact Our Sales Team | |
| </button> | |
| </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-12"> | |
| <div> | |
| <h3 class="text-xl font-bold mb-6">ContentCraft AI</h3> | |
| <p class="text-gray-400"> | |
| Revolutionizing content creation with advanced AI technology that delivers human-quality writing at scale. | |
| </p> | |
| <div class="flex space-x-4 mt-6"> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="twitter" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="facebook" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="linkedin" class="w-5 h-5"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="text-sm font-semibold uppercase tracking-wider mb-6">Services</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Blog Articles</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">SEO Content</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Product Descriptions</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Website Copy</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Newsletters</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-sm font-semibold uppercase tracking-wider mb-6">Resources</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Content Guide</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">SEO Tips</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">API Access</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-sm font-semibold uppercase tracking-wider mb-6">Company</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">About Us</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Terms of Service</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="mt-12 pt-8 border-t border-gray-800 flex flex-col md:flex-row justify-between items-center"> | |
| <p class="text-gray-400 text-sm"> | |
| © 2025 ContentCraft AI. All rights reserved. | |
| </p> | |
| <div class="mt-4 md:mt-0 flex space-x-6"> | |
| <a href="#" class="text-gray-400 hover:text-white text-sm">Privacy Policy</a> | |
| <a href="#" class="text-gray-400 hover:text-white text-sm">Terms of Service</a> | |
| <a href="#" class="text-gray-400 hover:text-white text-sm">Cookie Policy</a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <!-- Payment Modal --> | |
| <div id="payment-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden"> | |
| <div class="bg-white rounded-xl p-8 max-w-md w-full mx-4"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-xl font-bold text-gray-900">Complete Your Purchase</h3> | |
| <button id="close-modal" class="text-gray-500 hover:text-gray-700"> | |
| <i data-feather="x" class="w-6 h-6"></i> | |
| </button> | |
| </div> | |
| <div class="mb-6"> | |
| <p class="text-gray-600">You're subscribing to: <span id="selected-plan" class="font-medium text-gray-900">Pro Plan</span></p> | |
| <p class="text-gray-600 mt-1">Amount: <span id="plan-price" class="font-medium text-gray-900">$79/month</span></p> | |
| </div> | |
| <form id="payment-form"> | |
| <div id="card-element" class="border border-gray-300 rounded-lg p-3 mb-4"></div> | |
| <div id="card-errors" role="alert" class="text-red-500 text-sm mb-4"></div> | |
| <button id="submit-payment" class="w-full bg-primary-500 hover:bg-primary-600 text-white py-3 rounded-lg font-medium transition-colors"> | |
| Pay Now | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| // Stripe Payment Integration | |
| const elements = stripe.elements(); | |
| const cardElement = elements.create('card', { | |
| style: { | |
| base: { | |
| fontSize: '16px', | |
| color: '#424770', | |
| '::placeholder': { | |
| color: '#aab7c4', | |
| }, | |
| }); | |
| cardElement.mount('#card-element'); | |
| // Handle form submission | |
| const paymentForm = document.getElementById('payment-form'); | |
| paymentForm.addEventListener('submit', async (event) => { | |
| event.preventDefault(); | |
| const submitButton = document.getElementById('submit-payment'); | |
| submitButton.disabled = true; | |
| submitButton.textContent = 'Processing...'; | |
| const {error, paymentMethod} = await stripe.createPaymentMethod({ | |
| type: 'card', | |
| card: cardElement, | |
| }); | |
| if (error) { | |
| document.getElementById('card-errors').textContent = error.message; | |
| submitButton.disabled = false; | |
| submitButton.textContent = 'Pay Now'; | |
| } else { | |
| // Send payment method to server | |
| try { | |
| const response = await fetch('/api/create-subscription', { | |
| method: 'POST', | |
| headers: { | |
| 'Content-Type': 'application/json', | |
| }, | |
| body: JSON.stringify({ | |
| paymentMethodId: paymentMethod.id, | |
| planId: document.getElementById('selected-plan').textContent.toLowerCase().replace(' plan', ''), | |
| }); | |
| if (!response.ok) { | |
| throw new Error('Payment failed'); | |
| } | |
| const result = await response.json(); | |
| if (result.success) { | |
| document.getElementById('payment-modal').classList.add('hidden'); | |
| alert('Payment successful! Your subscription is now active.'); | |
| } else { | |
| throw new Error('Payment processing failed'); | |
| } | |
| } catch (err) { | |
| document.getElementById('card-errors').textContent = 'Payment failed. Please try again.'; | |
| } | |
| } catch (err) { | |
| document.getElementById('card-errors').textContent = 'Payment failed. Please try again.'; | |
| } | |
| submitButton.disabled = false; | |
| submitButton.textContent = 'Pay Now'; | |
| }, 1500); | |
| } | |
| }); | |
| // Plan selection and modal handling | |
| document.getElementById('basic-plan-btn').addEventListener('click', () => { | |
| document.getElementById('selected-plan').textContent = 'Basic Plan'; | |
| document.getElementById('plan-price').textContent = '$29/month'; | |
| document.getElementById('payment-modal').classList.remove('hidden'); | |
| }); | |
| document.getElementById('pro-plan-btn').addEventListener('click', () => { | |
| document.getElementById('selected-plan').textContent = 'Pro Plan'; | |
| document.getElementById('plan-price').textContent = '$79/month'; | |
| document.getElementById('payment-modal').classList.remove('hidden'); | |
| }); | |
| document.getElementById('enterprise-plan-btn').addEventListener('click', () => { | |
| document.getElementById('selected-plan').textContent = 'Enterprise Plan'; | |
| document.getElementById('plan-price').textContent = '$199/month'; | |
| document.getElementById('payment-modal').classList.remove('hidden'); | |
| }); | |
| document.getElementById('close-modal').addEventListener('click', () => { | |
| document.getElementById('payment-modal').classList.add('hidden'); | |
| }); | |
| // Monthly/Yearly toggle | |
| document.getElementById('monthly-btn').addEventListener('click', () => { | |
| document.getElementById('monthly-btn').classList.add('bg-white', 'text-primary-500', 'shadow-sm'); | |
| document.getElementById('monthly-btn').classList.remove('text-gray-600', 'hover:text-primary-500'); | |
| document.getElementById('yearly-btn').classList.remove('bg-white', 'text-primary-500', 'shadow-sm'); | |
| document.getElementById('yearly-btn').classList.add('text-gray-600', 'hover:text-primary-500'); | |
| // Update prices for monthly | |
| document.querySelectorAll('.pricing-card:nth-child(1) .text-4xl').forEach(el => { | |
| el.textContent = '$29'; | |
| }); | |
| document.querySelectorAll('.pricing-card:nth-child(2) .text-4xl').forEach(el => { | |
| el.textContent = '$79'; | |
| }); | |
| document.querySelectorAll('.pricing-card:nth-child(3) .text-4xl').forEach(el => { | |
| el.textContent = '$199'; | |
| }); | |
| }); | |
| document.getElementById('yearly-btn').addEventListener('click', () => { | |
| document.getElementById('yearly-btn').classList.add('bg-white', 'text-primary-500', 'shadow-sm'); | |
| document.getElementById('yearly-btn').classList.remove('text-gray-600', 'hover:text-primary-500'); | |
| document.getElementById('monthly-btn').classList.remove('bg-white', 'text-primary-500', 'shadow-sm'); | |
| document.getElementById('monthly-btn').classList.add('text-gray-600', 'hover:text-primary-500'); | |
| // Update prices for yearly (20% discount) | |
| document.querySelectorAll('.pricing-card:nth-child(1) .text-4xl').forEach(el => { | |
| el.textContent = '$23'; | |
| }); | |
| document.querySelectorAll('.pricing-card:nth-child(2) .text-4xl').forEach(el => { | |
| el.textContent = '$63'; | |
| }); | |
| document.querySelectorAll('.pricing-card:nth-child(3) .text-4xl').forEach(el => { | |
| el.textContent = '$159'; | |
| }); | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> |