Skip to content

Commit

Permalink
Merge pull request #38 from AudiusProject/saliou-aud-75
Browse files Browse the repository at this point in the history
Capitalize explore page titles
  • Loading branch information
sddioulde authored Feb 17, 2021
2 parents 9e70fd6 + 4c3b007 commit 806c27a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/servlets/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,42 @@ export type ExploreInfoType = {

export const exploreMap: { [key: string]: ExploreInfoType } = {
'heavy-rotation': {
title: 'Heavy rotation',
title: 'Heavy Rotation',
description: 'Your top tracks, in one place',
image: HEAVY_ROTATION_URL
},
'let-them-dj': {
title: 'Let them DJ',
title: 'Let Them DJ',
description: 'Playlists created by the people you follow',
image: LET_THEM_DJ_URL
},
'best-new-releases': {
title: 'Best new releases',
title: 'Best New Releases',
description: 'From the artists you follow',
image: BEST_NEW_RELEASES_URL
},
'under-the-radar': {
title: 'Under the radar',
title: 'Under The Radar',
description: 'Tracks you might have missed from the artists you follow',
image: UNDER_THE_RADAR_URL
},
'top-albums': {
title: 'Top albums',
title: 'Top Albums',
description: 'The top albums from all of Audius',
image: TOP_ALBUMS_URL
},
'top-playlists': {
title: 'Top playlists',
title: 'Top Playlists',
description: 'The top playlists on Audius right now',
image: TOP_PLAYLISTS_URL
},
'most-loved': {
title: 'Most loved',
title: 'Most Loved',
description: 'Tracks favorited by the people you follow',
image: MOST_LOVED_URL
},
'feeling-lucky': {
title: 'Feeling lucky',
title: 'Feeling Lucky',
description: 'A purely random collection of tracks from Audius',
image: FEELING_LUCKY_URL
},
Expand Down
2 changes: 1 addition & 1 deletion src/servlets/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const getImageUrl = (cid: string, gateway: string | null): string => {
export const getExploreInfo = (type: string): ExploreInfoType => {
if (!Object.keys(exploreMap).includes(type)) {
return {
title: 'Just for you',
title: 'Just For You',
description: `Content curated for you based on your likes, reposts, and follows.
Refreshes often so if you like a track, favorite it.`,
image: DEFAULT_IMAGE_URL
Expand Down

0 comments on commit 806c27a

Please sign in to comment.