class CustomShowcase extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
Experience Kai
Quantum Interface
Experience direct neural connection with photonic computing networks.
8K Resolution
Crystal clear holographic display with zero latency rendering.
AI Consciousness
Adaptive intelligence that evolves with your thought patterns.
`;
this.initCarousel();
}
initCarousel() {
setTimeout(() => {
new Splide(this.shadowRoot.querySelector('.splide'), {
type: 'loop',
perPage: 3,
gap: '40px',
breakpoints: {
1024: {
perPage: 2,
},
768: {
perPage: 1,
}
}
}).mount();
}, 100);
}
}
customElements.define('custom-showcase', CustomShowcase);