Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Dev Workflow Optimizer</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> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%); | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .progress-ring__circle { | |
| transition: stroke-dashoffset 0.5s; | |
| transform: rotate(-90deg); | |
| transform-origin: 50% 50%; | |
| } | |
| .task-completed { | |
| text-decoration: line-through; | |
| color: #9CA3AF; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 min-h-screen"> | |
| <div class="gradient-bg text-white py-6 px-4 shadow-lg"> | |
| <div class="container mx-auto flex justify-between items-center"> | |
| <h1 class="text-3xl font-bold">Dev Workflow Optimizer</h1> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <input type="text" placeholder="Search workflows..." class="bg-white bg-opacity-20 placeholder-white rounded-full py-2 px-4 pl-10 focus:outline-none focus:ring-2 focus:ring-white"> | |
| <i class="fas fa-search absolute left-3 top-3 text-white"></i> | |
| </div> | |
| <div class="w-10 h-10 rounded-full bg-white bg-opacity-30 flex items-center justify-center"> | |
| <i class="fas fa-user text-white"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="container mx-auto py-8 px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <!-- Workflow Progress --> | |
| <div class="bg-white rounded-xl shadow-md p-6"> | |
| <h2 class="text-xl font-semibold mb-4">Workflow Progress</h2> | |
| <div class="flex justify-center mb-6"> | |
| <svg class="progress-ring w-40 h-40" viewBox="0 0 100 100"> | |
| <circle class="progress-ring__circle stroke-gray-200" stroke-width="6" fill="transparent" r="40" cx="50" cy="50"/> | |
| <circle class="progress-ring__circle stroke-blue-500" stroke-width="6" stroke-dasharray="251.2" stroke-dashoffset="75.36" fill="transparent" r="40" cx="50" cy="50"/> | |
| <text x="50" y="50" text-anchor="middle" dy=".3em" class="text-xl font-bold">70%</text> | |
| </svg> | |
| </div> | |
| <div class="space-y-3"> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center mr-3"> | |
| <i class="fas fa-check text-green-500"></i> | |
| </div> | |
| <span class="font-medium">Setup translation system</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center mr-3"> | |
| <i class="fas fa-check text-green-500"></i> | |
| </div> | |
| <span class="font-medium">Implement refactoring tools</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-3"> | |
| <i class="fas fa-spinner text-blue-500 animate-spin"></i> | |
| </div> | |
| <span class="font-medium">Documentation templates</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center mr-3"> | |
| <i class="fas fa-circle text-gray-300"></i> | |
| </div> | |
| <span class="font-medium text-gray-400">Automation scripts</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Quick Actions --> | |
| <div class="bg-white rounded-xl shadow-md p-6"> | |
| <h2 class="text-xl font-semibold mb-4">Quick Actions</h2> | |
| <div class="grid grid-cols-2 gap-4"> | |
| <button class="card-hover bg-blue-50 hover:bg-blue-100 rounded-lg p-4 flex flex-col items-center transition-all duration-300"> | |
| <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mb-2"> | |
| <i class="fas fa-code text-blue-500 text-xl"></i> | |
| </div> | |
| <span class="text-sm font-medium text-center">Translate to Code</span> | |
| </button> | |
| <button class="card-hover bg-purple-50 hover:bg-purple-100 rounded-lg p-4 flex flex-col items-center transition-all duration-300"> | |
| <div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center mb-2"> | |
| <i class="fas fa-sync-alt text-purple-500 text-xl"></i> | |
| </div> | |
| <span class="text-sm font-medium text-center">Refactor Code</span> | |
| </button> | |
| <button class="card-hover bg-green-50 hover:bg-green-100 rounded-lg p-4 flex flex-col items-center transition-all duration-300"> | |
| <div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mb-2"> | |
| <i class="fas fa-file-alt text-green-500 text-xl"></i> | |
| </div> | |
| <span class="text-sm font-medium text-center">Update Docs</span> | |
| </button> | |
| <button class="card-hover bg-yellow-50 hover:bg-yellow-100 rounded-lg p-4 flex flex-col items-center transition-all duration-300"> | |
| <div class="w-12 h-12 rounded-full bg-yellow-100 flex items-center justify-center mb-2"> | |
| <i class="fas fa-robot text-yellow-500 text-xl"></i> | |
| </div> | |
| <span class="text-sm font-medium text-center">Automate Task</span> | |
| </button> | |
| </div> | |
| <div class="mt-6"> | |
| <h3 class="font-medium mb-3">Recent Activities</h3> | |
| <div class="space-y-3"> | |
| <div class="flex items-start"> | |
| <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-3 mt-1"> | |
| <i class="fas fa-code-branch text-blue-500 text-sm"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm">Refactored user authentication module</p> | |
| <p class="text-xs text-gray-500">2 hours ago</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center mr-3 mt-1"> | |
| <i class="fas fa-book text-green-500 text-sm"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm">Updated API documentation</p> | |
| <p class="text-xs text-gray-500">Yesterday</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Task List --> | |
| <div class="bg-white rounded-xl shadow-md p-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-xl font-semibold">Today's Tasks</h2> | |
| <button class="text-blue-500 hover:text-blue-700"> | |
| <i class="fas fa-plus"></i> Add | |
| </button> | |
| </div> | |
| <div class="space-y-3"> | |
| <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg"> | |
| <div class="flex items-center"> | |
| <input type="checkbox" class="mr-3 h-5 w-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500"> | |
| <span>Review translation accuracy</span> | |
| </div> | |
| <span class="text-xs px-2 py-1 bg-blue-100 text-blue-800 rounded-full">High</span> | |
| </div> | |
| <div class="flex items-center justify-between p-3"> | |
| <div class="flex items-center"> | |
| <input type="checkbox" class="mr-3 h-5 w-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500"> | |
| <span>Setup static analysis tools</span> | |
| </div> | |
| <span class="text-xs px-2 py-1 bg-yellow-100 text-yellow-800 rounded-full">Medium</span> | |
| </div> | |
| <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg"> | |
| <div class="flex items-center"> | |
| <input type="checkbox" checked class="mr-3 h-5 w-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500"> | |
| <span class="task-completed">Create documentation template</span> | |
| </div> | |
| <span class="text-xs px-2 py-1 bg-gray-100 text-gray-800 rounded-full">Done</span> | |
| </div> | |
| <div class="flex items-center justify-between p-3"> | |
| <div class="flex items-center"> | |
| <input type="checkbox" class="mr-3 h-5 w-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500"> | |
| <span>Plan knowledge sharing session</span> | |
| </div> | |
| <span class="text-xs px-2 py-1 bg-purple-100 text-purple-800 rounded-full">Low</span> | |
| </div> | |
| </div> | |
| <div class="mt-6"> | |
| <h3 class="font-medium mb-3">Team Collaboration</h3> | |
| <div class="bg-blue-50 rounded-lg p-4"> | |
| <div class="flex items-center mb-3"> | |
| <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-3"> | |
| <i class="fas fa-question text-blue-500"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium">Need help with the new API endpoints</p> | |
| <p class="text-xs text-gray-600">Posted by Sarah 30 mins ago</p> | |
| </div> | |
| </div> | |
| <div class="flex"> | |
| <input type="text" placeholder="Type your answer..." class="flex-grow rounded-l-lg border border-r-0 border-gray-300 px-3 py-2 focus:outline-none focus:ring-1 focus:ring-blue-500"> | |
| <button class="bg-blue-500 text-white px-4 rounded-r-lg hover:bg-blue-600"> | |
| <i class="fas fa-paper-plane"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Workflow Steps --> | |
| <div class="mt-8 bg-white rounded-xl shadow-md p-6"> | |
| <h2 class="text-xl font-semibold mb-6">Workflow Steps</h2> | |
| <div class="relative"> | |
| <!-- Progress line --> | |
| <div class="absolute left-5 top-0 h-full w-1 bg-gray-200"></div> | |
| <!-- Steps --> | |
| <div class="space-y-8"> | |
| <!-- Step 1 --> | |
| <div class="relative flex items-start"> | |
| <div class="absolute left-5 -ml-2.5 w-4 h-4 rounded-full bg-blue-500 border-4 border-white"></div> | |
| <div class="ml-10"> | |
| <h3 class="font-semibold text-lg">1. Natural Language to Code</h3> | |
| <p class="text-gray-600 mt-1">Convert user requirements into logical programming steps using language processing tools.</p> | |
| <div class="mt-3 flex flex-wrap gap-2"> | |
| <span class="px-2 py-1 bg-blue-100 text-blue-800 text-xs rounded-full">Python</span> | |
| <span class="px-2 py-1 bg-blue-100 text-blue-800 text-xs rounded-full">JavaScript</span> | |
| <span class="px-2 py-1 bg-blue-100 text-blue-800 text-xs rounded-full">NLP</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Step 2 --> | |
| <div class="relative flex items-start"> | |
| <div class="absolute left-5 -ml-2.5 w-4 h-4 rounded-full bg-blue-500 border-4 border-white"></div> | |
| <div class="ml-10"> | |
| <h3 class="font-semibold text-lg">2. Refactor & Debug</h3> | |
| <p class="text-gray-600 mt-1">Implement continuous review process with static analysis tools to identify inefficiencies.</p> | |
| <div class="mt-3 flex flex-wrap gap-2"> | |
| <span class="px-2 py-1 bg-purple-100 text-purple-800 text-xs rounded-full">ESLint</span> | |
| <span class="px-2 py-1 bg-purple-100 text-purple-800 text-xs rounded-full">SonarQube</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Step 3 --> | |
| <div class="relative flex items-start"> | |
| <div class="absolute left-5 -ml-2.5 w-4 h-4 rounded-full bg-blue-500 border-4 border-white"></div> | |
| <div class="ml-10"> | |
| <h3 class="font-semibold text-lg">3. Documentation</h3> | |
| <p class="text-gray-600 mt-1">Establish standards with templates for comments, guides, and API references.</p> | |
| <div class="mt-3 flex flex-wrap gap-2"> | |
| <span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Markdown</span> | |
| <span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Swagger</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Step 4 --> | |
| <div class="relative flex items-start"> | |
| <div class="absolute left-5 -ml-2.5 w-4 h-4 rounded-full bg-blue-300 border-4 border-white"></div> | |
| <div class="ml-10"> | |
| <h3 class="font-semibold text-lg">4. Team Collaboration</h3> | |
| <p class="text-gray-600 mt-1">Set up knowledge base and forums for questions, with regular sharing sessions.</p> | |
| <div class="mt-3 flex flex-wrap gap-2"> | |
| <span class="px-2 py-1 bg-yellow-100 text-yellow-800 text-xs rounded-full">Confluence</span> | |
| <span class="px-2 py-1 bg-yellow-100 text-yellow-800 text-xs rounded-full">Slack</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Step 5 --> | |
| <div class="relative flex items-start"> | |
| <div class="absolute left-5 -ml-2.5 w-4 h-4 rounded-full bg-gray-300 border-4 border-white"></div> | |
| <div class="ml-10"> | |
| <h3 class="font-semibold text-lg">5. Automation</h3> | |
| <p class="text-gray-600 mt-1">Identify and automate repetitive tasks like testing, deployment, and formatting.</p> | |
| <div class="mt-3 flex flex-wrap gap-2"> | |
| <span class="px-2 py-1 bg-red-100 text-red-800 text-xs rounded-full">GitHub Actions</span> | |
| <span class="px-2 py-1 bg-red-100 text-red-800 text-xs rounded-full">Prettier</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Step 6 --> | |
| <div class="relative flex items-start"> | |
| <div class="absolute left-5 -ml-2.5 w-4 h-4 rounded-full bg-gray-300 border-4 border-white"></div> | |
| <div class="ml-10"> | |
| <h3 class="font-semibold text-lg">6. Project Setup</h3> | |
| <p class="text-gray-600 mt-1">Develop template library for new projects with consistent structure and configuration.</p> | |
| <div class="mt-3 flex flex-wrap gap-2"> | |
| <span class="px-2 py-1 bg-indigo-100 text-indigo-800 text-xs rounded-full">Boilerplate</span> | |
| <span class="px-2 py-1 bg-indigo-100 text-indigo-800 text-xs rounded-full">CLI</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Simple task completion toggle | |
| document.querySelectorAll('input[type="checkbox"]').forEach(checkbox => { | |
| checkbox.addEventListener('change', function() { | |
| const taskText = this.nextElementSibling; | |
| if (this.checked) { | |
| taskText.classList.add('task-completed'); | |
| } else { | |
| taskText.classList.remove('task-completed'); | |
| } | |
| }); | |
| }); | |
| // Simulate progress ring animation | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const circle = document.querySelector('.progress-ring__circle.stroke-blue-500'); | |
| const radius = circle.r.baseVal.value; | |
| const circumference = 2 * Math.PI * radius; | |
| circle.style.strokeDasharray = circumference; | |
| circle.style.strokeDashoffset = circumference * 0.3; // 70% complete | |
| }); | |
| </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=S-Dreamer/devworkoptimizer" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |