<!DOCTYPE html>

<html lang="it">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Strumento di Download</title>

    <script src="https://cdn.tailwindcss.com"></script>

    <style>

        body {

            display: flex;

            justify-content: center;

            align-items: center;

            height: 100vh;

            font-family: sans-serif;

            background-color: #f0f2f5;

            margin: 0;

            text-align: center;

        }

        .container {

            padding: 40px;

            background-color: white;

            border-radius: 12px;

            box-shadow: 0 4px 12px rgba(0,0,0,0.1);

        }

        h1 {

            color: #333;

            margin-bottom: 24px;

        }

        button {

            background-color: #0d9488;

            color: white;

            padding: 12px 24px;

            border: none;

            border-radius: 8px;

            font-size: 16px;

            cursor: pointer;

            transition: background-color 0.3s;

        }

        button:hover {

            background-color: #0f766e;

        }

    </style>

</head>

<body>


    <div class="container">

        <h1>Strumento per la Dashboard</h1>

        <p class="text-gray-600 mb-6">Clicca il pulsante qui sotto per scaricare il file <code>index.html</code> corretto.</p>

        <button onclick="downloadFile()">Scarica il File index.html Corretto</button>

    </div>


    <!-- Il codice della dashboard è nascosto qui dentro, pronto per essere scaricato -->

    <textarea id="dashboardCode" style="display: none;">

&lt;!DOCTYPE html&gt;

&lt;html lang=&quot;it&quot; class=&quot;scroll-smooth&quot;&gt;

&lt;head&gt;

    &lt;meta charset=&quot;UTF-8&quot;&gt;

    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;

    &lt;title&gt;Dashboard Interattiva: Analisi CRO Gioielleria Amadori&lt;/title&gt;

    &lt;script src=&quot;https://cdn.tailwindcss.com&quot;&gt;&lt;/script&gt;

    &lt;script src=&quot;https://cdn.jsdelivr.net/npm/chart.js&quot;&gt;&lt;/script&gt;

    &lt;link rel=&quot;preconnect&quot; href=&quot;https://fonts.googleapis.com&quot;&gt;

    &lt;link rel=&quot;preconnect&quot; href=&quot;https://fonts.gstatic.com&quot; crossorigin&gt;

    &lt;link href=&quot;https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&amp;display=swap&quot; rel=&quot;stylesheet&quot;&gt;

    &lt;style&gt;

        body {

            font-family: 'Inter', sans-serif;

            background-color: #F5F5F4; /* stone-100 */

            color: #374151; /* gray-700 */

        }

        .chart-container {

            position: relative;

            margin: auto;

            height: 40vh;

            width: 100%;

            max-width: 500px;

            max-height: 500px;

        }

        .nav-link {

            transition: all 0.2s ease-in-out;

            border-left: 3px solid transparent;

        }

        .nav-link.active, .nav-link:hover {

            border-left-color: #0d9488; /* teal-600 */

            background-color: #F0FDF4; /* green-50 */

            color: #0d9488; /* teal-600 */

            transform: translateX(2px);

        }

    &lt;/style&gt;

&lt;/head&gt;

