Everything you need to build modern, responsive websites with ease.
${[1, 2, 3, 4, 5, 6].map(i => `
${this.getTitle(i)}
${this.getDescription(i)}
`).join('')}
`;
}
getIcon(index) {
const icons = ['code', 'layers', 'smartphone', 'zap', 'shield', 'trending-up'];
return icons[index - 1] || 'box';
}
getTitle(index) {
const titles = [
'Developer Friendly',
'Modular Components',
'Mobile First',
'Lightning Fast',
'Secure by Default',
'Performance Optimized'
];
return titles[index - 1] || 'Feature';
}
getDescription(index) {
const descriptions = [
'Clean, well-documented code that makes customization a breeze for developers of all skill levels.',
'Build with reusable components that can be mixed and matched to create unique layouts.',
'Every component is designed mobile-first and works perfectly on all device sizes.',
'Optimized for speed with minimal dependencies and efficient rendering techniques.',
'Built with security in mind, following best practices to keep your projects safe.',
'Fine-tuned for maximum performance with lazy loading and optimized assets.'
];
return descriptions[index - 1] || 'Feature description';
}
}
customElements.define('custom-features', CustomFeatures);