aboutsummaryrefslogtreecommitdiff
path: root/src/constants
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-09 17:41:29 -0400
committerGitHub <noreply@github.com>2021-06-09 17:41:29 -0400
commitd13d12980555cb1f659ae5108c52f089a54c3f57 (patch)
tree145098b27611a955d40118046e275a6ae940d969 /src/constants
parent587d08dc8f0508b6efa76cc7d57f21ac2a5fd9fb (diff)
parent93796732be3f5070c0a124d29533396f79736c83 (diff)
Merge pull request #456 from brian-tagg/tma872-purple-indicator
[TMA-872] purple indicator
Diffstat (limited to 'src/constants')
-rw-r--r--src/constants/api.ts2
-rw-r--r--src/constants/constants.ts3
2 files changed, 5 insertions, 0 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts
index f02ee407..b55489d9 100644
--- a/src/constants/api.ts
+++ b/src/constants/api.ts
@@ -45,6 +45,8 @@ 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/';
export const NOTIFICATIONS_ENDPOINT: string = API_URL + 'notifications/';
+export const NOTIFICATIONS_COUNT_ENDPOINT: string = API_URL + 'notifications/unread_count/';
+export const NOTIFICATIONS_DATE: string = API_URL + 'notifications/seen/';
export const DISCOVER_ENDPOINT: string = API_URL + 'discover/';
export const SEARCH_BUTTONS_ENDPOPINT: string =
DISCOVER_ENDPOINT + 'search_buttons/';
diff --git a/src/constants/constants.ts b/src/constants/constants.ts
index a6d98883..f4ffd750 100644
--- a/src/constants/constants.ts
+++ b/src/constants/constants.ts
@@ -21,6 +21,8 @@ export const AVATAR_GRADIENT_DIM = 50;
export const TAGG_ICON_DIM = 58;
export const TAGG_RING_DIM = normalize(60);
+// default height of the navigation bar, from react native library, unless on ipad
+export const NAV_BAR_HEIGHT = 49;
export const BADGE_LIMIT = 5;
export const INTEGRATED_SOCIAL_LIST: string[] = [
@@ -91,6 +93,7 @@ export const BADGE_GRADIENT_REST = [
'rgba(78, 54, 41, 1)',
'rgba(236, 32, 39, 1)',
];
+export const NOTIFICATION_ICON_GRADIENT = ['#8F01FF', '#7B02DA'];
export const SOCIAL_FONT_COLORS = {
INSTAGRAM: INSTAGRAM_FONT_COLOR,