diff options
author | Ashm Walia <40498934+ashmgarv@users.noreply.github.com> | 2020-12-22 08:50:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 11:50:27 -0500 |
commit | a954d6b6b88485dddc0ccfda634ffd102cb34ccd (patch) | |
tree | 560f152dd92ccb482a2bbf6b094060525373322c /src/constants/constants.ts | |
parent | 49ed044f5103cf6288fcf5b3ff6d3d720795860c (diff) |
[TMA 446] Create category (#144)
* Added welcome page
* Working code
* Small fix
* Some more cleanup
* Fixes
* Cleanup
* Fix again
* Use gradient for white bg as well
* Fixed type
Diffstat (limited to 'src/constants/constants.ts')
-rw-r--r-- | src/constants/constants.ts | 28 |
1 files changed, 28 insertions, 0 deletions
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'], +}; |