import { Editable } from '@components/common/page-builder/index.js'; import React, { useEffect, useRef } from 'react'; /** * Announcement bar — a thin row of one or more rotating announcements. A * single announcement renders statically; multiple announcements cycle * upward at the configured interval. * * Why a `useEffect` rather than an inline