<div id="comments" class="md:border md:p-4 rounded-lg pb-6 h-screen">
    <div class="flex items-center justify-between mb-4">
        <span class="uppercase text-primary text-xl font-semibold block">Commenti</span>
        <a target="_blank" nofollow href="/guida-ai-commenti/"
        class="bg-slate-100 text-slate-900 text-sm rounded-lg px-4 py-1 hover:bg-slate-200">
        Regolamento
        </a>
    </div>

    <div id="disqus_thread">
    <div class="max-w-[668px]">
    
</div>
</div>



<script id="dsq-count-scr" src="//.disqus.com/count.js" async></script>


<script>
    /**
    *  RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
    *  LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables    */

    var disqus_config = function () {
        this.page.url        = '';         // Replace PAGE_URL with your page's canonical URL variable
        this.page.identifier = '';  // Replace PAGE_IDENTIFIER with your page's unique identifier variable
        this.page.title      = '';
    };

    // Funzione per caricare lo script di Disqus
    function loadDisqus() {
        var d = document, s = d.createElement('script');
        s.src = 'https://.disqus.com/embed.js';
        s.setAttribute('data-timestamp', +new Date());
        (d.head || d.body).appendChild(s);
    }


    // Variabile per tenere traccia se lo script è stato già caricato
    var disqusLoaded = false;

    // Evento di scroll
    window.addEventListener('scroll', function() {
        if (!disqusLoaded) {
            loadDisqus();
            disqusLoaded = true;
        }
    });
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>

</div>
