Download index.html from BVK2/archids: direct link, hf CLI and curl.
- Browser
- Download file 24.8 kB
-
https://huggingface.co/spaces/BVK2/archids/resolve/main/index.html
- Command line
-
hf download hf://spaces/BVK2/archids/index.html
-
curl -L -o index.html https://huggingface.co/spaces/BVK2/archids/resolve/main/index.html
24.8 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Orchids - Make something beautiful</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> | |
| @import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap'); | |
| @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap'); | |
| body { | |
| font-family: 'Rajdhani', sans-serif; | |
| background-color: #0a0a1a; | |
| color: #e0e0ff; | |
| } | |
| .flower-icon { | |
| text-shadow: 0 0 10px #00f7ff, 0 0 20px #0084ff; | |
| color: #00f7ff; | |
| animation: pulse 2s infinite alternate; | |
| } | |
| @keyframes pulse { | |
| from { text-shadow: 0 0 10px #00f7ff, 0 0 20px #0084ff; } | |
| to { text-shadow: 0 0 15px #00f7ff, 0 0 30px #0084ff, 0 0 40px #0062ff; } | |
| } | |
| .hero-gradient { | |
| background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%); | |
| } | |
| .card-hover { | |
| transition: all 0.3s ease; | |
| border: 1px solid rgba(0, 199, 255, 0.2); | |
| background: rgba(10, 20, 40, 0.7); | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 0 15px rgba(0, 199, 255, 0.5); | |
| border: 1px solid rgba(0, 199, 255, 0.5); | |
| } | |
| .input-focus:focus { | |
| outline: none; | |
| box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); | |
| } | |
| .font-serif { | |
| font-family: 'Playfair Display', serif; | |
| } | |
| </style> | |
| </head> | |
| <body class="antialiased"> | |
| <!-- Background with overlay --> | |
| <div class="fixed inset-0 bg-gradient-to-br from-blue-50 to-blue-100 -z-10"> | |
| <div class="absolute inset-0 bg-black/5"></div> | |
| </div> | |
| <!-- Navigation --> | |
| <nav class="fixed top-0 left-0 right-0 py-4 px-4 md:px-8 bg-black/70 backdrop-blur-sm border-b border-cyan-500/20 z-20"> | |
| <div class="max-w-7xl mx-auto flex items-center justify-between"> | |
| <div class="flex items-center space-x-2"> | |
| <div class="flower-icon text-2xl"> | |
| <i class="fas fa-spa"></i> | |
| </div> | |
| <span class="text-xl font-semibold text-gray-800">orchids</span> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-6"> | |
| <a href="#" class="text-sm font-medium text-gray-600 hover:text-blue-600 transition">Features</a> | |
| <a href="#" class="text-sm font-medium text-gray-600 hover:text-blue-600 transition">Templates</a> | |
| <a href="#" class="text-sm font-medium text-gray-600 hover:text-blue-600 transition">Pricing</a> | |
| <a href="#" class="text-sm font-medium text-gray-600 hover:text-blue-600 transition">Resources</a> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <a href="/login" class="hidden md:flex items-center space-x-1 text-sm font-medium text-gray-600 hover:text-blue-600 transition"> | |
| <i class="fas fa-user-circle"></i> | |
| <span>Connexion</span> | |
| </a> | |
| <button class="px-4 py-2 bg-blue-600 text-white text-sm font-medium rounded-md hover:bg-blue-700 transition"> | |
| Get Started | |
| </button> | |
| <button class="md:hidden text-gray-600"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <main class="pt-32 pb-16 px-4 md:px-8 max-w-7xl mx-auto"> | |
| <div class="flex flex-col items-center text-center max-w-4xl mx-auto"> | |
| <div class="mb-6 flower-icon text-5xl"> | |
| <i class="fas fa-spa"></i> | |
| </div> | |
| <h1 class="text-4xl md:text-5xl font-['Orbitron'] font-bold text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 to-blue-600 mb-4 tracking-wider"> | |
| Make Something Beautiful | |
| </h1> | |
| <p class="text-lg md:text-xl text-gray-600 mb-8 max-w-2xl"> | |
| Build beautiful apps and websites with AI, no code required. | |
| </p> | |
| <!-- Input Box --> | |
| <div class="w-full max-w-2xl bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden transition-all duration-300 hover:shadow-md"> | |
| <div class="p-6"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Description de votre site</label> | |
| <textarea | |
| class="w-full outline-none resize-none min-h-[150px] px-4 py-3 text-gray-700 placeholder-gray-400 input-focus border border-gray-300 rounded-md" | |
| placeholder="Décrivez en détail votre site web (objectif, contenu, style, etc.)..." | |
| rows="5" | |
| ></textarea> | |
| </div> | |
| </div> | |
| <div class="flex items-center justify-between px-4 py-3 border-t border-gray-100 bg-gray-50"> | |
| <div class="text-xs text-gray-500"> | |
| <i class="fas fa-info-circle mr-1"></i> | |
| <span>Décrivez précisément pour de meilleurs résultats</span> | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button type="button" onclick="generateSite()" class="px-4 py-2 bg-blue-600 text-white text-sm font-medium rounded-md hover:bg-blue-700 transition flex items-center space-x-1"> | |
| <i class="fas fa-cog mr-1"></i> | |
| <span>Générer</span> | |
| </button> | |
| <button type="button" id="exportBtn" disabled class="px-4 py-2 bg-green-600 text-white text-sm font-medium rounded-md hover:bg-green-700 transition flex items-center space-x-1"> | |
| <i class="fas fa-download mr-1"></i> | |
| <span>Exporter</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-8"> | |
| <button class="px-4 py-2 bg-white text-blue-600 text-sm font-medium rounded-md border border-blue-200 hover:bg-blue-50 transition"> | |
| <i class="fas fa-calendar-alt mr-2"></i> | |
| Book a demo | |
| </button> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Templates Section --> | |
| <section class="py-12 px-4 md:px-8 max-w-7xl mx-auto"> | |
| <div class="flex flex-wrap justify-center gap-4 mb-8"> | |
| <button class="px-4 py-2 bg-blue-600 text-white text-sm font-medium rounded-full transition"> | |
| Landing Pages | |
| </button> | |
| <button class="px-4 py-2 bg-white text-gray-700 text-sm font-medium rounded-full border border-gray-200 hover:bg-gray-50 transition"> | |
| Web Apps | |
| </button> | |
| <button class="px-4 py-2 bg-white text-gray-700 text-sm font-medium rounded-full border border-gray-200 hover:bg-gray-50 transition"> | |
| Portfolio Websites | |
| </button> | |
| <button class="px-4 py-2 bg-white text-gray-700 text-sm font-medium rounded-full border border-gray-200 hover:bg-gray-50 transition"> | |
| E-commerce | |
| </button> | |
| </div> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6"> | |
| <!-- Template 1 --> | |
| <div class="bg-white rounded-lg border border-gray-200 overflow-hidden card-hover"> | |
| <div class="aspect-video bg-gray-100 relative overflow-hidden"> | |
| <img src="https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" | |
| alt="NOVALAUNCH" | |
| class="w-full h-full object-cover"> | |
| <div class="absolute inset-0 bg-black/0 group-hover:bg-black/10 transition-colors duration-300"></div> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-medium text-gray-900">NOVALAUNCH</h3> | |
| <p class="text-sm text-gray-500">Space Technology</p> | |
| </div> | |
| </div> | |
| <!-- Template 2 --> | |
| <div class="bg-white rounded-lg border border-gray-200 overflow-hidden card-hover"> | |
| <div class="aspect-video bg-gray-100 relative overflow-hidden"> | |
| <img src="https://images.unsplash.com/photo-1589175926110-edf3a1cd5abf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" | |
| alt="Clay & Kiln" | |
| class="w-full h-full object-cover"> | |
| <div class="absolute inset-0 bg-black/0 group-hover:bg-black/10 transition-colors duration-300"></div> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-medium text-gray-900">Clay & Kiln</h3> | |
| <p class="text-sm text-gray-500">Artisan E-commerce</p> | |
| </div> | |
| </div> | |
| <!-- Template 3 --> | |
| <div class="bg-white rounded-lg border border-gray-200 overflow-hidden card-hover"> | |
| <div class="aspect-video bg-gray-100 relative overflow-hidden"> | |
| <img src="https://images.unsplash.com/photo-1508704019882-f9cf40e475b4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" | |
| alt="SkySwift" | |
| class="w-full h-full object-cover"> | |
| <div class="absolute inset-0 bg-black/0 group-hover:bg-black/10 transition-colors duration-300"></div> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-medium text-gray-900">SkySwift</h3> | |
| <p class="text-sm text-gray-500">Drone Delivery</p> | |
| </div> | |
| </div> | |
| <!-- Template 4 --> | |
| <div class="bg-white rounded-lg border border-gray-200 overflow-hidden card-hover"> | |
| <div class="aspect-video bg-gray-100 relative overflow-hidden"> | |
| <img src="https://images.unsplash.com/photo-1571019613454-1cb2f5b2f836?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" | |
| alt="FitTrack" | |
| class="w-full h-full object-cover"> | |
| <div class="absolute inset-0 bg-black/0 group-hover:bg-black/10 transition-colors duration-300"></div> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-medium text-gray-900">FitTrack</h3> | |
| <p class="text-sm text-gray-500">Fitness Platform</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Fonctionnalités Réelles --> | |
| <section class="py-16 px-4 md:px-8 max-w-7xl mx-auto bg-white rounded-2xl shadow-sm mt-12 mb-12"> | |
| <div class="text-center max-w-3xl mx-auto mb-12"> | |
| <h2 class="text-3xl font-serif font-medium text-gray-900 mb-4">AI-Powered Design Made Simple</h2> | |
| <p class="text-lg text-gray-600">Create stunning websites without writing a single line of code.</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="text-center p-6 rounded-xl hover:bg-gray-50 transition"> | |
| <div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i class="fas fa-bolt text-blue-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-medium text-gray-900 mb-2">Instant Generation</h3> | |
| <p class="text-gray-600">Generate complete websites in seconds with our AI technology.</p> | |
| </div> | |
| <div class="text-center p-6 rounded-xl hover:bg-gray-50 transition"> | |
| <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i class="fas fa-palette text-purple-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-medium text-gray-900 mb-2">Beautiful Designs</h3> | |
| <p class="text-gray-600">Professionally designed templates for every industry and use case.</p> | |
| </div> | |
| <div class="text-center p-6 rounded-xl hover:bg-gray-50 transition"> | |
| <div class="w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i class="fas fa-sliders-h text-green-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-medium text-gray-900 mb-2">Easy Customization</h3> | |
| <p class="text-gray-600">Tweak every element to match your brand with our intuitive editor.</p> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- CTA Section --> | |
| <section class="py-16 px-4 md:px-8 max-w-7xl mx-auto text-center"> | |
| <div class="bg-gradient-to-r from-cyan-900/70 to-blue-900/70 rounded-2xl p-8 md:p-12 text-white border border-cyan-500/30 hover:border-cyan-500/50 transition-all duration-300"> | |
| <h2 class="text-3xl font-serif font-medium mb-4">Ready to create something beautiful?</h2> | |
| <p class="text-lg mb-8 max-w-2xl mx-auto">Join thousands of creators building their dream websites with Orchids.</p> | |
| <div class="flex flex-col sm:flex-row justify-center gap-4"> | |
| <button class="px-6 py-3 bg-white text-blue-600 font-medium rounded-lg hover:bg-gray-100 transition"> | |
| Get Started for Free | |
| </button> | |
| <button class="px-6 py-3 bg-transparent border-2 border-white text-white font-medium rounded-lg hover:bg-white/10 transition"> | |
| Watch Demo | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-50 border-t border-gray-200 py-12 px-4 md:px-8"> | |
| <div class="max-w-7xl mx-auto"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8"> | |
| <div> | |
| <div class="flex items-center space-x-2 mb-4"> | |
| <div class="flower-icon text-2xl"> | |
| <i class="fas fa-spa"></i> | |
| </div> | |
| <span class="text-xl font-semibold text-gray-800">orchids</span> | |
| </div> | |
| <p class="text-gray-600 mb-4">Make something beautiful with AI-powered website creation.</p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-500 hover:text-blue-600 transition"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-500 hover:text-blue-600 transition"> | |
| <i class="fab fa-discord"></i> | |
| </a> | |
| <a href="#" class="text-gray-500 hover:text-blue-600 transition"> | |
| <i class="fab fa-linkedin"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="text-sm font-semibold text-gray-900 uppercase tracking-wider mb-4">Product</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-600 hover:text-blue-600 transition">Features</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-blue-600 transition">Templates</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-blue-600 transition">Pricing</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-blue-600 transition">Integrations</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-sm font-semibold text-gray-900 uppercase tracking-wider mb-4">Resources</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-600 hover:text-blue-600 transition">Documentation</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-blue-600 transition">Tutorials</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-blue-600 transition">Blog</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-blue-600 transition">Community</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-sm font-semibold text-gray-900 uppercase tracking-wider mb-4">Company</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-600 hover:text-blue-600 transition">About</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-blue-600 transition">Careers</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-blue-600 transition">Privacy</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-blue-600 transition">Terms</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="pt-8 border-t border-gray-200 flex flex-col md:flex-row justify-between items-center"> | |
| <p class="text-sm text-gray-500 mb-4 md:mb-0">© 2023 Orchids. All rights reserved.</p> | |
| <div class="flex space-x-6"> | |
| <a href="#" class="text-sm text-gray-500 hover:text-blue-600 transition">Privacy Policy</a> | |
| <a href="#" class="text-sm text-gray-500 hover:text-blue-600 transition">Terms of Service</a> | |
| <a href="#" class="text-sm text-gray-500 hover:text-blue-600 transition">Cookie Policy</a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| let generatedSite = null; | |
| async function generateSite() { | |
| const description = document.querySelector('textarea').value.trim(); | |
| if (!description) { | |
| alert('Veuillez entrer une description détaillée de votre site'); | |
| return; | |
| } | |
| // Afficher un indicateur de chargement | |
| const generateBtn = document.querySelector('button[onclick="generateSite()"]'); | |
| const originalText = generateBtn.innerHTML; | |
| generateBtn.innerHTML = '<i class="fas fa-spinner fa-spin"></i> Génération en cours...'; | |
| generateBtn.disabled = true; | |
| try { | |
| // Simulation de génération avec timeout | |
| await new Promise(resolve => setTimeout(resolve, 2000)); | |
| // Générer un HTML basique basé sur la description | |
| generatedSite = ` | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Site généré par Orchids</title> | |
| <meta name="description" content="${description}"> | |
| <style> | |
| body { font-family: Arial, sans-serif; max-width: 800px; margin: 0 auto; padding: 20px; } | |
| h1 { color: #2d3748; } | |
| p { line-height: 1.6; } | |
| </style> | |
| </head> | |
| <body> | |
| <h1>Site généré automatiquement</h1> | |
| <p>${description}</p> | |
| <p><small>Créé avec Orchids - ${new Date().toLocaleDateString()}</small></p> | |
| <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=BVK2/archids" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html>`; | |
| document.getElementById('exportBtn').disabled = false; | |
| generateBtn.innerHTML = originalText; | |
| generateBtn.disabled = false; | |
| alert('Site généré avec succès ! Prêt à être exporté.'); | |
| } catch (error) { | |
| console.error('Erreur:', error); | |
| generateBtn.innerHTML = originalText; | |
| generateBtn.disabled = false; | |
| alert("Erreur lors de la génération: " + error.message); | |
| } | |
| } | |
| function exportSite() { | |
| if (!generatedSite) return; | |
| // Export HTML | |
| const htmlBlob = new Blob([generatedSite], {type: 'text/html'}); | |
| const htmlUrl = URL.createObjectURL(htmlBlob); | |
| const htmlLink = document.createElement('a'); | |
| htmlLink.href = htmlUrl; | |
| htmlLink.download = 'site-orchids.html'; | |
| document.body.appendChild(htmlLink); | |
| htmlLink.click(); | |
| document.body.removeChild(htmlLink); | |
| // Simulation export IP | |
| console.log('Export IP simulé pour:', generatedSite); | |
| alert('Site exporté en HTML et déployé automatiquement sur IP'); | |
| } | |
| document.getElementById('exportBtn').addEventListener('click', exportSite); | |
| // Initialisation | |
| document.querySelector('textarea').addEventListener('input', function() { | |
| if (this.value.trim().length > 0) { | |
| document.getElementById('exportBtn').disabled = true; | |
| } | |
| }); | |
| document.querySelectorAll('a, button').forEach(el => { | |
| el.addEventListener('mouseenter', () => { | |
| el.style.textShadow = '0 0 8px rgba(0, 199, 255, 0.8)'; | |
| }); | |
| el.addEventListener('mouseleave', () => { | |
| el.style.textShadow = 'none'; | |
| }); | |
| }); | |
| // Effet de scanlines | |
| const scanlines = document.createElement('div'); | |
| scanlines.style.position = 'fixed'; | |
| scanlines.style.top = '0'; | |
| scanlines.style.left = '0'; | |
| scanlines.style.width = '100%'; | |
| scanlines.style.height = '100%'; | |
| scanlines.style.background = 'linear-gradient(to bottom, rgba(0, 255, 255, 0.03) 1px, transparent 1px)'; | |
| scanlines.style.backgroundSize = '100% 5px'; | |
| scanlines.style.pointerEvents = 'none'; | |
| scanlines.style.zIndex = '9999'; | |
| document.body.appendChild(scanlines); | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Gestionnaire de génération de site | |
| document.querySelector('form').addEventListener('submit', async function(e) { | |
| e.preventDefault(); | |
| const typeSite = document.querySelector('select:nth-of-type(1)').value; | |
| const secteur = document.querySelector('select:nth-of-type(2)').value; | |
| const description = document.querySelector('textarea').value; | |
| // Simulation d'appel API | |
| try { | |
| const response = await fetch('/api/generate-site', { | |
| method: 'POST', | |
| headers: { | |
| 'Content-Type': 'application/json', | |
| }, | |
| body: JSON.stringify({ typeSite, secteur, description }) | |
| }); | |
| const data = await response.json(); | |
| if(data.success) { | |
| window.location.href = `/editor/${data.siteId}`; | |
| } else { | |
| alert("Erreur lors de la génération : " + data.message); | |
| } | |
| } catch (error) { | |
| console.error('Error:', error); | |
| alert("Une erreur est survenue"); | |
| } | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> |