Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions packages/web/src/pages/explore-page/collections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ export type ExploreCollection = {
cardSensitivity?: number
}

// How much full width cards move
const WIDE_CARD_SENSITIVTY = 0.04

export type ExploreMoodCollection = ExploreCollection & {
emoji: string
moods: string[]
}

// How much full width cards move
const WIDE_CARD_SENSITIVTY = 0.04

export const PREMIUM_TRACKS: ExploreCollection = {
variant: ExploreCollectionsVariant.DIRECT_LINK,
title: 'Premium Tracks',
Expand Down Expand Up @@ -79,8 +79,7 @@ export const TRENDING_PLAYLISTS: ExploreCollection = {
shadow: 'rgba(87,170,255,0.35)',
icon: IconExploreTopPlaylists,
link: TRENDING_PLAYLISTS_PAGE,
incentivized: true,
cardSensitivity: WIDE_CARD_SENSITIVTY
incentivized: true
}

export const TRENDING_UNDERGROUND: ExploreCollection = {
Expand All @@ -91,8 +90,7 @@ export const TRENDING_UNDERGROUND: ExploreCollection = {
shadow: 'rgba(242, 87, 255, 0.35)',
icon: IconCassette,
link: TRENDING_UNDERGROUND_PAGE,
incentivized: true,
cardSensitivity: WIDE_CARD_SENSITIVTY
incentivized: true
}

export const CHILL_PLAYLISTS: ExploreMoodCollection = {
Expand Down