/* Home page: featured hero, content rows, membership band. */
const { Button, Badge, ShowCard, PatternPanel } = window.NashvillePBSDesignSystem_8fe663;
function Row({ title, shows, onOpen }) {
const ref = React.useRef(null);
const scroll = (d) => ref.current && ref.current.scrollBy({ left: d*640, behavior:'smooth' });
return (
{title}
{shows.map(s => (
onOpen(s.id)} />
))}
);
}
const arrowBtn = { width:36, height:36, borderRadius:999, border:'1px solid var(--border)', background:'#fff',
color:'var(--navy-blue)', cursor:'pointer', display:'inline-flex', alignItems:'center', justifyContent:'center' };
function HomePage({ onOpen }) {
const feat = findShow('masterpiece');
return (
{/* Hero */}
Premieres Sunday
Masterpiece: Riverside
A sweeping new period drama returns for its most dramatic season yet, free to stream on the PBS app.
} onClick={()=>onOpen('masterpiece')}>Start Watching
}>My List
s.progress)} onOpen={onOpen} />
{/* Membership band */}
Support public media
Bring the world a little closer
Nashville PBS is a nonprofit powered by local donors. Your membership keeps trusted, educational
programming free for all of Middle Tennessee.
);
}
Object.assign(window, { HomePage, Row });