Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Dashboard | DecisiveAI Pathfinder</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <style> | |
| .progress-ring__circle { | |
| transition: stroke-dashoffset 0.5s; | |
| transform: rotate(-90deg); | |
| transform-origin: 50% 50%; | |
| } | |
| .decision-pill { | |
| transition: all 0.3s ease; | |
| } | |
| .decision-pill:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="min-h-screen flex"> | |
| <!-- Sidebar --> | |
| <div class="hidden lg:flex lg:w-64 bg-white shadow-sm flex-col"> | |
| <div class="p-6 border-b border-gray-200"> | |
| <div class="flex items-center space-x-2"> | |
| <i data-feather="compass" class="text-indigo-600 w-6 h-6"></i> | |
| <h1 class="text-xl font-bold text-gray-800">DecisiveAI</h1> | |
| </div> | |
| </div> | |
| <nav class="flex-1 p-4 space-y-2"> | |
| <a href="#" class="block px-3 py-2 rounded-lg bg-indigo-50 text-indigo-700 font-medium"> | |
| <div class="flex items-center"> | |
| <i data-feather="home" class="w-4 h-4 mr-3"></i> | |
| Dashboard | |
| </div> | |
| </a> | |
| <a href="#" class="block px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <div class="flex items-center"> | |
| <i data-feather="layers" class="w-4 h-4 mr-3"></i> | |
| Framework | |
| </div> | |
| </a> | |
| <a href="#" class="block px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <div class="flex items-center"> | |
| <i data-feather="cpu" class="w-4 h-4 mr-3"></i> | |
| AI Guide | |
| </div> | |
| </a> | |
| <a href="#" class="block px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <div class="flex items-center"> | |
| <i data-feather="file-text" class="w-4 h-4 mr-3"></i> | |
| Documents | |
| </div> | |
| </a> | |
| <a href="#" class="block px-3 py-2 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <div class="flex items-center"> | |
| <i data-feather="settings" class="w-4 h-4 mr-3"></i> | |
| Settings | |
| </div> | |
| </a> | |
| </nav> | |
| <div class="p-4 border-t border-gray-200"> | |
| <div class="flex items-center space-x-3"> | |
| <div class="w-9 h-9 rounded-full bg-indigo-100 flex items-center justify-center"> | |
| <i data-feather="user" class="text-indigo-600 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="text-sm font-medium">Alex Johnson</p> | |
| <p class="text-xs text-gray-500">Founder, StartupCo</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1"> | |
| <!-- Top Navigation --> | |
| <header class="bg-white shadow-sm"> | |
| <div class="px-4 py-4 flex justify-between items-center"> | |
| <div class="flex items-center lg:hidden"> | |
| <button class="mr-4"> | |
| <i data-feather="menu" class="w-6 h-6 text-gray-700"></i> | |
| </button> | |
| <div class="flex items-center space-x-2"> | |
| <i data-feather="compass" class="text-indigo-600 w-5 h-5"></i> | |
| <span class="text-lg font-bold text-gray-800">DecisiveAI</span> | |
| </div> | |
| </div> | |
| <div class="hidden lg:block"> | |
| <h1 class="text-xl font-bold text-gray-800">Dashboard</h1> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="relative"> | |
| <i data-feather="bell" class="w-5 h-5 text-gray-700"></i> | |
| <span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"></span> | |
| </button> | |
| <div class="lg:hidden"> | |
| <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center"> | |
| <i data-feather="user" class="text-indigo-600 w-4 h-4"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Dashboard Content --> | |
| <main class="p-4 lg:p-6"> | |
| <!-- Summary Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6"> | |
| <div class="bg-white rounded-xl shadow-sm p-5"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Framework Progress</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">14%</h3> | |
| </div> | |
| <div class="bg-indigo-100 text-indigo-600 p-2 rounded-lg"> | |
| <i data-feather="layers" class="w-5 h-5"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="w-full bg-gray-200 rounded-full h-1.5"> | |
| <div class="bg-indigo-600 h-1.5 rounded-full" style="width: 14%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-sm p-5"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Current Decision</p> | |
| <h3 class="text-xl font-bold text-gray-800 mt-1">Vision</h3> | |
| </div> | |
| <div class="bg-green-100 text-green-600 p-2 rounded-lg"> | |
| <i data-feather="eye" class="w-5 h-5"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-indigo-100 text-indigo-800">Step 2 of 7</span> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-sm p-5"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">AI Suggestions</p> | |
| <h3 class="text-2xl font-bold text-gray-800 mt-1">3 New</h3> | |
| </div> | |
| <div class="bg-purple-100 text-purple-600 p-2 rounded-lg"> | |
| <i data-feather="cpu" class="w-5 h-5"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <a href="#" class="text-sm font-medium text-purple-600 hover:text-purple-700">View all</a> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-sm p-5"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Last Updated</p> | |
| <h3 class="text-xl font-bold text-gray-800 mt-1">2 hours ago</h3> | |
| </div> | |
| <div class="bg-yellow-100 text-yellow-600 p-2 rounded-lg"> | |
| <i data-feather="clock" class="w-5 h-5"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <button class="text-sm font-medium text-indigo-600 hover:text-indigo-700 flex items-center"> | |
| <i data-feather="refresh-cw" class="w-4 h-4 mr-1"></i> Sync Now | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Progress Visualization --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6"> | |
| <!-- Circular Progress --> | |
| <div class="bg-white rounded-xl shadow-sm p-6"> | |
| <h2 class="text-lg font-bold text-gray-800 mb-4">Framework Completion</h2> | |
| <div class="flex justify-center"> | |
| <svg class="w-40 h-40"> | |
| <circle | |
| class="text-gray-200" | |
| stroke-width="8" | |
| stroke="currentColor" | |
| fill="transparent" | |
| r="64" | |
| cx="80" | |
| cy="80" | |
| /> | |
| <circle | |
| class="progress-ring__circle text-indigo-600" | |
| stroke-width="8" | |
| stroke-linecap="round" | |
| stroke="currentColor" | |
| fill="transparent" | |
| r="64" | |
| cx="80" | |
| cy="80" | |
| stroke-dasharray="402" | |
| stroke-dashoffset="calc(402 - (402 * 14) / 100)" | |
| /> | |
| <text x="80" y="85" font-family="Arial" font-size="24" text-anchor="middle" fill="#4f46e5" font-weight="bold">14%</text> | |
| </svg> | |
| </div> | |
| <p class="text-center text-gray-600 mt-2">Completed 1 of 7 decisions</p> | |
| </div> | |
| <!-- Steps Timeline --> | |
| <div class="bg-white rounded-xl shadow-sm p-6 lg:col-span-2"> | |
| <h2 class="text-lg font-bold text-gray-800 mb-4">Decision Progress</h2> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <div class="bg-indigo-100 text-indigo-800 w-8 h-8 rounded-full flex items-center justify-center font-bold text-sm mr-4 mt-1 flex-shrink-0">1</div> | |
| <div class="flex-1"> | |
| <div class="flex justify-between items-start"> | |
| <h3 class="font-medium text-gray-800">Mission</h3> | |
| <span class="text-xs bg-green-100 text-green-800 px-2 py-0.5 rounded-full">Completed</span> | |
| </div> | |
| <p class="text-sm text-gray-600 mt-1">"To empower local businesses with affordable digital tools that level the playing field with big corporations."</p> | |
| <p class="text-xs text-gray-500 mt-2">Last updated: Jul 15, 2023</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-indigo-600 text-white w-8 h-8 rounded-full flex items-center justify-center font-bold text-sm mr-4 mt-1 flex-shrink-0">2</div> | |
| <div class="flex-1"> | |
| <div class="flex justify-between items-start"> | |
| <h3 class="font-medium text-gray-800">Vision</h3> | |
| <span class="text-xs bg-yellow-100 text-yellow-800 px-2 py-0.5 rounded-full">In Progress</span> | |
| </div> | |
| <p class="text-sm text-gray-600 mt-1">Currently working on this decision</p> | |
| <div class="mt-2"> | |
| <div class="w-full bg-gray-200 rounded-full h-1"> | |
| <div class="bg-indigo-600 h-1 rounded-full" style="width: 30%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-gray-200 text-gray-600 w-8 h-8 rounded-full flex items-center justify-center font-bold text-sm mr-4 mt-1 flex-shrink-0">3</div> | |
| <div> | |
| <h3 class="font-medium text-gray-500">Market</h3> | |
| <p class="text-sm text-gray-400 mt-1">Not started</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- AI Recommendations --> | |
| <div class="bg-white rounded-xl shadow-sm p-6 mb-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-bold text-gray-800">AI Recommendations</h2> | |
| <button class="text-indigo-600 hover:text-indigo-800 text-sm font-medium flex items-center"> | |
| <i data-feather="refresh-cw" class="w-4 h-4 mr-1"></i> Refresh | |
| </button> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <div class="border border-gray-200 rounded-lg p-4 hover:border-indigo-300 transition-colors"> | |
| <div class="flex items-start mb-3"> | |
| <div class="bg-indigo-100 text-indigo-600 p-2 rounded-lg mr-3 flex-shrink-0"> | |
| <i data-feather="book" class="w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-medium text-gray-800 mb-1">Vision Statement Examples</h3> | |
| <p class="text-sm text-gray-600">Review 5 vision statements from successful companies in your industry.</p> | |
| </div> | |
| </div> | |
| <button class="text-sm text-indigo-600 hover:text-indigo-800 font-medium flex items-center mt-2"> | |
| View Examples <i data-feather="chevron-right" class="w-4 h-4 ml-1"></i> | |
| </button> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg p-4 hover:border-indigo-300 transition-colors"> | |
| <div class="flex items-start mb-3"> | |
| <div class="bg-green-100 text-green-600 p-2 rounded-lg mr-3 flex-shrink-0"> | |
| <i data-feather="check-circle" class="w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-medium text-gray-800 mb-1">Mission-Vision Alignment</h3> | |
| <p class="text-sm text-gray-600">Your mission and vision show strong alignment (87% match).</p> | |
| </div> | |
| </div> | |
| <button class="text-sm text-indigo-600 hover:text-indigo-800 font-medium flex items-center mt-2"> | |
| See Analysis <i data-feather="chevron-right" class="w-4 h-4 ml-1"></i> | |
| </button> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg p-4 hover:border-indigo-300 transition-colors"> | |
| <div class="flex items-start mb-3"> | |
| <div class="bg-purple-100 text-purple-600 p-2 rounded-lg mr-3 flex-shrink-0"> | |
| <i data-feather="skip-forward" class="w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-medium text-gray-800 mb-1">Next Step Preview</h3> | |
| <p class="text-sm text-gray-600">Prepare for Market Segmentation with these 3 exercises.</p> | |
| </div> | |
| </div> | |
| <button class="text-sm text-indigo-600 hover:text-indigo-800 font-medium flex items-center mt-2"> | |
| Get Prepared <i data-feather="chevron-right" class="w-4 h-4 ml-1"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Data Export --> | |
| <div class="bg-white rounded-xl shadow-sm p-6"> | |
| <h2 class="text-lg font-bold text-gray-800 mb-4">Export Your Progress</h2> | |
| <p class="text-gray-600 mb-6">Download your complete framework progress in various formats for sharing with your team or investors.</p> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <button class="flex flex-col items-center justify-center border-2 border-gray-200 rounded-xl p-6 hover:border-indigo-300 hover:bg-indigo-50 transition-colors"> | |
| <div class="bg-indigo-100 text-indigo-600 p-3 rounded-full mb-3"> | |
| <i data-feather="file-text" class="w-6 h-6"></i> | |
| </div> | |
| <h3 class="font-medium text-gray-800 mb-1">PDF Report</h3> | |
| <p class="text-sm text-gray-500 text-center">Professional formatted document</p> | |
| </button> | |
| <button class="flex flex-col items-center justify-center border-2 border-gray-200 rounded-xl p-6 hover:border-indigo-300 hover:bg-indigo-50 transition-colors"> | |
| <div class="bg-green-100 text-green-600 p-3 rounded-full mb-3"> | |
| <i data-feather="code" class="w-6 h-6"></i> | |
| </div> | |
| <h3 class="font-medium text-gray-800 mb-1">JSON Data</h3> | |
| <p class="text-sm text-gray-500 text-center">Machine-readable format</p> | |
| </button> | |
| <button class="flex flex-col items-center justify-center border-2 border-gray-200 rounded-xl p-6 hover:border-indigo-300 hover:bg-indigo-50 transition-colors"> | |
| <div class="bg-purple-100 text-purple-600 p-3 rounded-full mb-3"> | |
| <i data-feather="presentation" class="w-6 h-6"></i> | |
| </div> | |
| <h3 class="font-medium text-gray-800 mb-1">Slide Deck</h3> | |
| <p class="text-sm text-gray-500 text-center">Ready for investor pitches</p> | |
| </button> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| // Initialize Feather Icons | |
| feather.replace(); | |
| // Initialize Chart.js | |
| document.addEventListener('DOMContentLoaded', () => { | |
| // Circular progress animation | |
| const circle = document.querySelector('.progress-ring__circle'); | |
| const radius = circle.r.baseVal.value; | |
| const circumference = radius * 2 * Math.PI; | |
| circle.style.strokeDasharray = circumference; | |
| circle.style.strokeDashoffset = circumference; | |
| // Animate progress | |
| const offset = circumference - (14 / 100) * circumference; | |
| circle.style.strokeDashoffset = offset; | |
| }); | |
| </script> | |
| </body> | |
| </html> | |