diff --git a/README.md b/README.md index 12e5c20..3ad92e4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ - + > The most pragmatic and efficient way to orchestrate multiple Minecraft servers. diff --git a/assets/banner.jpg b/img/banner.jpg similarity index 100% rename from assets/banner.jpg rename to img/banner.jpg diff --git a/img/fabric_logo.png b/img/fabric_logo.png new file mode 100644 index 0000000..4ab8370 Binary files /dev/null and b/img/fabric_logo.png differ diff --git a/img/paper_logo.png b/img/paper_logo.png new file mode 100644 index 0000000..c494760 Binary files /dev/null and b/img/paper_logo.png differ diff --git a/img/vanilla_logo.png b/img/vanilla_logo.png new file mode 100644 index 0000000..4136007 Binary files /dev/null and b/img/vanilla_logo.png differ diff --git a/package.json b/package.json index 8322fb5..f25a2a5 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "packagerConfig": { "extraResource": [ "./resources/server.properties", - "./resources/fabric-installer-0.9.0.jar" + "./resources/fabric-installer.jar" ] }, "makers": [ @@ -94,10 +94,12 @@ "electron": "16.0.1", "eslint": "^7.6.0", "eslint-plugin-import": "^2.20.0", + "file-loader": "^6.2.0", "fork-ts-checker-webpack-plugin": "^6.0.1", "node-loader": "^2.0.0", "postcss": "^8.3.11", "postcss-loader": "^6.2.0", + "prettier": "^2.5.0", "style-loader": "^3.0.0", "tailwindcss": "^2.2.19", "ts-loader": "^9.2.2", @@ -109,6 +111,7 @@ "node-fetch": "^3.1.0", "react": "^17.0.2", "react-dom": "^17.0.2", + "sanitize-filename": "^1.6.3", "update-electron-app": "^2.0.1" } } diff --git a/src/components/Instance.tsx b/src/components/Instance.tsx new file mode 100644 index 0000000..c2c9c8c --- /dev/null +++ b/src/components/Instance.tsx @@ -0,0 +1,27 @@ +import React from "react"; +import { InstanceOptions } from "../types"; + +import fabricLogo from "../../img/fabric_logo.png"; +import paperLogo from "../../img/paper_logo.png"; +import vanillaLogo from "../../img/vanilla_logo.png"; + +const images = { + fabric: fabricLogo, + paper: paperLogo, + vanilla: vanillaLogo, +} as const; + +interface InstanceProps { + info: InstanceOptions; +} + +const Instance = ({ info }: InstanceProps): JSX.Element => { + return ( +
{info.name}
+