diff options
Diffstat (limited to 'src/constants')
| -rw-r--r-- | src/constants/api.ts | 1 | ||||
| -rw-r--r-- | src/constants/constants.ts | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts index f9ac3d7c..890ef102 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -26,6 +26,7 @@ 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/'; export const PASSWORD_RESET_ENDPOINT: string = API_URL + 'password-reset/'; +export const MOMENT_CATEGORY_ENDPOINT: string = API_URL + 'moment-category/'; // Register Social Link (Non-integrated) export const LINK_SNAPCHAT_ENDPOINT: string = API_URL + 'link-sc/'; diff --git a/src/constants/constants.ts b/src/constants/constants.ts index 3fed8fe6..52a52de6 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -1,3 +1,5 @@ +import {ReactText} from 'react'; +import {BackgroundGradientType, MomentCategoryType} from './../types/'; import {SCREEN_WIDTH, SCREEN_HEIGHT, isIPhoneX} from '../utils'; export const CHIN_HEIGHT = 34; @@ -102,3 +104,29 @@ export const BROWSABLE_SOCIAL_URLS: Record<string, string> = { Instagram: 'https://instagram.com/', Twitter: 'https://twitter.com/', }; + +export const MOMENT_CATEGORIES: Array<MomentCategoryType> = [ + 'Friends', + 'Adventure', + 'Photo Dump', + 'Food', + 'Music', + 'Art', + 'Sports', + 'Fashion', + 'Travel', + 'Pets', + 'Nightlife', + 'DIY', + 'Nature', + 'Early Life', + 'Beauty', +]; + +export const BACKGROUND_GRADIENT_MAP: Record< + BackgroundGradientType, + Array<ReactText> +> = { + [BackgroundGradientType.Light]: ['#9F00FF', '#27EAE9'], + [BackgroundGradientType.Dark]: ['#421566', '#385D5E'], +}; |
