Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Results | Digital Maturity Maestro</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></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> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/result-card.js"></script> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <custom-navbar></custom-navbar> | |
| <main class="container mx-auto px-4 py-8"> | |
| <div class="text-center mb-12"> | |
| <h1 class="text-4xl font-bold text-gray-800 mb-4">Your Digital Maturity Results</h1> | |
| <p class="text-xl text-gray-600 max-w-3xl mx-auto"> | |
| See how you compare across all dimensions | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-12"> | |
| <div class="bg-white rounded-xl shadow-md p-6"> | |
| <h2 class="text-2xl font-semibold text-gray-800 mb-4">Overall Maturity Score</h2> | |
| <div class="flex items-center justify-center"> | |
| <div class="relative w-64 h-64"> | |
| <canvas id="maturityChart"></canvas> | |
| <div class="absolute inset-0 flex items-center justify-center"> | |
| <span class="text-4xl font-bold text-yellow-600">3.8</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-md p-6"> | |
| <h2 class="text-2xl font-semibold text-gray-800 mb-4">Dimension Breakdown</h2> | |
| <div class="space-y-4"> | |
| <custom-result-card | |
| dimension="Strategy & Leadership" | |
| score="4.2" | |
| icon="target"> | |
| </custom-result-card> | |
| <custom-result-card | |
| dimension="Customer Experience" | |
| score="3.8" | |
| icon="users"> | |
| </custom-result-card> | |
| <custom-result-card | |
| dimension="Operations & Automation" | |
| score="3.5" | |
| icon="settings"> | |
| </custom-result-card> | |
| <custom-result-card | |
| dimension="Technology" | |
| score="4.0" | |
| icon="cpu"> | |
| </custom-result-card> | |
| <custom-result-card | |
| dimension="Data & Insights" | |
| score="3.2" | |
| icon="database"> | |
| </custom-result-card> | |
| <custom-result-card | |
| dimension="Partnership & Ecosystem" | |
| score="3.9" | |
| icon="link"> | |
| </custom-result-card> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-md p-6 mb-12"> | |
| <h2 class="text-2xl font-semibold text-gray-800 mb-4">Recommendations</h2> | |
| <div class="space-y-4"> | |
| <div class="p-4 bg-yellow-50 rounded-lg border-l-4 border-yellow-500"> | |
| <h3 class="font-medium text-gray-800 mb-2">Improve Data & Insights</h3> | |
| <p class="text-gray-600">Consider implementing advanced analytics and data governance frameworks to enhance your data capabilities.</p> | |
| </div> | |
| <div class="p-4 bg-yellow-50 rounded-lg border-l-4 border-yellow-500"> | |
| <h3 class="font-medium text-gray-800 mb-2">Optimize Operations</h3> | |
| <p class="text-gray-600">Evaluate opportunities for further automation and process optimization in your operational workflows.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex justify-center"> | |
| <a href="index.html" class="px-6 py-3 bg-yellow-500 text-white rounded-lg font-medium hover:bg-yellow-600 transition"> | |
| Start New Assessment | |
| </a> | |
| </div> | |
| </main> | |
| <script> | |
| feather.replace(); | |
| // Initialize chart | |
| const ctx = document.getElementById('maturityChart').getContext('2d'); | |
| new Chart(ctx, { | |
| type: 'radar', | |
| data: { | |
| labels: ['Strategy', 'Customer', 'Operations', 'Technology', 'Data', 'Ecosystem'], | |
| datasets: [{ | |
| label: 'Your Score', | |
| data: [4.2, 3.8, 3.5, 4.0, 3.2, 3.9], | |
| backgroundColor: 'rgba(245, 158, 11, 0.2)', | |
| borderColor: 'rgba(245, 158, 11, 1)', | |
| borderWidth: 2, | |
| pointBackgroundColor: 'rgba(245, 158, 11, 1)', | |
| pointRadius: 4 | |
| }] | |
| }, | |
| options: { | |
| scales: { | |
| r: { | |
| angleLines: { | |
| display: true | |
| }, | |
| suggestedMin: 0, | |
| suggestedMax: 5, | |
| ticks: { | |
| stepSize: 1 | |
| } | |
| } | |
| } | |
| } | |
| }); | |
| </script> | |
| <script src="script.js"></script> | |
| </body> | |
| </html> |