diff options
author | George Rusu <56009869+grusu6928@users.noreply.github.com> | 2020-10-25 15:21:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-25 18:21:38 -0400 |
commit | 9da19cdcb6c7596d60afde6d0d559f06a24a0627 (patch) | |
tree | 8f11b6e0a5fcdc2eb983d498fa7b016d4daf44ba /src/constants/constants.ts | |
parent | 44a25bfabd356f5eee5ec4f580452407a7e40246 (diff) |
[TMA-237] Added modal for user registration and redirect (#61)
* move async-storage
* removed lock files
* added lock files to gitignore
* added the wrong file to gitignore
* added modal for user registration and redirect
* api call to get list of linked socials for each user to display appropriate icon
* fixed indentation and linting
* refactored modal and browser sign-in
* now dynamically adding linked and unlinked taggs, added a bunch of TODOs for tomorrow
* added svg icons
* done? finished taggs bar UI and all the navigations including modal
* fixed some bugs and added more TODOs
* fixed some bugs and refactored posts fetching logic
* fixed taggs bar bug
* done, it will update everything correctly
* added comments
* added tiktok
Co-authored-by: hsalhab <husam_salhab@brown.edu>
Co-authored-by: george <grus6928@gmail.com>
Co-authored-by: Ivan Chen <ivan@thetaggid.com>
Diffstat (limited to 'src/constants/constants.ts')
-rw-r--r-- | src/constants/constants.ts | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/constants/constants.ts b/src/constants/constants.ts index 5f341f41..6434f6e4 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -12,17 +12,32 @@ export const COVER_HEIGHT = SCREEN_WIDTH * (7 / 5); export const AVATAR_DIM = 44; export const AVATAR_GRADIENT_DIM = 50; -export const SOCIAL_LIST: Array<string> = [ +export const TAGG_ICON_DIM = 72; + +export const INTEGRATED_SOCIAL_LIST: string[] = [ + 'Instagram', + 'Facebook', + 'Twitter', +]; + +export const SOCIAL_LIST: string[] = [ 'Instagram', 'Facebook', 'Twitter', - 'TikTok', 'Snapchat', + 'Tiktok', + // TODO: we don't have endpoints to support these yet... + // 'Twitch', + // 'Pinterest', + // 'Whatsapp', + // 'Linkedin', + // 'Youtube', ]; export const INSTAGRAM_FONT_COLOR: string = '#FF97DE'; export const FACEBOOK_FONT_COLOR: string = '#6697FD'; export const TWITTER_FONT_COLOR: string = '#74C9FD'; +export const TIKTOK_FONT_COLOR: string = '#78B5FD'; export const TWITCH_FONT_COLOR: string = '#CB93FF'; export const PINTEREST_FONT_COLOR: string = '#FF7584'; export const WHATSAPP_FONT_COLOR: string = '#4AC959'; @@ -44,6 +59,7 @@ export const SOCIAL_FONT_COLORS = { INSTAGRAM: INSTAGRAM_FONT_COLOR, FACEBOOK: FACEBOOK_FONT_COLOR, TWITTER: TWITTER_FONT_COLOR, + TIKTOK: TIKTOK_FONT_COLOR, TWITCH: TWITCH_FONT_COLOR, PINTEREST: PINTEREST_FONT_COLOR, WHATSAPP: WHATSAPP_FONT_COLOR, |