File size: 777 Bytes
dd19de6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
document.addEventListener('DOMContentLoaded', function() {
    // Simulate Elementor component loading
    const loadDemoComponents = () => {
        const container = document.querySelector('.elementor-demo-container');
        // In a real implementation, this would load Elementor components
        container.innerHTML = `
            <div class="elementor-demo-item p-4 bg-white rounded-lg shadow-sm border border-gray-200">
                <h4 class="font-medium text-lg mb-2">Sample Elementor Widget</h4>
                <p class="text-gray-600">This would be an interactive Elementor component in a real implementation.</p>
            </div>
        `;
    };

    // Load demo after a short delay to simulate async loading
    setTimeout(loadDemoComponents, 800);
});