Add Wiki link under community

pull/31/head
Flashfyre 2024-04-03 09:26:48 -04:00
parent 7400ba0503
commit 517b012736
1 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,7 @@ export enum MenuOptions {
LOG_OUT LOG_OUT
} }
const wikiUrl = 'https://wiki.pokerogue.net';
const discordUrl = 'https://discord.gg/uWpTfdKG49'; const discordUrl = 'https://discord.gg/uWpTfdKG49';
const githubUrl = 'https://github.com/Flashfyre/pokerogue'; const githubUrl = 'https://github.com/Flashfyre/pokerogue';
@ -160,6 +161,11 @@ export default class MenuUiHandler extends MessageUiHandler {
}; };
const communityOptions = [ const communityOptions = [
{
label: 'Wiki',
handler: () => window.open(wikiUrl, '_blank').focus(),
keepOpen: true
},
{ {
label: 'Discord', label: 'Discord',
handler: () => window.open(discordUrl, '_blank').focus(), handler: () => window.open(discordUrl, '_blank').focus(),