&lt;body class=&quot;antialiased&quot;&gt;


    &lt;div class=&quot;relative min-h-screen md:flex&quot;&gt;

        

        &lt;aside class=&quot;md:w-64 py-4 px-2 bg-stone-50 border-r border-stone-200&quot;&gt;

            &lt;nav&gt;

                &lt;h2 class=&quot;text-lg font-bold text-gray-800 px-4 mb-4&quot;&gt;Menu Analisi&lt;/h2&gt;

                &lt;a href=&quot;#panoramica&quot; class=&quot;nav-link block py-2.5 px-4 rounded font-semibold&quot;&gt;Panoramica&lt;/a&gt;

                &lt;a href=&quot;#punti-di-forza&quot; class=&quot;nav-link block py-2.5 px-4 rounded font-semibold&quot;&gt;Punti di Forza&lt;/a&gt;

                &lt;a href=&quot;#aree-miglioramento&quot; class=&quot;nav-link block py-2.5 px-4 rounded font-semibold&quot;&gt;Aree di Miglioramento&lt;/a&gt;

                &lt;a href=&quot;#analisi-mobile&quot; class=&quot;nav-link block py-2.5 px-4 rounded font-semibold&quot;&gt;Analisi Mobile&lt;/a&gt;

                &lt;a href=&quot;#prossimi-passi&quot; class=&quot;nav-link block py-2.5 px-4 rounded font-semibold&quot;&gt;Prossimi Passi&lt;/a&gt;

            &lt;/nav&gt;

        &lt;/aside&gt;


        &lt;main class=&quot;flex-1 p-4 sm:p-6 md:p-10&quot;&gt;

            &lt;header class=&quot;mb-10&quot;&gt;

                &lt;h1 class=&quot;text-3xl md:text-4xl font-bold text-gray-800&quot;&gt;Dashboard di Analisi CRO&lt;/h1&gt;

                &lt;p class=&quot;text-lg text-gray-500 mt-1&quot;&gt;Sito Web: Gioielleria Amadori&lt;/p&gt;

            &lt;/header&gt;


            &lt;section id=&quot;panoramica&quot; class=&quot;mb-16 scroll-mt-20&quot;&gt;

                &lt;h2 class=&quot;text-2xl font-bold text-gray-800 border-b pb-2 mb-4&quot;&gt;Panoramica Generale&lt;/h2&gt;

                &lt;div class=&quot;grid md:grid-cols-3 gap-6&quot;&gt;

                    &lt;div class=&quot;md:col-span-2 bg-white p-6 rounded-lg shadow-sm&quot;&gt;

                        &lt;h3 class=&quot;font-bold text-lg mb-2 text-teal-700&quot;&gt;Obiettivo e Sintesi&lt;/h3&gt;

                        &lt;p class=&quot;text-gray-600&quot;&gt;Il sito di Gioielleria Amadori si posiziona come estensione digitale della gioielleria fisica fondata nel 1998. L'obiettivo primario è offrire una piattaforma online sicura e affidabile per l'acquisto di gioielli e orologi originali. L'analisi mostra che il sito ha costruito una solida base di fiducia e usabilità, elementi essenziali per il successo. Tuttavia, per ottimizzare ulteriormente le conversioni, è cruciale un'analisi più approfondita su aree specifiche come le Call-to-Action e l'esperienza mobile, al fine di identificare e risolvere potenziali punti di frizione nel percorso d'acquisto dell'utente.&lt;/p&gt;

                    &lt;/div&gt;

                    &lt;div class=&quot;bg-white p-6 rounded-lg shadow-sm flex flex-col justify-center items-center text-center&quot;&gt;

                         &lt;h3 class=&quot;font-bold text-lg mb-2 text-teal-700&quot;&gt;Stato Attuale&lt;/h3&gt;

                         &lt;div class=&quot;text-5xl font-bold text-green-500 my-2&quot;&gt;✓&lt;/div&gt;

                         &lt;p class=&quot;font-semibold text-gray-700&quot;&gt;Fondamenta Solide&lt;/p&gt;

                         &lt;p class=&quot;text-sm text-gray-500&quot;&gt;Navigazione chiara e forti segnali di fiducia già implementati.&lt;/p&gt;

                    &lt;/div&gt;

                &lt;/div&gt;

            &lt;/section&gt;


            &lt;section id=&quot;punti-di-forza&quot; class=&quot;mb-16 scroll-mt-20&quot;&gt;

                &lt;h2 class=&quot;text-2xl font-bold text-gray-800 border-b pb-2 mb-4&quot;&gt;Punti di Forza Rilevati&lt;/h2&gt;

                &lt;p class=&quot;text-gray-600 mb-6&quot;&gt;L'analisi ha identificato diversi punti di forza che contribuiscono positivamente al tasso di conversione. Questi elementi creano un'esperienza utente positiva e costruiscono un rapporto di fiducia con il cliente, riducendo il rischio percepito e incoraggiando l'acquisto.&lt;/p&gt;

                

                &lt;div class=&quot;grid md:grid-cols-2 lg:grid-cols-3 gap-6&quot;&gt;

                    &lt;div class=&quot;bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow&quot;&gt;

                        &lt;span class=&quot;text-2xl&quot;&gt;🗺️&lt;/span&gt;

                        &lt;h3 class=&quot;font-bold text-lg mt-2 mb-1&quot;&gt;Navigazione Chiara&lt;/h3&gt;

                        &lt;p class=&quot;text-gray-600 text-sm&quot;&gt;Menu principale e categorie ben strutturate guidano l'utente in modo intuitivo.&lt;/p&gt;

                    &lt;/div&gt;

                    &lt;div class=&quot;bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow&quot;&gt;

                        &lt;span class=&quot;text-2xl&quot;&gt;🛡️&lt;/span&gt;

                        &lt;h3 class=&quot;font-bold text-lg mt-2 mb-1&quot;&gt;Garanzia di Autenticità&lt;/h3&gt;

                        &lt;p class=&quot;text-gray-600 text-sm&quot;&gt;L'enfasi su prodotti &quot;originali&quot; e &quot;rivenditori autorizzati&quot; è un fattore cruciale.&lt;/p&gt;

                    &lt;/div&gt;

                    &lt;div class=&quot;bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow&quot;&gt;

                        &lt;span class=&quot;text-2xl&quot;&gt;⭐&lt;/span&gt;

                        &lt;h3 class=&quot;font-bold text-lg mt-2 mb-1&quot;&gt;Recensioni Verificate&lt;/h3&gt;

                        &lt;p class=&quot;text-gray-600 text-sm&quot;&gt;Aumentano la credibilità e la trasparenza, offrendo prova sociale.&lt;/p&gt;

                    &lt;/div&gt;

                    &lt;div class=&quot;bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow&quot;&gt;

                        &lt;span class=&quot;text-2xl&quot;&gt;🏬&lt;/span&gt;

                        &lt;h3 class=&quot;font-bold text-lg mt-2 mb-1&quot;&gt;Presenza di Negozio Fisico&lt;/h3&gt;

                        &lt;p class=&quot;text-gray-600 text-sm&quot;&gt;La storia dal 1998 conferisce credibilità e una solida reputazione.&lt;/p&gt;

                    &lt;/div&gt;

                     &lt;div class=&quot;bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow&quot;&gt;

                        &lt;span class=&quot;text-2xl&quot;&gt;🚚&lt;/span&gt;

                        &lt;h3 class=&quot;font-bold text-lg mt-2 mb-1&quot;&gt;Spedizione Gratuita&lt;/h3&gt;

                        &lt;p class=&quot;text-gray-600 text-sm&quot;&gt;Elimina un comune ostacolo all'acquisto e migliora l'offerta.&lt;/p&gt;

                    &lt;/div&gt;

                    &lt;div class=&quot;bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow&quot;&gt;

                        &lt;span class=&quot;text-2xl&quot;&gt;🔒&lt;/span&gt;

                        &lt;h3 class=&quot;font-bold text-lg mt-2 mb-1&quot;&gt;Pagamenti Sicuri&lt;/h3&gt;

                        &lt;p class=&quot;text-gray-600 text-sm&quot;&gt;Rassicura gli utenti sulla sicurezza delle loro transazioni finanziarie.&lt;/p&gt;

                    &lt;/div&gt;

                &lt;/div&gt;

            &lt;/section&gt;


            &lt;section id=&quot;aree-miglioramento&quot; class=&quot;mb-16 scroll-mt-20&quot;&gt;

                &lt;h2 class=&quot;text-2xl font-bold text-gray-800 border-b pb-2 mb-4&quot;&gt;Mappa delle Opportunità&lt;/h2&gt;

                &lt;p class=&quot;text-gray-600 mb-6&quot;&gt;Questa visualizzazione mostra le aree chiave per la CRO che non sono state ancora analizzate a fondo. Un valore più basso indica un'area &quot;sconosciuta&quot; con un alto potenziale di ottimizzazione. L'obiettivo è espandere il grafico verso l'esterno attraverso analisi mirate. Passa il mouse sulle etichette per vedere i dettagli.&lt;/p&gt;

                &lt;div class=&quot;bg-white p-6 rounded-lg shadow-sm&quot;&gt;

                    &lt;div class=&quot;chart-container&quot;&gt;

                        &lt;canvas id=&quot;radarChart&quot;&gt;&lt;/canvas&gt;

                    &lt;/div&gt;

                &lt;/div&gt;

            &lt;/section&gt;


            &lt;section id=&quot;analisi-mobile&quot; class=&quot;mb-16 scroll-mt-20&quot;&gt;

                &lt;h2 class=&quot;text-2xl font-bold text-gray-800 border-b pb-2 mb-4&quot;&gt;Analisi Esperienza Mobile&lt;/h2&gt;

                &lt;p class=&quot;text-gray-600 mb-6&quot;&gt;Con una quota crescente di traffico proveniente da dispositivi mobili, un'esperienza utente ottimizzata su smartphone è fondamentale per non perdere conversioni. Di seguito, un'analisi preliminare delle aree chiave dell'usabilità mobile del sito.&lt;/p&gt;

                &lt;div class=&quot;grid md:grid-cols-2 gap-6&quot;&gt;

                    &lt;div class=&quot;bg-white p-6 rounded-lg shadow-sm border-l-4 border-yellow-400&quot;&gt;

                        &lt;div class=&quot;flex items-center mb-3&quot;&gt;

                            &lt;span class=&quot;text-3xl mr-4&quot;&gt;🧭&lt;/span&gt;

                            &lt;h3 class=&quot;font-bold text-lg text-gray-800&quot;&gt;Navigazione e Menu&lt;/h3&gt;

                        &lt;/div&gt;

                        &lt;p class=&quot;text-gray-600 text-sm mb-3&quot;&gt;Il menu &quot;hamburger&quot; è funzionale ma potrebbe beneficiare di una migliore organizzazione delle sotto-categorie, che attualmente richiedono troppi tocchi per essere raggiunte. La barra di ricerca è visibile ma non prominente.&lt;/p&gt;

                        &lt;div class=&quot;text-right&quot;&gt;

                            &lt;span class=&quot;inline-block bg-yellow-100 text-yellow-800 text-xs font-semibold mr-2 px-2.5 py-0.5 rounded-full&quot;&gt;Migliorabile&lt;/span&gt;

                        &lt;/div&gt;

                    &lt;/div&gt;

                    &lt;div class=&quot;bg-white p-6 rounded-lg shadow-sm border-l-4 border-green-400&quot;&gt;

                         &lt;div class=&quot;flex items-center mb-3&quot;&gt;

                            &lt;span class=&quot;text-3xl mr-4&quot;&gt;📄&lt;/span&gt;

                            &lt;h3 class=&quot;font-bold text-lg text-gray-800&quot;&gt;Leggibilità e Font&lt;/h3&gt;

                        &lt;/div&gt;

                        &lt;p class=&quot;text-gray-600 text-sm mb-3&quot;&gt;I testi nelle descrizioni dei prodotti sono chiari e di dimensioni adeguate. I titoli sono ben differenziati. Non sono stati rilevati problemi significativi di contrasto cromatico.&lt;/p&gt;

                         &lt;div class=&quot;text-right&quot;&gt;

                            &lt;span class=&quot;inline-block bg-green-100 text-green-800 text-xs font-semibold mr-2 px-2.5 py-0.5 rounded-full&quot;&gt;Buono&lt;/span&gt;

                        &lt;/div&gt;

                    &lt;/div&gt;

                    &lt;div class=&quot;bg-white p-6 rounded-lg shadow-sm border-l-4 border-red-400&quot;&gt;

                         &lt;div class=&quot;flex items-center mb-3&quot;&gt;

                            &lt;span class=&quot;text-3xl mr-4&quot;&gt;👆&lt;/span&gt;

                            &lt;h3 class=&quot;font-bold text-lg text-gray-800&quot;&gt;Interazione e Tasti&lt;/h3&gt;

                        &lt;/div&gt;

                        &lt;p class=&quot;text-gray-600 text-sm mb-3&quot;&gt;I pulsanti &quot;Aggiungi al carrello&quot; e altri link cliccabili sono troppo piccoli e vicini tra loro, aumentando il rischio di tocchi errati. Questo rappresenta un punto di frizione significativo, specialmente nel checkout.&lt;/p&gt;

                         &lt;div class=&quot;text-right&quot;&gt;

                            &lt;span class=&quot;inline-block bg-red-100 text-red-800 text-xs font-semibold mr-2 px-2.5 py-0.5 rounded-full&quot;&gt;Critico&lt;/span&gt;

                        &lt;/div&gt;

                    &lt;/div&gt;

                    &lt;div class=&quot;bg-white p-6 rounded-lg shadow-sm border-l-4 border-yellow-400&quot;&gt;

                         &lt;div class=&quot;flex items-center mb-3&quot;&gt;

                            &lt;span class=&quot;text-3xl mr-4&quot;&gt;⚡&lt;/span&gt;

                            &lt;h3 class=&quot;font-bold text-lg text-gray-800&quot;&gt;Performance e Caricamento&lt;/h3&gt;

                        &lt;/div&gt;

                        &lt;p class=&quot;text-gray-600 text-sm mb-3&quot;&gt;Le pagine principali caricano a una velocità accettabile, ma le pagine prodotto con molte immagini ad alta risoluzione mostrano rallentamenti su connessioni 3G/4G. L'ottimizzazione delle immagini è consigliata.&lt;/p&gt;

                         &lt;div class=&quot;text-right&quot;&gt;

                            &lt;span class=&quot;inline-block bg-yellow-100 text-yellow-800 text-xs font-semibold mr-2 px-2.5 py-0.5 rounded-full&quot;&gt;Migliorabile&lt;/span&gt;

                        &lt;/div&gt;

                    &lt;/div&gt;

                &lt;/div&gt;

            &lt;/section&gt;


            &lt;section id=&quot;prossimi-passi&quot; class=&quot;scroll-mt-20&quot;&gt;

                &lt;h2 class=&quot;text-2xl font-bold text-gray-800 border-b pb-2 mb-4&quot;&gt;Piano d'Azione Consigliato&lt;/h2&gt;

                &lt;p class=&quot;text-gray-600 mb-8&quot;&gt;Per capitalizzare sulle solide fondamenta del sito, si raccomanda di seguire un percorso di analisi e ottimizzazione strutturato. Questi passaggi aiuteranno a scoprire e risolvere i punti di frizione non ancora evidenti.&lt;/p&gt;

                

                &lt;div class=&quot;relative pl-8&quot;&gt;

                    &lt;div class=&quot;absolute left-0 h-full border-l-2 border-teal-200 ml-3&quot;&gt;&lt;/div&gt;

                    

                    &lt;div class=&quot;mb-8 relative&quot;&gt;

                        &lt;div class=&quot;absolute w-6 h-6 bg-teal-500 rounded-full -left-11 mt-1 border-4 border-white&quot;&gt;&lt;/div&gt;

                        &lt;h3 class=&quot;text-lg font-bold text-teal-700&quot;&gt;1. Audit Visivo e Funzionale&lt;/h3&gt;

                        &lt;p class=&quot;text-gray-600&quot;&gt;Effettuare una revisione manuale completa del sito su desktop e mobile per valutare il design, l'accessibilità e l'intero flusso utente, dal primo click al checkout.&lt;/p&gt;

                    &lt;/div&gt;

                    

                    &lt;div class=&quot;mb-8 relative&quot;&gt;

                        &lt;div class=&quot;absolute w-6 h-6 bg-teal-500 rounded-full -left-11 mt-1 border-4 border-white&quot;&gt;&lt;/div&gt;

                        &lt;h3 class=&quot;text-lg font-bold text-teal-700&quot;&gt;2. Analisi Comportamentale&lt;/h3&gt;

                        &lt;p class=&quot;text-gray-600&quot;&gt;Utilizzare strumenti come heatmap e registrazioni di sessioni per capire *come* gli utenti interagiscono con le pagine, dove si bloccano e quali elementi ignorano.&lt;/p&gt;

                    &lt;/div&gt;


                    &lt;div class=&quot;mb-8 relative&quot;&gt;

                        &lt;div class=&quot;absolute w-6 h-6 bg-teal-500 rounded-full -left-11 mt-1 border-4 border-white&quot;&gt;&lt;/div&gt;

                        &lt;h3 class=&quot;text-lg font-bold text-teal-700&quot;&gt;3. Test A/B Mirati&lt;/h3&gt;

                        &lt;p class=&quot;text-gray-600&quot;&gt;Implementare test A/B su elementi critici come le Call-to-Action, i titoli delle pagine prodotto e le immagini per identificare le varianti più performanti.&lt;/p&gt;

                    &lt;/div&gt;


                    &lt;div class=&quot;relative&quot;&gt;

                        &lt;div class=&quot;absolute w-6 h-6 bg-teal-500 rounded-full -left-11 mt-1 border-4 border-white&quot;&gt;&lt;/div&gt;

                        &lt;h3 class=&quot;text-lg font-bold text-teal-700&quot;&gt;4. Raccolta di Feedback Diretto&lt;/h3&gt;

                        &lt;p class=&quot;text-gray-600&quot;&gt;Condurre sondaggi o brevi interviste con clienti (attuali o potenziali) per raccogliere feedback qualitativi sulla loro esperienza e sui loro bisogni.&lt;/p&gt;

                    &lt;/div&gt;

                &lt;/div&gt;

            &lt;/section&gt;

        &lt;/main&gt;

    &lt;/div&gt;


    &lt;script&gt;

        document.addEventListener('DOMContentLoaded', function () {

            const radarCtx = document.getElementById('radarChart').getContext('2d');

            const radarChart = new Chart(radarCtx, {

                type: 'radar',

                data: {

                    labels: [

                        'Chiarezza CTA',

                        'Efficacia Pagina Prodotto',

                        'Esperienza Mobile',

                        'Fluidità Checkout',

                        'Estetica e Design'

                    ],

                    datasets: [{

                        label: 'Stato Attuale (Potenziale di Miglioramento)',

                        data: [3, 4, 2, 3, 4],

                        backgroundColor: 'rgba(13, 148, 136, 0.2)',

                        borderColor: 'rgba(13, 148, 136, 1)',

                        pointBackgroundColor: 'rgba(13, 148, 136, 1)',

                        pointBorderColor: '#fff',

                        pointHoverBackgroundColor: '#fff',

                        pointHoverBorderColor: 'rgba(13, 148, 136, 1)'

                    }]

                },

                options: {

                    responsive: true,

                    maintainAspectRatio: false,

                    scales: {

                        r: {

                            angleLines: {

                                color: 'rgba(0, 0, 0, 0.1)'

                            },

                            grid: {

                                color: 'rgba(0, 0, 0, 0.1)'

                            },

                            pointLabels: {

                                font: {

                                    size: 14,

                                    weight: 'bold'

                                },

                                color: '#374151'

                            },

                            ticks: {

                                backdropColor: 'rgba(255, 255, 255, 0.75)',

                                stepSize: 2,

                                display: false

                            },

                            suggestedMin: 0,

                            suggestedMax: 10

                        }

                    },

                    plugins: {

                        legend: {

                            position: 'top',

                        },

                        tooltip: {

                            callbacks: {

                                label: function(context) {

                                    let label = context.dataset.label || '';

                                    if (label) {

                                        label += ': ';

                                    }

                                    label += 'Area da investigare';

                                    return label;

                                }

                            }

                        }

                    }

                }

            });


            const sections = document.querySelectorAll('section');

            const navLinks = document.querySelectorAll('nav a');


            window.addEventListener('scroll', () => {

                let current = '';

                sections.forEach(section => {

                    const sectionTop = section.offsetTop;

                    if (pageYOffset &gt;= sectionTop - 100) {

                        current = section.getAttribute('id');

                    }

                });


                navLinks.forEach(link => {

                    link.classList.remove('active');

                    if (link.getAttribute('href').includes(current)) {

                        link.classList.add('active');

                    }

                });

            });

        });

    &lt;/script&gt;

&lt;/body&gt;

&lt;/html&gt;

    </textarea>


    <script>

        function downloadFile() {

            // Get the code from the textarea

            const code = document.getElementById('dashboardCode').value;

            

            // Create a blob from the code

            const blob = new Blob([code], { type: 'text/html' });

            

            // Create a temporary link element

            const a = document.createElement('a');

            a.href = URL.createObjectURL(blob);

            a.download = 'index.html';

            

            // Append the link to the body, click it, and then remove it

            document.body.appendChild(a);

            a.click();

            document.body.removeChild(a);

        }

    </script>

</body>

</html>