Skip to content

Commit

Permalink
Refactor component styles and update paths in Vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
Saketh-Chandra committed Feb 3, 2024
1 parent 71fcd4a commit 1b25c27
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
9 changes: 7 additions & 2 deletions src/components/PageNotFound.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,21 @@ function PageNotFound() {
const [randomMessage] = useState(getRandomMessage());

return (
<Container style={{ marginTop: "2.5vh", textAlign: 'center' }}>
<Container style={{
textAlign: 'center',
marginBottom: "4rem",
marginTop: "5rem"
}}>
<Typography variant="h5" color="error">
{randomMessage}
</Typography>
<Typography variant="body1" style={{ marginBottom: '20px' }}>
Better head back to
<Link to="/"> the Home Page</Link> before things get even crazier in the world of GTA SA Save File Editor!
<Link to="/GTA_SA_Save_Game_EditorPy/"> the Home Page</Link> before things get even crazier in the world of GTA SA Save File Editor!
</Typography>
</Container>
);
}

export default PageNotFound;

9 changes: 3 additions & 6 deletions src/page/GaragePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@ function GaragePage() {
}

return (
<Container style={{ display: 'flex' , marginBottom: "4rem",
marginTop: "4rem"
<Container style={{
display: 'flex', marginBottom: "4rem",
marginTop: "4rem"
}}>




<Garage />

</Container>
Expand Down
2 changes: 0 additions & 2 deletions src/page/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ const Home = () => {
<Garage />

<SaveFileDownload />


</Container>
);
};
Expand Down
12 changes: 6 additions & 6 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1b25c27

Please sign in to comment.