From 353c1ec685698bb86e0ff96a346d88205ee389cf Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Wed, 13 Jan 2021 02:58:24 -0500 Subject: [TMA-531] New Explore Page (#179) * redux done * done * added refresh control * added profile navigation * minor spacing change --- src/constants/api.ts | 1 + src/constants/constants.ts | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'src/constants') diff --git a/src/constants/api.ts b/src/constants/api.ts index 639bc8f8..de43b94d 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -27,6 +27,7 @@ export const BLOCK_USER_ENDPOINT: string = API_URL + 'block/'; export const PASSWORD_RESET_ENDPOINT: string = API_URL + 'password-reset/'; export const MOMENT_CATEGORY_ENDPOINT: string = API_URL + 'moment-category/'; export const NOTIFICATIONS_ENDPOINT: string = API_URL + 'notifications/'; +export const DISCOVER_ENDPOINT: string = API_URL + 'discover/'; export const WAITLIST_USER_ENDPOINT: string = API_URL + 'waitlist-user/'; // Register as FCM device diff --git a/src/constants/constants.ts b/src/constants/constants.ts index 90d70724..b96d9438 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -1,5 +1,5 @@ import {ReactText} from 'react'; -import {BackgroundGradientType} from './../types/'; +import {BackgroundGradientType, ExploreSectionType} from './../types/'; import {SCREEN_WIDTH, SCREEN_HEIGHT} from '../utils'; export const CHIN_HEIGHT = 34; @@ -160,3 +160,12 @@ export const MOMENT_CATEGORY_BG_COLORS: string[] = [ '#365F6A', '#4E7175', ]; + +export const EXPLORE_SECTION_TITLES: ExploreSectionType[] = [ + 'New to Tagg', + 'People You May Know', + 'Trending on Tagg', + "Brown '21", + "Brown '22", + "Brown '23", +]; -- cgit v1.2.3-70-g09d2