diff --git a/.env b/.env
index 6ac42ba97b4..3b91f44d813 100644
--- a/.env
+++ b/.env
@@ -1,3 +1,6 @@
VITE_BYPASS_LOGIN=0
VITE_BYPASS_TUTORIAL=0
-VITE_SERVER_URL=http://localhost:8001
\ No newline at end of file
+VITE_SERVER_URL=http://localhost:8001
+VITE_DISCORD_CLIENT_ID=1248062921129459756
+VITE_GOOGLE_CLIENT_ID=955345393540-2k6lfftf0fdnb0krqmpthjnqavfvvf73.apps.googleusercontent.com
+VITE_I18N_DEBUG=0
diff --git a/.env.beta b/.env.beta
index 8d1e93b3277..88147215258 100644
--- a/.env.beta
+++ b/.env.beta
@@ -1,3 +1,6 @@
VITE_BYPASS_LOGIN=0
VITE_BYPASS_TUTORIAL=0
-VITE_SERVER_URL=https://api.beta.pokerogue.net
\ No newline at end of file
+VITE_SERVER_URL=https://api.beta.pokerogue.net
+VITE_DISCORD_CLIENT_ID=1248062921129459756
+VITE_GOOGLE_CLIENT_ID=955345393540-2k6lfftf0fdnb0krqmpthjnqavfvvf73.apps.googleusercontent.com
+VITE_I18N_DEBUG=1
diff --git a/.env.development b/.env.development
index e9180f0875d..6c92036270f 100644
--- a/.env.development
+++ b/.env.development
@@ -1,3 +1,7 @@
VITE_BYPASS_LOGIN=1
VITE_BYPASS_TUTORIAL=0
-VITE_SERVER_URL=http://localhost:8001
\ No newline at end of file
+VITE_SERVER_URL=http://localhost:8001
+VITE_DISCORD_CLIENT_ID=1234567890
+VITE_GOOGLE_CLIENT_ID=1234567890
+VITE_I18N_DEBUG=1
+VITE_PORT=8000
diff --git a/.env.production b/.env.production
index 74818d41a12..65dc7875902 100644
--- a/.env.production
+++ b/.env.production
@@ -1,3 +1,6 @@
VITE_BYPASS_LOGIN=0
VITE_BYPASS_TUTORIAL=0
-VITE_SERVER_URL=https://api.pokerogue.net
\ No newline at end of file
+VITE_SERVER_URL=https://api.pokerogue.net
+VITE_DISCORD_CLIENT_ID=1248062921129459756
+VITE_GOOGLE_CLIENT_ID=955345393540-2k6lfftf0fdnb0krqmpthjnqavfvvf73.apps.googleusercontent.com
+VITE_I18N_DEBUG=0
\ No newline at end of file
diff --git a/.env.test b/.env.test
new file mode 100644
index 00000000000..54d5bd6f257
--- /dev/null
+++ b/.env.test
@@ -0,0 +1 @@
+VITE_I18N_DEBUG=0
\ No newline at end of file
diff --git a/.github/old_workflows/deploy-beta.yml b/.github/old_workflows/deploy-beta.yml
index d954d9bb865..3af48b400af 100644
--- a/.github/old_workflows/deploy-beta.yml
+++ b/.github/old_workflows/deploy-beta.yml
@@ -1,8 +1,9 @@
name: Deploy Beta
on:
- push: {}
- pull_request: {}
+ push:
+ branches:
+ - beta
jobs:
deploy:
@@ -20,7 +21,6 @@ jobs:
env:
NODE_ENV: production
- name: Set up SSH
- if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
run: |
mkdir ~/.ssh
echo "${{ secrets.BETA_SSH_PUBLIC_KEY }}" > ~/.ssh/id_ed25519.pub
@@ -28,6 +28,5 @@ jobs:
chmod 600 ~/.ssh/*
ssh-keyscan -H ${{ secrets.BETA_SSH_HOST }} >> ~/.ssh/known_hosts
- name: Deploy build on server
- if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
run: |
rsync --del --no-times --checksum -vrm dist/* ${{ secrets.BETA_SSH_USER }}@${{ secrets.BETA_SSH_HOST }}:${{ secrets.BETA_DESTINATION_DIR }}
\ No newline at end of file
diff --git a/.github/old_workflows/eslint.yml b/.github/old_workflows/eslint.yml
index 32c0ca7707a..9068f1ae9a2 100644
--- a/.github/old_workflows/eslint.yml
+++ b/.github/old_workflows/eslint.yml
@@ -6,9 +6,11 @@ on:
push:
branches:
- main # Trigger on push events to the main branch
+ - beta # Trigger on push events to the beta branch
pull_request:
branches:
- main # Trigger on pull request events targeting the main branch
+ - beta # Trigger on pull request events targeting the beta branch
jobs:
run-linters: # Define a job named "run-linters"
diff --git a/.github/old_workflows/github-pages.yml b/.github/old_workflows/github-pages.yml
index ce52e8d9772..3b7617c45f4 100644
--- a/.github/old_workflows/github-pages.yml
+++ b/.github/old_workflows/github-pages.yml
@@ -7,6 +7,7 @@ on:
pull_request:
branches:
- main
+ - beta
jobs:
pages:
@@ -52,7 +53,7 @@ jobs:
working-directory: ${{env.api-dir}}
run: |
cd pokerogue_docs
- npx typedoc --out /tmp/docs --githubPages false --entryPoints ./src/
+ npm run docs -- --out /tmp/docs --githubPages false --entryPoints ./src/
- name: Commit & Push docs
if: github.event_name == 'push'
diff --git a/.github/old_workflows/tests.yml b/.github/old_workflows/tests.yml
index c1c32a95cd6..9ce1d1c5038 100644
--- a/.github/old_workflows/tests.yml
+++ b/.github/old_workflows/tests.yml
@@ -6,9 +6,11 @@ on:
push:
branches:
- main # Trigger on push events to the main branch
+ - beta # Trigger on push events to the beta branch
pull_request:
branches:
- main # Trigger on pull request events targeting the main branch
+ - beta # Trigger on pull request events targeting the beta branch
jobs:
run-tests: # Define a job named "run-tests"
diff --git a/.gitignore b/.gitignore
index 0ae49fe9e1c..c22d0b2ce4c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,4 +39,5 @@ coverage
# Local Documentation
/typedoc
-/dependency-graph.svg
\ No newline at end of file
+/dependency-graph.svg
+/.vs
diff --git a/index.css b/index.css
index 30e7c63d954..be480ab6c78 100644
--- a/index.css
+++ b/index.css
@@ -19,9 +19,21 @@ html {
body {
margin: 0;
+ display:flex;
+ flex-direction: column;
+ align-items: center;
background: #484050;
}
+#links {
+ width: 90%;
+ text-align: center;
+ position: fixed;
+ bottom: 0;
+ display: flex;
+ justify-content: space-around;
+}
+
#app {
display: flex;
justify-content: center;
@@ -195,6 +207,17 @@ input:-internal-autofill-selected {
}
}
+#tnc-links {
+ font-size: xx-small;
+ position: relative;
+}
+
+a {
+ color: #328cea;
+ margin-right: 4px;
+ margin-left: 4px;
+}
+
/* Firefox old*/
@-moz-keyframes blink {
0% {
diff --git a/index.html b/index.html
index 3722bdd3422..ebe5b063c52 100644
--- a/index.html
+++ b/index.html
@@ -39,6 +39,7 @@
+