Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

Commit

Permalink
Minify files to ensure fast load times
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacub committed Feb 13, 2021
1 parent e8da9a7 commit 3f754a1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
10 changes: 1 addition & 9 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,4 @@ body {
margin-left: 2rem;
background-color: rgb(53, 53, 53);
color: white;
}

/*
body {
margin: auto;
max-width: 38rem;
padding: 2rem;
}*/
}
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="index.min.css">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const createWindow = async () => {
}
});
// and load the index.html of the app.
await mainWindow.loadFile(path.join(__dirname, 'index.html'));
await mainWindow.loadFile(path.join(__dirname, 'index.min.html'));
mainWindow.setTitle('MonoLauncher');
};

Expand Down
1 change: 1 addition & 0 deletions src/index.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/index.min.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><meta charset="UTF-8"><link rel="stylesheet" href="index.min.css"></head><body><header><h1>MonoLauncher</h1></header><h3>MonoLauncher</h3><p>Highest quality of all launchers</p><a href="https://monolithserver.com">MonolithServers</a></body></html>

0 comments on commit 3f754a1

Please sign in to comment.