From 834981a38aad32fdf0c0976e1a7e7da33dfcf254 Mon Sep 17 00:00:00 2001
From: pb-coding <71174645+pb-coding@users.noreply.github.com>
Date: Thu, 19 Oct 2023 16:08:07 +0200
Subject: [PATCH] updates domain and adapts theme
---
.env | 2 +-
src/App.tsx | 2 +-
src/components/Footer.tsx | 9 ++-------
src/components/SessionManager.tsx | 2 +-
src/global/Button.tsx | 4 ++--
src/global/Text.tsx | 2 +-
6 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/.env b/.env
index 7751623..33754f8 100644
--- a/.env
+++ b/.env
@@ -1,5 +1,5 @@
VITE_ENVIRONMENT=dev
-VITE_BACKEND_URL=https://skyjo-backend.voltvector.org
+VITE_BACKEND_URL=https://backend.skylo-game.com
#VITE_ENVIRONMENT=local
#VITE_BACKEND_URL=http://localhost:3001
\ No newline at end of file
diff --git a/src/App.tsx b/src/App.tsx
index 41e0ff3..3ab7eeb 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -64,7 +64,7 @@ export default function App() {
}, []);
return (
-
+
{!gameData && (
= ({
const isEndOfGame = gameData.phase === "game ended";
return (
-
+
Session: {session}
@@ -61,7 +56,7 @@ export const Footer: FC
{gameData.players.map((player, index) => (
-
+
{player?.name} {player.socketId == socket.id && "👤"}{" "}
diff --git a/src/components/SessionManager.tsx b/src/components/SessionManager.tsx
index 530bdf2..4924130 100644
--- a/src/components/SessionManager.tsx
+++ b/src/components/SessionManager.tsx
@@ -50,7 +50,7 @@ export const SessionManager: FC = ({
return (
-
+
SKYLO
diff --git a/src/global/Button.tsx b/src/global/Button.tsx
index a553293..7b7fa6a 100644
--- a/src/global/Button.tsx
+++ b/src/global/Button.tsx
@@ -9,7 +9,7 @@ const Button: FC
= ({ variant, children, ...rest }) => {
if (variant === "secondary") {
return (