now make all these features active and functional Quantum Stealth Agent Orchestrator Tri-Modal Data Self-Healing Guard Labs Getting Started Agent Deployment Security Protocols ensure that eech page has context and content that reflect what we are building , based on this # Monolithic Data Scraping & Crawling Platform: Benchmark-Setting Frontend Blueprint ## Core Philosophy - **Premium, planatir-inspired** design—neutral black and white, minimalist “Minority Report”/Tesla-like visual language. - **Monolithic application** for performance, coherence, and seamless interactivity. - **Futuristic glassmorphism** with GSAP-powered transitions, fluid animations, and neon border hovers—no added colours except for active states and focus overlays. ## Architecture Overview ### Application Shell - **Single Page App (SPA):** Built with React + TypeScript for robust state handling and atomic UI. - **Global Providers:** Theme (dark/light/system), User Session, Permissions, Subscription State. - **Patentable Experience:** All components feature Black/White glass UI, planatir fonts (custom/variable), and touch/keyboard accessibility. ### Main Sections | Route/Section | Description | |-------------------------|------------------------------------------------------------------| | `/` | Futuristic, ultra-minimalist landing page with prompt bar | | `/dashboard` | Comprehensive dashboard with analytics, scraper/crawler control | | `/features` | Full toolset: scraping, crawling, scheduling, batch management | | `/client-portal` | User workspace, permissions, subscription and security | | `/logs` | Real-time logs, live views, user activity, API monitoring | | `/settings` | Profiles, workspace management, theme and API keys | ## Design & UI/UX Concepts ### 1. Landing Page - **Minimalist “blank slate”**: just logotype, system status, and central prompt bar. - **Glassmorphic panel** in center—input for quick scrape/crawl testing. - **Animated text and neon glow underlines** for calls to action. - **GSAP-powered transitions** on page load, input focus, and theme change. - **No visible navbar** on landing page; appears only after login/access. ### 2. Navbar - **Transparent, blur-behind**, sticky top-bar with animated underline on hover. - **Planatir/Tesla-style font in high-weight, wide tracking.** - **Sections:** Dashboard, Features, Client Portal, Logs, Settings. - **Right-aligned theme toggle:** Circle toggle (D/L/System) with motion feedback. ### 3. Comprehensive Dashboard - **Reset industry benchmark:** Fixed-height panels, drag-to-resize, dismiss/expand. - **Analytics visualizations:** Minimal line+area charts, monochrome dots/bars, smooth GSAP transitions. - **Live status pan**: WebSocket-powered cards for queues, ongoing jobs, failures, etc. - **Integrated prompt bar** (top): quickly scrape or crawl new URLs. - **Neon-glow active states** only when hovered/focused, all controls borderless unless active. ### 4. Crawling/Scraping Features - **Available as modular dashboard cards, feature tabs, and modal overlay:** - URL input & batch upload, scheduling, depth control, rate limiting. - Browser fingerprinting, JS rendering, CAPTCHA bypass (allowed by subscription tier). - Export (CSV/JSON/Database), preview results, manual extraction tuning. - **Prompt Bar Autocomplete:** Suggests advanced parameter options and supports natural language. ### 5. Analytics & Visualization - **Black-on-white or white-on-black charts** with soft glass backgrounds. - **Real-time stats, drill-down logs, error views, performance benchmarks.** - **History timeline:** Activity, jobs, user events—GSAP smooth scroll/zoom. - **Session live view:** Active bots, user sessions online/offline, resource usage. ### 6. Client Portal & Security - **Workspace & subscription page:** - Card-style, black/white glass panels showing billing, permissions (RBAC), workspace members. - Rights toggles for scraping limits, premium features, and API access. - **User & workspace management:** - Invite, remove, set permissions—visualized with planatir-style lines and context cards. - **Security:** - 2FA wizard (glass UI), audit trails, view/download activity logs. ## UX Details & Animations - **Planatir/Tesla font** as system, with fallback to custom variable font—weights and tracking animate on hover/focus. - **Switches/toggles**—glass buttons with animated neon outline, only visible on interaction. - **All cards/panels:** Subtle frosted blur, minimal drop shadows, shadow only in depth transitions. - **Redefined loading:** Central glass spinner, text morphs from “Fetching” to “Crawling” to “Visualizing”. - **All interactive states:** Hover/focus—monochrome glow (white for dark mode, black for light), never default blue or color except in activity graphs, which can use barely-there neon as data accent only. ## Implementation Technologies - **React + TypeScript:** SPA and monolithic state model. - **Tailwind CSS + custom glass/neon classes:** For blazing-fast theming and dark/light switching. - **GSAP:** Animation engine for transitions, panel morph, input focus, load overlays. - **WebGL/Three.js (future-ready):** For animated visualizations and new crawling visual metaphors. - **PWA capable:** Download/install as desktop app, instant fullscreen, full offline mode for premium. - **Socket.io/WebSocket for live updates:** Job states, prompts, monitoring, online users. ## Feature Table | Spec | Description | |---------------------------|-------------------------------------------------------------------------| | Theme | True dark/light/system glass, monochrome, minimal neon glow | | Font | Planatir/Tesla inspired, variable monospace for code/log input | | Prompt Bar | Always-available, real-time, context aware, “test URL” enabled | | Navigation | Hidden by default, reified via glass navbar after landing/login | | Dashboard | Modular, persistent, draggable—analytics, queue, prompt, logs, live view| | Feature Set | All crawl/scrape controls, tiered features, batch/monitoring, export | | Analytics | Real-time, monochrome charts/graphs, session live-views, performance | | Client Portal | Billing, workspace management, permission matrix—glass, no color | | Security | RBAC, audit logs, 2FA, live activity—always auditable, exportable | | Animations | GSAP, smooth, “Minority Report” feel, everything moves contextually | ## Minimalist, Futuristic Landing Page - **No distraction:** Only logotype, prompt bar, system status. Neon-pulse underline on “Get Started.” - **Central focus:** Prompt bar invites immediate action (“Try live scraping a URL...”). - **No extra text or boxes:** Everything animates in/out based on focus/context. - **System toggle:** Theme switcher, top-right, shown only after first page load. ## Summary - **Elegant, monolithic, black/white glass platform**—a new benchmark for enterprise data crawling/scraping. - **Planatir, Tesla, and Minority Report inspired:** Premium, responsive, accessible, and lightning-fast. - **Always user-centric:** Each feature easy to find, prompt to use, secure by design, with immediate operator feedback. - **Instantly installable, PWA/desktop ready.** - **Unique, auditable, and beautiful—** a professional future-proof foundation for a world-leading product. - Follow Up Deployment
8904d80 verified Download index.html from FAVL/favl: direct link, hf CLI and curl.
- Browser
- Download file 39.7 kB
-
https://huggingface.co/spaces/FAVL/favl/resolve/main/index.html
- Command line
-
hf download hf://spaces/FAVL/favl/index.html
-
curl -L -o index.html https://huggingface.co/spaces/FAVL/favl/resolve/main/index.html
39.7 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>MCP CloudOps Enterprise Platform</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> | |
| /* Custom CSS for elements Tailwind can't handle */ | |
| .sunburst-sector { | |
| transition: all 0.3s ease; | |
| } | |
| .sunburst-sector:hover { | |
| transform: scale(1.05); | |
| filter: brightness(1.1); | |
| } | |
| .quantum-particle { | |
| position: absolute; | |
| border-radius: 50%; | |
| opacity: 0.7; | |
| animation: float 15s infinite ease-in-out; | |
| } | |
| @keyframes float { | |
| 0%, 100% { transform: translate(0, 0); } | |
| 25% { transform: translate(5px, 10px); } | |
| 50% { transform: translate(10px, 5px); } | |
| 75% { transform: translate(5px, -5px); } | |
| } | |
| .command-bar-overlay { | |
| backdrop-filter: blur(10px); | |
| } | |
| .agent-node { | |
| transition: all 0.3s ease; | |
| } | |
| .agent-node:hover { | |
| filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.7)); | |
| } | |
| .lab-step { | |
| transition: all 0.3s ease; | |
| } | |
| .lab-step.active { | |
| border-left: 4px solid #6366f1; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-gray-100 min-h-screen flex flex-col"> | |
| <!-- PWA Install Prompt --> | |
| <div id="installPrompt" class="hidden fixed bottom-4 right-4 bg-indigo-600 text-white p-4 rounded-lg shadow-xl z-50 max-w-xs"> | |
| <div class="flex justify-between items-center mb-2"> | |
| <h3 class="font-bold">Install MCP CloudOps</h3> | |
| <button onclick="dismissInstallPrompt()" class="text-white hover:text-gray-200"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <p class="text-sm mb-3">Add to your home screen for full offline access</p> | |
| <button onclick="installApp()" class="bg-white text-indigo-600 px-4 py-2 rounded-md font-medium w-full"> | |
| Install App | |
| </button> | |
| </div> | |
| <!-- Main App Container --> | |
| <div class="flex flex-1 overflow-hidden"> | |
| <!-- Sidebar Navigation --> | |
| <div id="sidebar" class="w-64 bg-white dark:bg-gray-800 shadow-md flex flex-col transition-all duration-300 ease-in-out z-20"> | |
| <div class="p-4 border-b border-gray-200 dark:border-gray-700 flex items-center"> | |
| <div class="w-10 h-10 bg-indigo-600 rounded-full flex items-center justify-center text-white font-bold">MCP</div> | |
| <h1 class="ml-3 font-bold text-lg">CloudOps Enterprise</h1> | |
| </div> | |
| <div class="flex-1 overflow-y-auto"> | |
| <nav class="p-2"> | |
| <div class="mb-4"> | |
| <h3 class="text-xs uppercase font-semibold text-gray-500 dark:text-gray-400 px-3 mb-2">Modules</h3> | |
| <ul> | |
| <li> | |
| <a href="#" class="flex items-center px-3 py-2 rounded-md bg-indigo-50 dark:bg-gray-700 text-indigo-700 dark:text-indigo-300"> | |
| <i class="fas fa-tachometer-alt mr-3"></i> | |
| Dashboard | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="flex items-center px-3 py-2 rounded-md hover:bg-gray-100 dark:hover:bg-gray-700"> | |
| <i class="fas fa-atom mr-3"></i> | |
| Quantum Stealth | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="flex items-center px-3 py-2 rounded-md hover:bg-gray-100 dark:hover:bg-gray-700"> | |
| <i class="fas fa-robot mr-3"></i> | |
| Agent Orchestrator | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="flex items-center px-3 py-2 rounded-md hover:bg-gray-100 dark:hover:bg-gray-700"> | |
| <i class="fas fa-database mr-3"></i> | |
| Tri-Modal Data | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="flex items-center px-3 py-2 rounded-md hover:bg-gray-100 dark:hover:bg-gray-700"> | |
| <i class="fas fa-shield-alt mr-3"></i> | |
| Self-Healing Guard | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="mb-4"> | |
| <h3 class="text-xs uppercase font-semibold text-gray-500 dark:text-gray-400 px-3 mb-2">Labs</h3> | |
| <ul> | |
| <li> | |
| <a href="#" class="flex items-center px-3 py-2 rounded-md hover:bg-gray-100 dark:hover:bg-gray-700"> | |
| <i class="fas fa-flask mr-3"></i> | |
| Getting Started | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="flex items-center px-3 py-2 rounded-md hover:bg-gray-100 dark:hover:bg-gray-700"> | |
| <i class="fas fa-project-diagram mr-3"></i> | |
| Agent Deployment | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="flex items-center px-3 py-2 rounded-md hover:bg-gray-100 dark:hover:bg-gray-700"> | |
| <i class="fas fa-lock mr-3"></i> | |
| Security Protocols | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| </nav> | |
| </div> | |
| <div class="p-4 border-t border-gray-200 dark:border-gray-700"> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 bg-indigo-100 dark:bg-indigo-900 rounded-full flex items-center justify-center"> | |
| <i class="fas fa-user text-indigo-600 dark:text-indigo-300"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium">Admin User</p> | |
| <p class="text-xs text-gray-500 dark:text-gray-400">Enterprise License</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content Area --> | |
| <div class="flex-1 flex flex-col overflow-hidden"> | |
| <!-- Top Bar --> | |
| <header class="bg-white dark:bg-gray-800 shadow-sm z-10"> | |
| <div class="flex items-center justify-between px-4 py-3"> | |
| <div class="flex items-center"> | |
| <button id="sidebarToggle" class="mr-4 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200"> | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| <div class="relative w-64"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i class="fas fa-search text-gray-400"></i> | |
| </div> | |
| <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md leading-5 bg-white dark:bg-gray-700 placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" placeholder="Search resources..."> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button id="fullscreenToggle" class="p-2 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200" title="Toggle Fullscreen"> | |
| <i class="fas fa-expand"></i> | |
| </button> | |
| <button id="downloadApp" class="flex items-center px-3 py-1.5 bg-indigo-600 text-white rounded-md hover:bg-indigo-700"> | |
| <i class="fas fa-download mr-2"></i> | |
| <span>Download App</span> | |
| </button> | |
| <div class="relative"> | |
| <button id="themeToggle" class="p-2 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200"> | |
| <i class="fas fa-moon dark:hidden"></i> | |
| <i class="fas fa-sun hidden dark:block"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Dashboard Content --> | |
| <main class="flex-1 overflow-y-auto p-6 bg-gray-50 dark:bg-gray-900"> | |
| <div class="max-w-7xl mx-auto"> | |
| <!-- Dashboard Header --> | |
| <div class="flex justify-between items-center mb-6"> | |
| <div> | |
| <h2 class="text-2xl font-bold">CloudOps Dashboard</h2> | |
| <p class="text-gray-500 dark:text-gray-400">Real-time monitoring and orchestration</p> | |
| </div> | |
| <button id="openCommandBar" class="flex items-center px-4 py-2 bg-gray-800 dark:bg-gray-700 text-white rounded-md hover:bg-gray-700 dark:hover:bg-gray-600"> | |
| <i class="fas fa-terminal mr-2"></i> | |
| <span>Open Command Bar</span> | |
| <span class="ml-2 px-2 py-0.5 bg-gray-700 dark:bg-gray-600 rounded text-xs">⌘K</span> | |
| </button> | |
| </div> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6"> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-indigo-100 dark:bg-indigo-900 text-indigo-600 dark:text-indigo-300 mr-4"> | |
| <i class="fas fa-atom"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500 dark:text-gray-400">Quantum Entropy</p> | |
| <p class="text-2xl font-semibold">87.5%</p> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="w-full bg-gray-200 dark:bg-gray-700 rounded-full h-2"> | |
| <div class="bg-indigo-600 h-2 rounded-full" style="width: 87.5%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-green-100 dark:bg-green-900 text-green-600 dark:text-green-300 mr-4"> | |
| <i class="fas fa-robot"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500 dark:text-gray-400">Active Agents</p> | |
| <p class="text-2xl font-semibold">142</p> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="w-full bg-gray-200 dark:bg-gray-700 rounded-full h-2"> | |
| <div class="bg-green-600 h-2 rounded-full" style="width: 71%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-blue-100 dark:bg-blue-900 text-blue-600 dark:text-blue-300 mr-4"> | |
| <i class="fas fa-database"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500 dark:text-gray-400">Data Locations</p> | |
| <p class="text-2xl font-semibold">3,287</p> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="w-full bg-gray-200 dark:bg-gray-700 rounded-full h-2"> | |
| <div class="bg-blue-600 h-2 rounded-full" style="width: 82%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-purple-100 dark:bg-purple-900 text-purple-600 dark:text-purple-300 mr-4"> | |
| <i class="fas fa-shield-alt"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500 dark:text-gray-400">Security Score</p> | |
| <p class="text-2xl font-semibold">94/100</p> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="w-full bg-gray-200 dark:bg-gray-700 rounded-full h-2"> | |
| <div class="bg-purple-600 h-2 rounded-full" style="width: 94%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Visualization Area --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6"> | |
| <!-- Quantum Stealth Engine --> | |
| <div class="lg:col-span-2 bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden"> | |
| <div class="p-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center"> | |
| <h3 class="font-semibold flex items-center"> | |
| <i class="fas fa-atom mr-2 text-indigo-600 dark:text-indigo-300"></i> | |
| Quantum Stealth Engine | |
| </h3> | |
| <div class="flex space-x-2"> | |
| <button class="p-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300"> | |
| <i class="fas fa-cog"></i> | |
| </button> | |
| <button class="p-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300"> | |
| <i class="fas fa-expand"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="p-4 relative h-64 overflow-hidden"> | |
| <!-- Quantum particles visualization --> | |
| <div id="quantumParticles" class="absolute inset-0"> | |
| <!-- Particles will be generated by JS --> | |
| </div> | |
| <div class="absolute inset-0 flex items-center justify-center"> | |
| <div class="w-32 h-32 rounded-full border-4 border-indigo-500 dark:border-indigo-300 flex items-center justify-center"> | |
| <div class="w-24 h-24 rounded-full border-2 border-indigo-300 dark:border-indigo-200 animate-pulse"></div> | |
| </div> | |
| </div> | |
| <div class="absolute bottom-4 left-4 right-4 bg-white dark:bg-gray-700 bg-opacity-80 dark:bg-opacity-80 rounded p-2 shadow"> | |
| <div class="flex justify-between text-sm"> | |
| <span>Entropy Level: <span class="font-medium">87.5%</span></span> | |
| <span>Session ID: <span class="font-mono">QSE-2847-9X2P</span></span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Multi-Agent Orchestrator --> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden"> | |
| <div class="p-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center"> | |
| <h3 class="font-semibold flex items-center"> | |
| <i class="fas fa-robot mr-2 text-green-600 dark:text-green-300"></i> | |
| Agent Orchestrator | |
| </h3> | |
| <div class="flex space-x-2"> | |
| <button class="p-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300"> | |
| <i class="fas fa-plus"></i> | |
| </button> | |
| <button class="p-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300"> | |
| <i class="fas fa-expand"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="p-4 h-64 overflow-auto"> | |
| <div id="agentGraph" class="relative h-full"> | |
| <!-- Agent nodes will be generated by JS --> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Tri-Modal Data Locator and Labs Section --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> | |
| <!-- Tri-Modal Data Locator --> | |
| <div class="lg:col-span-2 bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden"> | |
| <div class="p-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center"> | |
| <h3 class="font-semibold flex items-center"> | |
| <i class="fas fa-database mr-2 text-blue-600 dark:text-blue-300"></i> | |
| Tri-Modal Data Locator | |
| </h3> | |
| <div class="flex space-x-2"> | |
| <button class="p-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300"> | |
| <i class="fas fa-filter"></i> | |
| </button> | |
| <button class="p-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300"> | |
| <i class="fas fa-expand"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="p-4"> | |
| <div class="flex justify-center mb-4"> | |
| <div class="relative w-64 h-64"> | |
| <!-- Sunburst chart will be generated by JS --> | |
| <svg id="sunburstChart" width="100%" height="100%" viewBox="0 0 100 100"> | |
| <!-- Sectors will be added by JS --> | |
| </svg> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-3 gap-4 text-center"> | |
| <div> | |
| <p class="text-sm text-gray-500 dark:text-gray-400">Semantic</p> | |
| <p class="font-semibold">1,284</p> | |
| </div> | |
| <div> | |
| <p class="text-sm text-gray-500 dark:text-gray-400">Hash-Based</p> | |
| <p class="font-semibold">927</p> | |
| </div> | |
| <div> | |
| <p class="text-sm text-gray-500 dark:text-gray-400">Sector</p> | |
| <p class="font-semibold">1,076</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Labs Section --> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden"> | |
| <div class="p-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center"> | |
| <h3 class="font-semibold flex items-center"> | |
| <i class="fas fa-flask mr-2 text-purple-600 dark:text-purple-300"></i> | |
| Interactive Labs | |
| </h3> | |
| <button class="text-sm text-indigo-600 dark:text-indigo-300 hover:text-indigo-800 dark:hover:text-indigo-200"> | |
| View All | |
| </button> | |
| </div> | |
| <div class="p-4"> | |
| <div class="mb-4"> | |
| <h4 class="text-sm font-medium mb-2">Getting Started</h4> | |
| <div class="space-y-2"> | |
| <div class="lab-step active pl-3 py-2 bg-gray-50 dark:bg-gray-700 rounded"> | |
| <p class="text-sm font-medium">1. Platform Overview</p> | |
| <p class="text-xs text-gray-500 dark:text-gray-400">5 min</p> | |
| </div> | |
| <div class="lab-step pl-3 py-2 hover:bg-gray-50 dark:hover:bg-gray-700 rounded cursor-pointer"> | |
| <p class="text-sm font-medium">2. First Deployment</p> | |
| <p class="text-xs text-gray-500 dark:text-gray-400">10 min</p> | |
| </div> | |
| <div class="lab-step pl-3 py-2 hover:bg-gray-50 dark:hover:bg-gray-700 rounded cursor-pointer"> | |
| <p class="text-sm font-medium">3. Monitoring Basics</p> | |
| <p class="text-xs text-gray-500 dark:text-gray-400">8 min</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="text-sm font-medium mb-2">Recent Labs</h4> | |
| <div class="space-y-3"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 h-10 w-10 rounded bg-indigo-100 dark:bg-indigo-900 flex items-center justify-center text-indigo-600 dark:text-indigo-300 mr-3"> | |
| <i class="fas fa-project-diagram"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium">Agent Deployment</p> | |
| <p class="text-xs text-gray-500 dark:text-gray-400">Completed 2 days ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 h-10 w-10 rounded bg-green-100 dark:bg-green-900 flex items-center justify-center text-green-600 dark:text-green-300 mr-3"> | |
| <i class="fas fa-lock"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium">Security Protocols</p> | |
| <p class="text-xs text-gray-500 dark:text-gray-400">In progress (60%)</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <!-- Command Bar Overlay --> | |
| <div id="commandBarOverlay" class="hidden fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center command-bar-overlay"> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow-xl w-full max-w-2xl mx-4"> | |
| <div class="p-4 border-b border-gray-200 dark:border-gray-700 flex items-center"> | |
| <i class="fas fa-terminal text-indigo-600 dark:text-indigo-300 mr-3"></i> | |
| <input type="text" class="flex-1 bg-transparent border-none focus:ring-0 text-lg" placeholder="What would you like to do? (e.g., deploy agents, check compliance, optimize costs)"> | |
| <button id="closeCommandBar" class="ml-3 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <div class="max-h-96 overflow-y-auto"> | |
| <div class="p-4 border-b border-gray-200 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700 cursor-pointer"> | |
| <div class="flex items-center"> | |
| <div class="mr-3 text-indigo-600 dark:text-indigo-300"> | |
| <i class="fas fa-robot"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium">Deploy new agent cluster</p> | |
| <p class="text-sm text-gray-500 dark:text-gray-400">Initiate 5 new agents in US-East region</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 border-b border-gray-200 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700 cursor-pointer"> | |
| <div class="flex items-center"> | |
| <div class="mr-3 text-blue-600 dark:text-blue-300"> | |
| <i class="fas fa-chart-line"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium">Show cost optimization</p> | |
| <p class="text-sm text-gray-500 dark:text-gray-400">Display cost savings opportunities</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 border-b border-gray-200 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700 cursor-pointer"> | |
| <div class="flex items-center"> | |
| <div class="mr-3 text-green-600 dark:text-green-300"> | |
| <i class="fas fa-shield-alt"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium">Run security audit</p> | |
| <p class="text-sm text-gray-500 dark:text-gray-400">Check compliance with enterprise policies</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 dark:hover:bg-gray-700 cursor-pointer"> | |
| <div class="flex items-center"> | |
| <div class="mr-3 text-purple-600 dark:text-purple-300"> | |
| <i class="fas fa-flask"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium">Open lab: Agent Deployment</p> | |
| <p class="text-sm text-gray-500 dark:text-gray-400">Interactive tutorial for agent orchestration</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-3 bg-gray-50 dark:bg-gray-700 text-xs text-gray-500 dark:text-gray-400"> | |
| <span class="font-medium">Tip:</span> Try natural language commands like "show me agents with low entropy" or "what's my security score?" | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Toggle sidebar on mobile | |
| document.getElementById('sidebarToggle').addEventListener('click', function() { | |
| const sidebar = document.getElementById('sidebar'); | |
| sidebar.classList.toggle('-ml-64'); | |
| }); | |
| // Toggle dark mode | |
| document.getElementById('themeToggle').addEventListener('click', function() { | |
| document.documentElement.classList.toggle('dark'); | |
| localStorage.setItem('darkMode', document.documentElement.classList.contains('dark')); | |
| }); | |
| // Check for saved dark mode preference | |
| if (localStorage.getItem('darkMode') === 'true') { | |
| document.documentElement.classList.add('dark'); | |
| } | |
| // Command bar functionality | |
| document.getElementById('openCommandBar').addEventListener('click', function() { | |
| document.getElementById('commandBarOverlay').classList.remove('hidden'); | |
| }); | |
| document.getElementById('closeCommandBar').addEventListener('click', function() { | |
| document.getElementById('commandBarOverlay').classList.add('hidden'); | |
| }); | |
| // Keyboard shortcut for command bar (Ctrl+K or Cmd+K) | |
| document.addEventListener('keydown', function(e) { | |
| if ((e.ctrlKey || e.metaKey) && e.key === 'k') { | |
| e.preventDefault(); | |
| document.getElementById('commandBarOverlay').classList.toggle('hidden'); | |
| } | |
| }); | |
| // Generate quantum particles | |
| const quantumContainer = document.getElementById('quantumParticles'); | |
| for (let i = 0; i < 15; i++) { | |
| const particle = document.createElement('div'); | |
| particle.className = 'quantum-particle'; | |
| // Random properties | |
| const size = Math.random() * 8 + 4; | |
| const posX = Math.random() * 100; | |
| const posY = Math.random() * 100; | |
| const color = `hsl(${Math.random() * 60 + 200}, 80%, 60%)`; | |
| const delay = Math.random() * 10; | |
| particle.style.width = `${size}px`; | |
| particle.style.height = `${size}px`; | |
| particle.style.left = `${posX}%`; | |
| particle.style.top = `${posY}%`; | |
| particle.style.backgroundColor = color; | |
| particle.style.animationDelay = `${delay}s`; | |
| quantumContainer.appendChild(particle); | |
| } | |
| // Generate agent graph nodes | |
| const agentGraph = document.getElementById('agentGraph'); | |
| const agentTypes = ['monitoring', 'security', 'data', 'orchestration', 'compliance']; | |
| const colors = ['bg-green-500', 'bg-blue-500', 'bg-purple-500', 'bg-yellow-500', 'bg-red-500']; | |
| for (let i = 0; i < 8; i++) { | |
| const node = document.createElement('div'); | |
| node.className = 'agent-node absolute rounded-full flex items-center justify-center text-white shadow-md'; | |
| // Random properties | |
| const typeIndex = Math.floor(Math.random() * agentTypes.length); | |
| const size = Math.random() * 40 + 30; | |
| const posX = Math.random() * 80 + 10; | |
| const posY = Math.random() * 80 + 10; | |
| node.style.width = `${size}px`; | |
| node.style.height = `${size}px`; | |
| node.style.left = `${posX}%`; | |
| node.style.top = `${posY}%`; | |
| node.classList.add(colors[typeIndex]); | |
| node.innerHTML = `<i class="fas fa-${agentTypes[typeIndex]}"></i>`; | |
| agentGraph.appendChild(node); | |
| } | |
| // Generate sunburst chart sectors | |
| const sunburstChart = document.getElementById('sunburstChart'); | |
| const sectors = [ | |
| { name: 'Financial', value: 35, color: '#6366F1' }, | |
| { name: 'Healthcare', value: 25, color: '#8B5CF6' }, | |
| { name: 'Government', value: 20, color: '#EC4899' }, | |
| { name: 'Retail', value: 15, color: '#F43F5E' }, | |
| { name: 'Other', value: 5, color: '#F59E0B' } | |
| ]; | |
| let startAngle = 0; | |
| const radius = 40; | |
| const center = 50; | |
| sectors.forEach(sector => { | |
| const sectorAngle = (sector.value / 100) * 360; | |
| const endAngle = startAngle + sectorAngle; | |
| const startRad = (startAngle - 90) * Math.PI / 180; | |
| const endRad = (endAngle - 90) * Math.PI / 180; | |
| const x1 = center + radius * Math.cos(startRad); | |
| const y1 = center + radius * Math.sin(startRad); | |
| const x2 = center + radius * Math.cos(endRad); | |
| const y2 = center + radius * Math.sin(endRad); | |
| const largeArcFlag = sectorAngle > 180 ? 1 : 0; | |
| const path = document.createElementNS('http://www.w3.org/2000/svg', 'path'); | |
| path.setAttribute('d', `M ${center} ${center} L ${x1} ${y1} A ${radius} ${radius} 0 ${largeArcFlag} 1 ${x2} ${y2} Z`); | |
| path.setAttribute('fill', sector.color); | |
| path.setAttribute('class', 'sunburst-sector'); | |
| path.setAttribute('data-name', sector.name); | |
| path.setAttribute('data-value', sector.value); | |
| sunburstChart.appendChild(path); | |
| startAngle = endAngle; | |
| }); | |
| // Add center circle | |
| const centerCircle = document.createElementNS('http://www.w3.org/2000/svg', 'circle'); | |
| centerCircle.setAttribute('cx', center); | |
| centerCircle.setAttribute('cy', center); | |
| centerCircle.setAttribute('r', 15); | |
| centerCircle.setAttribute('fill', '#FFFFFF'); | |
| centerCircle.setAttribute('class', 'shadow-md'); | |
| sunburstChart.appendChild(centerCircle); | |
| // Add center text | |
| const centerText = document.createElementNS('http://www.w3.org/2000/svg', 'text'); | |
| centerText.setAttribute('x', center); | |
| centerText.setAttribute('y', center + 5); | |
| centerText.setAttribute('text-anchor', 'middle'); | |
| centerText.setAttribute('font-size', '10'); | |
| centerText.setAttribute('font-weight', 'bold'); | |
| centerText.setAttribute('fill', '#4B5563'); | |
| centerText.textContent = 'Data'; | |
| sunburstChart.appendChild(centerText); | |
| // Lab step interaction | |
| const labSteps = document.querySelectorAll('.lab-step'); | |
| labSteps.forEach(step => { | |
| step.addEventListener('click', function() { | |
| labSteps.forEach(s => s.classList.remove('active')); | |
| this.classList.add('active'); | |
| }); | |
| }); | |
| // Fullscreen toggle | |
| document.getElementById('fullscreenToggle').addEventListener('click', function() { | |
| if (!document.fullscreenElement) { | |
| document.documentElement.requestFullscreen().catch(err => { | |
| console.error(`Error attempting to enable fullscreen: ${err.message}`); | |
| }); | |
| this.innerHTML = '<i class="fas fa-compress"></i>'; | |
| } else { | |
| if (document.exitFullscreen) { | |
| document.exitFullscreen(); | |
| this.innerHTML = '<i class="fas fa-expand"></i>'; | |
| } | |
| } | |
| }); | |
| // PWA installation prompt | |
| let deferredPrompt; | |
| window.addEventListener('beforeinstallprompt', (e) => { | |
| e.preventDefault(); | |
| deferredPrompt = e; | |
| document.getElementById('installPrompt').classList.remove('hidden'); | |
| }); | |
| function installApp() { | |
| if (deferredPrompt) { | |
| deferredPrompt.prompt(); | |
| deferredPrompt.userChoice.then((choiceResult) => { | |
| if (choiceResult.outcome === 'accepted') { | |
| console.log('User accepted the install prompt'); | |
| } else { | |
| console.log('User dismissed the install prompt'); | |
| } | |
| deferredPrompt = null; | |
| }); | |
| } | |
| document.getElementById('installPrompt').classList.add('hidden'); | |
| } | |
| function dismissInstallPrompt() { | |
| document.getElementById('installPrompt').classList.add('hidden'); | |
| } | |
| document.getElementById('downloadApp').addEventListener('click', function() { | |
| if (deferredPrompt) { | |
| installApp(); | |
| } else { | |
| // Fallback for browsers that don't support PWA installation | |
| alert('For the best experience, use Chrome or Edge and look for the "Install" option in the browser menu.'); | |
| } | |
| }); | |
| </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=FAVL/favl" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |