'use client' import { Zap, Shield, Globe, Smartphone } from 'lucide-react' interface Item { id: string title: string description: string icon: 'zap' | 'shield' | 'globe' | 'smartphone' } interface ItemsProps { items?: Item[] } const defaultItems: Item[] = [ { id: 'fast', title: 'Lightning Fast', description: 'Deploy your portfolio instantly and reach global audiences with blazing-fast loading times.', icon: 'zap', }, { id: 'secure', title: 'Secure & Reliable', description: 'Enterprise-grade security with automatic SSL certificates and 99.9% uptime guarantee.', icon: 'shield', }, { id: 'domain', title: 'Custom Domains', description: 'Use your own domain name to create a professional online presence.', icon: 'globe', }, { id: 'mobile', title: 'Mobile Optimized', description: 'Your portfolio looks perfect on all devices from smartphones to desktops.', icon: 'smartphone', }, ] const iconComponents = { zap: Zap, shield: Shield, globe: Globe, smartphone: Smartphone, } export default function Items({ items = defaultItems }: ItemsProps) { return (

Why Choose Portfolio Host?

Everything you need to share your work with the world

{items.map((item) => { const Icon = iconComponents[item.icon] return (

{item.title}

{item.description}

) })}
) }