diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/constants/constants.ts | 6 | ||||
-rw-r--r-- | src/services/ExploreService.ts | 1 | ||||
-rw-r--r-- | src/store/initialStates.ts | 1 | ||||
-rw-r--r-- | src/types/types.ts | 3 |
4 files changed, 8 insertions, 3 deletions
diff --git a/src/constants/constants.ts b/src/constants/constants.ts index 6e2c9e1c..14bff6a7 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -173,13 +173,15 @@ export const MOMENT_CATEGORY_BG_COLORS: string[] = [ '#4E7175', ]; +// order matters, this decides the order which it displays export const EXPLORE_SECTION_TITLES: ExploreSectionType[] = [ 'New to Tagg', 'People You May Know', 'Trending on Tagg', - "Brown '21", - "Brown '22", + "Brown '24", "Brown '23", + "Brown '22", + "Brown '21", ]; export const SP_WIDTH = 375; diff --git a/src/services/ExploreService.ts b/src/services/ExploreService.ts index 980258be..dc58bdd0 100644 --- a/src/services/ExploreService.ts +++ b/src/services/ExploreService.ts @@ -50,6 +50,7 @@ export const getAllExploreSections = async () => { "Brown '21": data.categories.brown_21, "Brown '22": data.categories.brown_22, "Brown '23": data.categories.brown_23, + "Brown '24": data.categories.brown_24, }; return exploreSections; diff --git a/src/store/initialStates.ts b/src/store/initialStates.ts index 4b61a2b1..1a3db433 100644 --- a/src/store/initialStates.ts +++ b/src/store/initialStates.ts @@ -79,6 +79,7 @@ export const EMPTY_EXPLORE_SECTIONS: Record< "Brown '21": EMPTY_PROFILE_PREVIEW_LIST, "Brown '22": EMPTY_PROFILE_PREVIEW_LIST, "Brown '23": EMPTY_PROFILE_PREVIEW_LIST, + "Brown '24": EMPTY_PROFILE_PREVIEW_LIST, }; export const NO_TAGG_USERS = { diff --git a/src/types/types.ts b/src/types/types.ts index 3ad787f2..7cd11f7a 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -126,7 +126,8 @@ export type ExploreSectionType = | 'Trending on Tagg' | "Brown '21" | "Brown '22" - | "Brown '23"; + | "Brown '23" + | "Brown '24"; /** * Redux store to have a Record of ScreenType (Search, Profile, Home etc) mapped to |