From 38661e00281363b0f4ad32f0b29d739e1ca09164 Mon Sep 17 00:00:00 2001 From: Ashm Walia <40498934+ashmgarv@users.noreply.github.com> Date: Wed, 30 Dec 2020 11:36:44 -0800 Subject: [TMA - 457]Change followers to friends (#149) * One commit to replace followers with friends * Move block unblock to drawer and some cosmetic changes * Options to edit own profile when viewing * Changes for University Class * Small fix * Made ProfileOnboarding a scroll view and other small changes * Small fix * Small fix thanks to ivan and tanmay * Add ? --- src/constants/api.ts | 5 +---- src/constants/constants.ts | 14 +++++++++++++- 2 files changed, 14 insertions(+), 5 deletions(-) (limited to 'src/constants') diff --git a/src/constants/api.ts b/src/constants/api.ts index 2118492d..3b2289fd 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -20,10 +20,7 @@ export const SEARCH_ENDPOINT: string = API_URL + 'search/'; export const MOMENTS_ENDPOINT: string = API_URL + 'moments/'; export const VERIFY_INVITATION_CODE_ENDPOUNT: string = API_URL + 'verify-code/'; export const COMMENTS_ENDPOINT: string = API_URL + 'comments/'; -export const FOLLOW_USER_ENDPOINT: string = API_URL + 'follow/'; -export const UNFOLLOW_USER_ENDPOINT: string = API_URL + 'unfollow/'; -export const FOLLOWERS_ENDPOINT: string = API_URL + 'followers/'; -export const FOLLOWING_ENDPOINT: string = API_URL + 'following/'; +export const FRIENDS_ENDPOINT: string = API_URL + 'friends/'; export const ALL_USERS_ENDPOINT: string = API_URL + 'users/'; export const REPORT_ISSUE_ENDPOINT: string = API_URL + 'report/'; export const BLOCK_USER_ENDPOINT: string = API_URL + 'block/'; diff --git a/src/constants/constants.ts b/src/constants/constants.ts index 52a52de6..a85af7cd 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -87,7 +87,7 @@ export const SOCIAL_FONT_COLORS = { }; export const TOGGLE_BUTTON_TYPE = { - FOLLOW_UNFOLLOW: 'Follow', + FRIEND_UNFRIEND: 'Friend', BLOCK_UNBLOCK: 'Block', }; @@ -130,3 +130,15 @@ export const BACKGROUND_GRADIENT_MAP: Record< [BackgroundGradientType.Light]: ['#9F00FF', '#27EAE9'], [BackgroundGradientType.Dark]: ['#421566', '#385D5E'], }; + +export const CLASS_YEAR_LIST: Array = [ + '2018', + '2019', + '2020', + '2021', + '2022', + '2023', + '2024', + '2025', + '2026', +]; -- cgit v1.2.3-70-g09d2