function Marquee() {
  const { t } = useLang();
  const items = t('marquee.items').split('|');
  const doubled = [...items, ...items];
  return (
    <div className="marquee" aria-hidden="true">
      <div className="marquee-track">
        {doubled.map((txt,i) => (
          <div key={i} className="marquee-item">
            <Icon.star className="star"/>
            <span>{txt}</span>
          </div>
        ))}
      </div>
    </div>
  );
}
window.Marquee = Marquee;
