From 1b25c27bfaa4ca175b9f748f9e9e5e2f31e8f72f Mon Sep 17 00:00:00 2001 From: Saketh-Chandra Date: Sun, 4 Feb 2024 02:39:32 +0530 Subject: [PATCH] Refactor component styles and update paths in Vite config --- src/components/PageNotFound.jsx | 9 +++++++-- src/page/GaragePage.jsx | 9 +++------ src/page/Home.jsx | 2 -- vite.config.js | 12 ++++++------ 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/components/PageNotFound.jsx b/src/components/PageNotFound.jsx index e8849b9..18ef615 100644 --- a/src/components/PageNotFound.jsx +++ b/src/components/PageNotFound.jsx @@ -24,16 +24,21 @@ function PageNotFound() { const [randomMessage] = useState(getRandomMessage()); return ( - + {randomMessage} Better head back to - the Home Page before things get even crazier in the world of GTA SA Save File Editor! + the Home Page before things get even crazier in the world of GTA SA Save File Editor! ); } export default PageNotFound; + diff --git a/src/page/GaragePage.jsx b/src/page/GaragePage.jsx index 65b925e..5ebd317 100644 --- a/src/page/GaragePage.jsx +++ b/src/page/GaragePage.jsx @@ -17,13 +17,10 @@ function GaragePage() { } return ( - - - - - diff --git a/src/page/Home.jsx b/src/page/Home.jsx index bef62b7..334b59b 100644 --- a/src/page/Home.jsx +++ b/src/page/Home.jsx @@ -18,8 +18,6 @@ const Home = () => { - - ); }; diff --git a/vite.config.js b/vite.config.js index 8de307a..f89c9c0 100644 --- a/vite.config.js +++ b/vite.config.js @@ -66,19 +66,19 @@ export default defineConfig({ ], description: "GTA: SA Savegame EditorPy is a Python-based savegame editor for Grand Theft Auto: San Andreas.", display: "standalone", - // start_url: "/GTA_SA_Save_Game_EditorPy/", - // scope: "/GTA_SA_Save_Game_EditorPy/", - scope: "/", - start_url: "/", + start_url: "/GTA_SA_Save_Game_EditorPy/", + scope: "/GTA_SA_Save_Game_EditorPy/", + // scope: "/", + // start_url: "/", theme_color: "#000", icons: [ { - src: "/images/icons/icon_x512.png", + src: "/GTA_SA_Save_Game_EditorPy/images/icons/icon_x512.png", type: "image/png", sizes: "512x512" }, { - src: "/images/icons/icon_x192.png", + src: "/GTA_SA_Save_Game_EditorPy/images/icons/icon_x192.png", type: "image/png", sizes: "192x192", purpose: "any maskable"