diff options
Diffstat (limited to 'src/constants')
| -rw-r--r-- | src/constants/api.ts | 7 | ||||
| -rw-r--r-- | src/constants/constants.ts | 20 |
2 files changed, 24 insertions, 3 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts index d9e199d2..ce9b24f4 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -21,7 +21,12 @@ 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/'; -// Social Link +// Register Social Link (Non-integrated) +export const LINK_SNAPCHAT_ENDPOINT: string = API_URL + 'link-sc/'; +export const LINK_TIKTOK_ENDPOINT: string = API_URL + 'link-tt/'; + +// Register Social Link (Integrated) +export const LINKED_SOCIALS_ENDPOINT: string = API_URL + 'linked-socials/'; export const LINK_IG_ENDPOINT: string = API_URL + 'link-ig/'; export const LINK_FB_ENDPOINT: string = API_URL + 'link-fb/'; export const LINK_TWITTER_ENDPOINT: string = API_URL + 'link-twitter/'; 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, |
