--- /** * MarqueeTicker * Oneindige scrollende ticker/marquee. Tekst of logo's. * * Props: * - items: string[] — teksten of items * - speed?: number — animatieduur in seconden (default: 30) * - direction?: 'left' | 'right' * - separator?: string — scheidingsteken tussen items (default: "·") * - bg?: string — achtergrondkleur (CSS value) * - color?: string — tekstkleur (CSS value) */ interface Props { items: string[]; speed?: number; direction?: 'left' | 'right'; separator?: string; bg?: string; color?: string; } const { items, speed = 30, direction = 'left', separator = '·', bg, color, } = Astro.props; // Dupliceer voor naadloze loop const allItems = [...items, ...items, ...items]; ---