Files
movie-advisor/components/Trending/constants.ts
T
ner 09aceccec9 feat(trending): amazon tab, tab group divider and arrow-hover wheel scroll
- Amazon tab for the series trending row (TMDB provider 9, Amazon
  Prime Video US), lazy-loaded like Netflix/HBO
- Nav renders a divider before tabs flagged with 'divider', separating
  the trending group from Similar/Recommendations (no leading divider
  on the show-page preview)
- Vertical wheel now steps the row card-by-card only while hovering the
  prev/next arrow zones: deltas accumulate and a smooth scroll lands on
  the next/previous snap point, so mandatory snap never pulls back.
  Everywhere else the wheel scrolls the page as before
2026-09-24 16:25:35 +03:00

52 lines
682 B
TypeScript

export const tabs = [
{
title: 'Streaming',
type: 'streaming'
},
{
title: 'Trending',
type: 'trending'
},
{
title: 'In theaters',
type: 'theater'
},
{
title: 'Similar',
type: 'similar',
divider: true
},
{
title: 'Recommendations',
type: 'recommendations'
}
];
export const seriesTabs = [
{
title: 'Apple',
type: 'apple'
},
{
title: 'Netflix',
type: 'netflix'
},
{
title: 'HBO',
type: 'hbo'
},
{
title: 'Amazon',
type: 'amazon'
},
{
title: 'Similar',
type: 'similar',
divider: true
},
{
title: 'Recommendations',
type: 'recommendations'
}
];