diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-03-26 16:04:52 -0400 |
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-03-26 16:04:52 -0400 |
| commit | 37af16ccea748d2108505e21a8323244f2296441 (patch) | |
| tree | 3b1d03654abc37753e1d6ee744d4708e11df33bc /src/constants | |
| parent | 8ce46790a8d12df6738d8ac17462ba57e2b0e6b9 (diff) | |
| parent | 99de9c8402f470ead242a81510dc2764ae7d9e66 (diff) | |
Merge branch 'master' into tma-722-cornell-fe
# Conflicts:
# src/constants/constants.ts
# src/services/ExploreService.ts
# src/services/UserProfileService.ts
# src/types/types.ts
Diffstat (limited to 'src/constants')
| -rw-r--r-- | src/constants/api.ts | 1 | ||||
| -rw-r--r-- | src/constants/constants.ts | 15 |
2 files changed, 3 insertions, 13 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts index 1e2e887a..6afdf384 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -9,6 +9,7 @@ export const REGISTER_ENDPOINT: string = API_URL + 'register/'; export const EDIT_PROFILE_ENDPOINT: string = API_URL + 'edit-profile/'; export const SEND_OTP_ENDPOINT: string = API_URL + 'send-otp/'; export const VERIFY_OTP_ENDPOINT: string = API_URL + 'verify-otp/'; +export const USER_PROFILE_ENDPOINT: string = API_URL + 'profile/'; export const PROFILE_INFO_ENDPOINT: string = API_URL + 'user-profile-info/'; export const HEADER_PHOTO_ENDPOINT: string = API_URL + 'header-pic/'; export const PROFILE_PHOTO_ENDPOINT: string = API_URL + 'profile-pic/'; diff --git a/src/constants/constants.ts b/src/constants/constants.ts index c2ba11b2..d24e352e 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -1,6 +1,6 @@ import {ReactText} from 'react'; -import {BackgroundGradientType, ExploreSectionType} from './../types/'; -import {SCREEN_WIDTH, SCREEN_HEIGHT, isIPhoneX, normalize} from '../utils'; +import {isIPhoneX, normalize, SCREEN_HEIGHT, SCREEN_WIDTH} from '../utils'; +import {BackgroundGradientType} from './../types/'; export const CHIN_HEIGHT = 34; @@ -182,17 +182,6 @@ export const MOMENT_CATEGORY_BG_COLORS: string[] = [ '#4E7175', ]; -// order matters, this decides the order which it displays -export const EXPLORE_SECTION_TITLES: ExploreSectionType[] = [ - 'New to Tagg', - 'People You May Know', - 'Trending on Tagg', - "Brown '24", - "Brown '23", - "Brown '22", - "Brown '21", -]; - export const SP_WIDTH = 375; export const SP_HEIGHT = 812; |
