"Build a self-modifying application that: - Generates new components based on user behavior - Adapts its UI based on usage patterns - Creates new features through machine learning - Optimizes its own performance automatically - Generates test cases for new functionality - Creates documentation from code comments - Implements A/B testing for feature variations - Evolves its architecture over time" - Initial Deployment
b9690b3 verified Download index.html from Darkxx91/evolvex: direct link, hf CLI and curl.
- Browser
- Download file 31.3 kB
-
https://huggingface.co/spaces/Darkxx91/evolvex/resolve/main/index.html
- Command line
-
hf download hf://spaces/Darkxx91/evolvex/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Darkxx91/evolvex/resolve/main/index.html
31.3 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>EvolveX - Self-Modifying Application</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"> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#6366f1', | |
| secondary: '#8b5cf6', | |
| dark: '#1e293b', | |
| light: '#f8fafc' | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| @keyframes pulse { | |
| 0% { opacity: 0.5; } | |
| 50% { opacity: 1; } | |
| 100% { opacity: 0.5; } | |
| } | |
| .evolving { | |
| animation: pulse 2s infinite; | |
| } | |
| .component-card { | |
| transition: all 0.3s ease; | |
| } | |
| .component-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); | |
| } | |
| .feature-badge { | |
| transition: all 0.3s ease; | |
| } | |
| .feature-badge:hover { | |
| transform: scale(1.05); | |
| } | |
| .stats-card { | |
| transition: all 0.3s ease; | |
| } | |
| .stats-card:hover { | |
| transform: scale(1.02); | |
| } | |
| .ai-generated { | |
| position: relative; | |
| } | |
| .ai-generated::after { | |
| content: "AI Generated"; | |
| position: absolute; | |
| top: -8px; | |
| right: -8px; | |
| background: linear-gradient(45deg, #8b5cf6, #ec4899); | |
| color: white; | |
| font-size: 10px; | |
| padding: 2px 6px; | |
| border-radius: 4px; | |
| font-weight: bold; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gradient-to-br from-dark to-gray-900 min-h-screen text-light"> | |
| <!-- Header --> | |
| <header class="bg-dark/80 backdrop-blur-sm border-b border-gray-700 sticky top-0 z-50"> | |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-10 h-10 rounded-full bg-gradient-to-r from-primary to-secondary flex items-center justify-center"> | |
| <i class="fas fa-brain text-white"></i> | |
| </div> | |
| <h1 class="text-2xl font-bold">Evolve<span class="text-primary">X</span></h1> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative group"> | |
| <button class="bg-primary/20 hover:bg-primary/30 px-4 py-2 rounded-lg transition"> | |
| <i class="fas fa-user mr-2"></i>User Profile | |
| </button> | |
| <div class="absolute right-0 mt-2 w-64 bg-gray-800 rounded-lg shadow-lg p-4 hidden group-hover:block"> | |
| <div class="flex items-center mb-3"> | |
| <div class="w-12 h-12 rounded-full bg-gradient-to-r from-primary to-secondary flex items-center justify-center"> | |
| <i class="fas fa-user text-white"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <p class="font-bold">Alex Johnson</p> | |
| <p class="text-sm text-gray-400">Premium User</p> | |
| </div> | |
| </div> | |
| <div class="pt-3 border-t border-gray-700"> | |
| <p class="text-sm mb-2"><span class="font-semibold">Interaction Score:</span> 87/100</p> | |
| <div class="w-full bg-gray-700 rounded-full h-2 mb-4"> | |
| <div class="bg-primary h-2 rounded-full" style="width: 87%"></div> | |
| </div> | |
| <p class="text-sm"><span class="font-semibold">Preferred UI:</span> Minimalist</p> | |
| </div> | |
| </div> | |
| </div> | |
| <button id="settings-btn" class="bg-gray-700 hover:bg-gray-600 p-2 rounded-lg transition"> | |
| <i class="fas fa-cog"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="container mx-auto px-4 py-8"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-4xl font-bold mb-4">Self-Evolving Application Platform</h2> | |
| <p class="text-gray-300 max-w-3xl mx-auto">EvolveX adapts in real-time to your usage patterns, generating new features, optimizing performance, and evolving its architecture autonomously.</p> | |
| </div> | |
| <!-- Stats Dashboard --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-12"> | |
| <div class="stats-card bg-gray-800/50 backdrop-blur-sm rounded-xl p-6 border border-gray-700"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-400">Generated Components</p> | |
| <p class="text-3xl font-bold mt-2">42</p> | |
| </div> | |
| <div class="w-12 h-12 rounded-full bg-primary/20 flex items-center justify-center"> | |
| <i class="fas fa-cube text-primary"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Today</span> | |
| <span>+3</span> | |
| </div> | |
| <div class="w-full bg-gray-700 rounded-full h-2"> | |
| <div class="bg-primary h-2 rounded-full" style="width: 60%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="stats-card bg-gray-800/50 backdrop-blur-sm rounded-xl p-6 border border-gray-700"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-400">Active Features</p> | |
| <p class="text-3xl font-bold mt-2">28</p> | |
| </div> | |
| <div class="w-12 h-12 rounded-full bg-green-500/20 flex items-center justify-center"> | |
| <i class="fas fa-bolt text-green-500"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Optimized</span> | |
| <span>92%</span> | |
| </div> | |
| <div class="w-full bg-gray-700 rounded-full h-2"> | |
| <div class="bg-green-500 h-2 rounded-full" style="width: 92%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="stats-card bg-gray-800/50 backdrop-blur-sm rounded-xl p-6 border border-gray-700"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-400">A/B Tests Running</p> | |
| <p class="text-3xl font-bold mt-2">7</p> | |
| </div> | |
| <div class="w-12 h-12 rounded-full bg-yellow-500/20 flex items-center justify-center"> | |
| <i class="fas fa-vial text-yellow-500"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Variations</span> | |
| <span>14</span> | |
| </div> | |
| <div class="w-full bg-gray-700 rounded-full h-2"> | |
| <div class="bg-yellow-500 h-2 rounded-full" style="width: 45%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="stats-card bg-gray-800/50 backdrop-blur-sm rounded-xl p-6 border border-gray-700"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-400">Performance Gain</p> | |
| <p class="text-3xl font-bold mt-2">37%</p> | |
| </div> | |
| <div class="w-12 h-12 rounded-full bg-blue-500/20 flex items-center justify-center"> | |
| <i class="fas fa-tachometer-alt text-blue-500"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>This Week</span> | |
| <span>+8%</span> | |
| </div> | |
| <div class="w-full bg-gray-700 rounded-full h-2"> | |
| <div class="bg-blue-500 h-2 rounded-full" style="width: 37%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Feature Generation Section --> | |
| <div class="bg-gray-800/50 backdrop-blur-sm rounded-xl p-6 border border-gray-700 mb-12"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-2xl font-bold">Auto-Generated Features</h3> | |
| <div class="flex space-x-3"> | |
| <button id="generate-feature" class="bg-primary hover:bg-primary/90 px-4 py-2 rounded-lg transition flex items-center"> | |
| <i class="fas fa-plus mr-2"></i> Generate Feature | |
| </button> | |
| <button class="bg-gray-700 hover:bg-gray-600 px-4 py-2 rounded-lg transition flex items-center"> | |
| <i class="fas fa-sync mr-2"></i> Optimize | |
| </button> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="features-container"> | |
| <!-- Features will be generated here --> | |
| <div class="component-card ai-generated bg-gradient-to-br from-gray-800 to-gray-900 rounded-xl p-6 border border-gray-700"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <div> | |
| <span class="feature-badge bg-primary/20 text-primary text-xs font-bold px-3 py-1 rounded-full">NEW</span> | |
| <h4 class="text-xl font-bold mt-2">Smart Data Visualizer</h4> | |
| </div> | |
| <i class="fas fa-chart-line text-primary text-xl"></i> | |
| </div> | |
| <p class="text-gray-400 mb-4">Automatically created based on your frequent data analysis activities.</p> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-500">Generated: Today</span> | |
| <span class="text-green-500">Active</span> | |
| </div> | |
| </div> | |
| <div class="component-card ai-generated bg-gradient-to-br from-gray-800 to-gray-900 rounded-xl p-6 border border-gray-700"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <div> | |
| <span class="feature-badge bg-green-500/20 text-green-500 text-xs font-bold px-3 py-1 rounded-full">OPTIMIZED</span> | |
| <h4 class="text-xl font-bold mt-2">Predictive Search</h4> | |
| </div> | |
| <i class="fas fa-search text-green-500 text-xl"></i> | |
| </div> | |
| <p class="text-gray-400 mb-4">Enhanced after analyzing your search patterns and query history.</p> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-500">Updated: 2 days ago</span> | |
| <span class="text-green-500">Active</span> | |
| </div> | |
| </div> | |
| <div class="component-card ai-generated bg-gradient-to-br from-gray-800 to-gray-900 rounded-xl p-6 border border-gray-700"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <div> | |
| <span class="feature-badge bg-yellow-500/20 text-yellow-500 text-xs font-bold px-3 py-1 rounded-full">TESTING</span> | |
| <h4 class="text-xl font-bold mt-2">Voice Assistant</h4> | |
| </div> | |
| <i class="fas fa-microphone text-yellow-500 text-xl"></i> | |
| </div> | |
| <p class="text-gray-400 mb-4">Currently in A/B testing based on voice interaction requests.</p> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-500">Created: 1 week ago</span> | |
| <span class="text-yellow-500">Testing</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Architecture Evolution --> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-12"> | |
| <div class="bg-gray-800/50 backdrop-blur-sm rounded-xl p-6 border border-gray-700"> | |
| <h3 class="text-2xl font-bold mb-6">Architecture Evolution</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <div class="w-10 h-10 rounded-full bg-primary/20 flex items-center justify-center mr-4 mt-1"> | |
| <i class="fas fa-layer-group text-primary"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-bold text-lg">Current Architecture</h4> | |
| <p class="text-gray-400">Microservices-based with event-driven design</p> | |
| <div class="mt-2 flex flex-wrap gap-2"> | |
| <span class="bg-gray-700 px-3 py-1 rounded-full text-sm">Scalable</span> | |
| <span class="bg-gray-700 px-3 py-1 rounded-full text-sm">Resilient</span> | |
| <span class="bg-gray-700 px-3 py-1 rounded-full text-sm">Modular</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex items-start mt-6"> | |
| <div class="w-10 h-10 rounded-full bg-secondary/20 flex items-center justify-center mr-4 mt-1"> | |
| <i class="fas fa-arrow-right text-secondary"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-bold text-lg">Evolution in Progress</h4> | |
| <p class="text-gray-400">Transitioning to serverless functions for improved cost efficiency</p> | |
| <div class="mt-3"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Progress</span> | |
| <span>65%</span> | |
| </div> | |
| <div class="w-full bg-gray-700 rounded-full h-2"> | |
| <div class="bg-secondary h-2 rounded-full" style="width: 65%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-800/50 backdrop-blur-sm rounded-xl p-6 border border-gray-700"> | |
| <h3 class="text-2xl font-bold mb-6">Self-Documentation</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <div class="w-10 h-10 rounded-full bg-blue-500/20 flex items-center justify-center mr-4 mt-1"> | |
| <i class="fas fa-book text-blue-500"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-bold text-lg">Auto-Generated Docs</h4> | |
| <p class="text-gray-400">Documentation created from code comments and usage patterns</p> | |
| <div class="mt-3"> | |
| <div class="flex flex-wrap gap-2"> | |
| <button class="bg-blue-500/20 hover:bg-blue-500/30 text-blue-500 px-3 py-1 rounded-lg text-sm transition"> | |
| View API Docs | |
| </button> | |
| <button class="bg-gray-700 hover:bg-gray-600 px-3 py-1 rounded-lg text-sm transition"> | |
| User Guide | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex items-start mt-6"> | |
| <div class="w-10 h-10 rounded-full bg-green-500/20 flex items-center justify-center mr-4 mt-1"> | |
| <i class="fas fa-vial text-green-500"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-bold text-lg">Test Case Generation</h4> | |
| <p class="text-gray-400">Automated test cases created for new functionality</p> | |
| <div class="mt-3"> | |
| <div class="flex justify-between text-sm mb-1"> | |
| <span>Coverage</span> | |
| <span>89%</span> | |
| </div> | |
| <div class="w-full bg-gray-700 rounded-full h-2"> | |
| <div class="bg-green-500 h-2 rounded-full" style="width: 89%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- UI Adaptation Demo --> | |
| <div class="bg-gray-800/50 backdrop-blur-sm rounded-xl p-6 border border-gray-700 mb-12"> | |
| <h3 class="text-2xl font-bold mb-6">UI Adaptation</h3> | |
| <p class="text-gray-400 mb-6">The interface adapts based on your usage patterns and preferences</p> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <h4 class="font-bold text-lg mb-4">Current UI Mode</h4> | |
| <div class="bg-gray-900 rounded-lg p-4 flex items-center"> | |
| <div class="w-12 h-12 rounded-full bg-primary/20 flex items-center justify-center mr-4"> | |
| <i class="fas fa-sun text-yellow-500"></i> | |
| </div> | |
| <div> | |
| <p class="font-bold">Light & Spacious</p> | |
| <p class="text-sm text-gray-400">Selected based on your extended reading sessions</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="font-bold text-lg mb-4">Try Different Modes</h4> | |
| <div class="grid grid-cols-2 gap-4"> | |
| <button class="bg-gray-700 hover:bg-gray-600 p-4 rounded-lg transition text-center"> | |
| <i class="fas fa-moon text-indigo-400 text-2xl mb-2"></i> | |
| <p>Dark Focus</p> | |
| </button> | |
| <button class="bg-gray-700 hover:bg-gray-600 p-4 rounded-lg transition text-center"> | |
| <i class="fas fa-compress text-green-500 text-2xl mb-2"></i> | |
| <p>Minimalist</p> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-dark/80 backdrop-blur-sm border-t border-gray-700"> | |
| <div class="container mx-auto px-4 py-8"> | |
| <div class="flex flex-col md:flex-row justify-between"> | |
| <div class="mb-6 md:mb-0"> | |
| <div class="flex items-center space-x-2 mb-4"> | |
| <div class="w-8 h-8 rounded-full bg-gradient-to-r from-primary to-secondary flex items-center justify-center"> | |
| <i class="fas fa-brain text-white text-sm"></i> | |
| </div> | |
| <h2 class="text-xl font-bold">Evolve<span class="text-primary">X</span></h2> | |
| </div> | |
| <p class="text-gray-400 max-w-md">The self-modifying application platform that evolves with your needs.</p> | |
| </div> | |
| <div class="grid grid-cols-2 md:grid-cols-3 gap-8"> | |
| <div> | |
| <h4 class="text-lg font-bold mb-4">Platform</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-primary transition">Features</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-primary transition">Roadmap</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-primary transition">Documentation</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-bold mb-4">Resources</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-primary transition">API Reference</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-primary transition">Tutorials</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-primary transition">Community</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-bold mb-4">System</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-primary transition">Status</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-primary transition">Performance</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-primary transition">Settings</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-500"> | |
| <p>EvolveX v2.8.4 | Self-Modifying Application Framework | Continuously Evolving</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <!-- Modals --> | |
| <div id="feature-modal" class="fixed inset-0 bg-black/70 backdrop-blur-sm flex items-center justify-center hidden z-50"> | |
| <div class="bg-gray-800 rounded-xl p-6 w-full max-w-md mx-4 border border-gray-700"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-xl font-bold">New Feature Generated</h3> | |
| <button id="close-modal" class="text-gray-400 hover:text-white"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <div class="mb-6"> | |
| <div class="bg-gray-900 rounded-lg p-4 mb-4"> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-gradient-to-r from-purple-500 to-pink-500 flex items-center justify-center mr-3"> | |
| <i class="fas fa-robot text-white"></i> | |
| </div> | |
| <div> | |
| <p class="font-bold">Smart Recommendation Engine</p> | |
| <p class="text-sm text-gray-400">Based on your recent activity</p> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-300 mb-4">This feature was created by analyzing your interaction patterns with data visualization tools and your preference for personalized content.</p> | |
| <div class="flex items-center text-sm text-gray-400"> | |
| <i class="fas fa-info-circle mr-2"></i> | |
| <p>Feature will be automatically optimized based on usage metrics</p> | |
| </div> | |
| </div> | |
| <div class="flex justify-end space-x-3"> | |
| <button class="px-4 py-2 rounded-lg border border-gray-600 hover:bg-gray-700 transition">Details</button> | |
| <button class="bg-primary hover:bg-primary/90 px-4 py-2 rounded-lg transition">Activate</button> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Feature generation functionality | |
| document.getElementById('generate-feature').addEventListener('click', function() { | |
| const features = [ | |
| { | |
| title: "Automated Workflow Builder", | |
| desc: "Created based on your repetitive task patterns", | |
| icon: "fas fa-cogs", | |
| color: "text-purple-500", | |
| badge: "NEW", | |
| badgeColor: "bg-purple-500/20 text-purple-500" | |
| }, | |
| { | |
| title: "Intelligent Data Organizer", | |
| desc: "Generated to optimize your file management activities", | |
| icon: "fas fa-folder", | |
| color: "text-blue-500", | |
| badge: "OPTIMIZED", | |
| badgeColor: "bg-blue-500/20 text-blue-500" | |
| }, | |
| { | |
| title: "Collaboration Enhancer", | |
| desc: "Designed to improve your team interaction patterns", | |
| icon: "fas fa-users", | |
| color: "text-green-500", | |
| badge: "TESTING", | |
| badgeColor: "bg-green-500/20 text-green-500" | |
| }, | |
| { | |
| title: "Predictive Analytics Dashboard", | |
| desc: "Built from your frequent data analysis requests", | |
| icon: "fas fa-chart-bar", | |
| color: "text-yellow-500", | |
| badge: "NEW", | |
| badgeColor: "bg-yellow-500/20 text-yellow-500" | |
| } | |
| ]; | |
| const randomFeature = features[Math.floor(Math.random() * features.length)]; | |
| const featureElement = document.createElement('div'); | |
| featureElement.className = 'component-card ai-generated bg-gradient-to-br from-gray-800 to-gray-900 rounded-xl p-6 border border-gray-700'; | |
| featureElement.innerHTML = ` | |
| <div class="flex justify-between items-start mb-4"> | |
| <div> | |
| <span class="feature-badge ${randomFeature.badgeColor} text-xs font-bold px-3 py-1 rounded-full">${randomFeature.badge}</span> | |
| <h4 class="text-xl font-bold mt-2">${randomFeature.title}</h4> | |
| </div> | |
| <i class="${randomFeature.icon} ${randomFeature.color} text-xl"></i> | |
| </div> | |
| <p class="text-gray-400 mb-4">${randomFeature.desc}</p> | |
| <div class="flex justify-between text-sm"> | |
| <span class="text-gray-500">Generated: Just now</span> | |
| <span class="text-green-500">Active</span> | |
| </div> | |
| `; | |
| document.getElementById('features-container').prepend(featureElement); | |
| // Show modal | |
| document.getElementById('feature-modal').classList.remove('hidden'); | |
| }); | |
| // Close modal | |
| document.getElementById('close-modal').addEventListener('click', function() { | |
| document.getElementById('feature-modal').classList.add('hidden'); | |
| }); | |
| // Simulate UI adaptation | |
| const header = document.querySelector('header'); | |
| const footer = document.querySelector('footer'); | |
| function adaptUI() { | |
| const hour = new Date().getHours(); | |
| const isDayTime = hour > 6 && hour < 20; | |
| if (isDayTime) { | |
| document.body.classList.remove('bg-gradient-to-br', 'from-dark', 'to-gray-900'); | |
| document.body.classList.add('bg-gradient-to-br', 'from-blue-50', 'to-indigo-100'); | |
| header.classList.remove('bg-dark/80', 'border-gray-700'); | |
| header.classList.add('bg-white/80', 'border-gray-200'); | |
| footer.classList.remove('bg-dark/80', 'border-gray-700'); | |
| footer.classList.add('bg-white/80', 'border-gray-200'); | |
| // Change text colors | |
| document.querySelectorAll('h1, h2, h3, h4, h5, h6').forEach(el => { | |
| el.classList.remove('text-light'); | |
| el.classList.add('text-gray-800'); | |
| }); | |
| document.querySelectorAll('p, span').forEach(el => { | |
| if (el.classList.contains('text-light') || el.classList.contains('text-gray-300') || el.classList.contains('text-gray-400')) { | |
| el.classList.remove('text-light', 'text-gray-300', 'text-gray-400'); | |
| el.classList.add('text-gray-600'); | |
| } | |
| }); | |
| // Change card backgrounds | |
| document.querySelectorAll('.bg-gray-800, .bg-gray-800/50').forEach(el => { | |
| el.classList.remove('bg-gray-800', 'bg-gray-800/50', 'border-gray-700'); | |
| el.classList.add('bg-white/80', 'border-gray-200'); | |
| }); | |
| // Change stats card backgrounds | |
| document.querySelectorAll('.stats-card').forEach(el => { | |
| el.classList.remove('bg-gray-800/50', 'border-gray-700'); | |
| el.classList.add('bg-white/80', 'border-gray-200'); | |
| }); | |
| } | |
| } | |
| // Simulate periodic UI adaptation | |
| setInterval(adaptUI, 30000); | |
| // Initialize UI | |
| adaptUI(); | |
| </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=Darkxx91/evolvex" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |