From 4c3b007e030aa3b4d4918c4f147c95234a49279c Mon Sep 17 00:00:00 2001 From: Saliou Diallo Date: Wed, 17 Feb 2021 14:26:30 -0500 Subject: [PATCH] Capitalize explore page titles --- src/servlets/utils/constants.ts | 16 ++++++++-------- src/servlets/utils/helpers.ts | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/servlets/utils/constants.ts b/src/servlets/utils/constants.ts index a4890f5dfba..f3a1215fb34 100644 --- a/src/servlets/utils/constants.ts +++ b/src/servlets/utils/constants.ts @@ -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 }, diff --git a/src/servlets/utils/helpers.ts b/src/servlets/utils/helpers.ts index 1e83670494b..0a29728ace2 100644 --- a/src/servlets/utils/helpers.ts +++ b/src/servlets/utils/helpers.ts @@ -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