Skip to content

Commit

Permalink
feat(Nitro Type): add leagues page (PreMiD#8630)
Browse files Browse the repository at this point in the history
* Update presence.ts

Added /leagues page descrption.

* Changed version number

---------

Signed-off-by: Kotir7k <[email protected]>
Co-authored-by: veryCrunchy <[email protected]>
  • Loading branch information
Kotir7k and veryCrunchy authored Jul 31, 2024
1 parent ccea9e1 commit 8441fd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions websites/N/Nitro Type/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"nitrotype.com",
"www.nitrotype.com"
],
"version": "1.2.23",
"version": "1.2.24",
"logo": "https://cdn.rcd.gg/PreMiD/websites/N/Nitro%20Type/assets/logo.png",
"thumbnail": "https://cdn.rcd.gg/PreMiD/websites/N/Nitro%20Type/assets/thumbnail.png",
"color": "#D62F3A",
Expand All @@ -23,4 +23,4 @@
"games",
"gaming"
]
}
}
2 changes: 2 additions & 0 deletions websites/N/Nitro Type/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ presence.on("UpdateData", () => {
presenceData.details = "Opening Mystery Box";
else if (path.startsWith("/garage"))
presenceData.details = "Hanging in the Garage";
else if (path.startsWith("/leagues"))
presenceData.details = "Viewing League standings";
else if (path.startsWith("/team/create"))
presenceData.details = "Creating a team";
else if (path.startsWith("/team/")) {
Expand Down

0 comments on commit 8441fd2

Please sign in to comment.