From 139fdb00f4671dc6f54dc7c47396a3d3a74a922e Mon Sep 17 00:00:00 2001 From: RolandoDrRobot Date: Sat, 31 May 2025 12:04:31 -0600 Subject: [PATCH 1/3] fix close and comment modal --- .../src/components/FlappyBeasts/flappyBeasts.tsx | 12 +----------- client/src/components/FlappyBeasts/main.css | 2 +- client/src/components/Header/index.tsx | 4 ++-- .../components/ui/ModalGameOver/ModalGameOver.tsx | 12 +++++++++++- client/vite.config.ts | 14 +++++++------- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/client/src/components/FlappyBeasts/flappyBeasts.tsx b/client/src/components/FlappyBeasts/flappyBeasts.tsx index 5a0215e8..9ec4fee0 100644 --- a/client/src/components/FlappyBeasts/flappyBeasts.tsx +++ b/client/src/components/FlappyBeasts/flappyBeasts.tsx @@ -833,17 +833,6 @@ const FlappyBirdMiniGame = forwardRef(({ className="land animated" style={{ backgroundImage: `url(${gameAssets.land})` }} /> - - {/* Exit button */} - {onExitGame && ( - - )} - {/* Debug button to show colliders in UI for testing purposes */} {/* + )}

Game over!

diff --git a/client/vite.config.ts b/client/vite.config.ts index 7bc4d95b..2936a810 100644 --- a/client/vite.config.ts +++ b/client/vite.config.ts @@ -3,15 +3,15 @@ import topLevelAwait from "vite-plugin-top-level-await"; import { defineConfig } from "vite"; import { VitePWA } from "vite-plugin-pwa"; import wasm from "vite-plugin-wasm"; -//import fs from "fs"; +import fs from "fs"; export default defineConfig({ - // server: { - // https: { - // key: fs.readFileSync("mkcert+1-key.pem"), // Path to private key file - // cert: fs.readFileSync("mkcert+1.pem"), // Path to certificate file - // }, - // }, + server: { + https: { + key: fs.readFileSync("mkcert+1-key.pem"), // Path to private key file + cert: fs.readFileSync("mkcert+1.pem"), // Path to certificate file + }, + }, plugins: [ react(), wasm(), From 1ebee152bd8f5448b97664bcc544f90e24a4377a Mon Sep 17 00:00:00 2001 From: RolandoDrRobot Date: Sat, 31 May 2025 12:07:13 -0600 Subject: [PATCH 2/3] Fix aura --- client/src/components/Tamagotchi/Actions/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Tamagotchi/Actions/index.tsx b/client/src/components/Tamagotchi/Actions/index.tsx index f45fa34d..4feef213 100644 --- a/client/src/components/Tamagotchi/Actions/index.tsx +++ b/client/src/components/Tamagotchi/Actions/index.tsx @@ -56,7 +56,7 @@ const Actions = ({ const [buttonSound] = useSound(buttonClick, { volume: 0.6, preload: true }); return ( -

+
{ actionButtons.map(({ label, img, action, pictureKey }) => (