-
-
Notifications
You must be signed in to change notification settings - Fork 854
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: constant/index file refactored (#1561)
Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>
- Loading branch information
1 parent
5bea781
commit 234abda
Showing
7 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
export const CREATE_PLAY_DOC_LINK = 'https://docs.reactplay.io/How-To-Guides/how-to-create-play'; | ||
export const UMAMI_EVENTS = { | ||
GITHUB_BUTTON: 'github-button', | ||
CREATE_PLAY_BUTTON: 'create-play-button' | ||
}; | ||
// URLs | ||
export const PLAY_DOC_LINK = 'https://docs.reactplay.io/How-To-Guides/how-to-create-play'; | ||
|
||
export const SORT_BY = ['Newest', 'Oldest', 'Most Liked', 'Random']; | ||
// Event Types for Umami Analytics | ||
export const UMAMI_EVENTS = Object.freeze({ | ||
GITHUB_BUTTON_CLICK: 'github-button', | ||
CREATE_PLAY_BUTTON_CLICK: 'create-play-button' | ||
}); | ||
|
||
// Sorting Options for Plays | ||
export const SORT_OPTIONS = Object.freeze(['Newest', 'Oldest', 'Most Liked', 'Random']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters