aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-01-05 12:41:55 +0100
committerlonkaars <l.leblansch@gmail.com>2021-01-05 12:41:55 +0100
commit083cc3c157c320bf01427af32c9729e6a6544cd8 (patch)
treee7c7c316183cee0fa7274984614e1acb95849516
parent8cdbd98c8ab9646a96bc22724f38038b4e273a0e (diff)
icoontje gefixt
-rw-r--r--package.json2
-rw-r--r--src/pages/home.tsx5
-rw-r--r--yarn.lock10
3 files changed, 16 insertions, 1 deletions
diff --git a/package.json b/package.json
index dc242a4..a03e211 100644
--- a/package.json
+++ b/package.json
@@ -5,6 +5,8 @@
"dependencies": {
"@material-ui/core": "^4.11.2",
"@material-ui/icons": "^4.11.2",
+ "@mdi/js": "^5.8.55",
+ "@mdi/react": "^1.4.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
diff --git a/src/pages/home.tsx b/src/pages/home.tsx
index 735ef10..4557ffa 100644
--- a/src/pages/home.tsx
+++ b/src/pages/home.tsx
@@ -7,6 +7,9 @@ import { Vierkant } from '../components/vierkant';
import VideogameAssetIcon from '@material-ui/icons/VideogameAsset';
import ExtensionIcon from '@material-ui/icons/Extension';
+import Icon from '@mdi/react';
+import { mdiRobotExcited } from '@mdi/js';
+
var GameModeIconStyle: CSSProperties = {
fontSize: 64,
display: "inline-block",
@@ -47,7 +50,7 @@ function HomePage() {
<div style={SquareSize}></div>
</Vierkant>
<Vierkant>
- <VideogameAssetIcon style={GameModeIconStyle}/>
+ <Icon path={mdiRobotExcited} style={GameModeIconStyle}/>
<span style={GameModeTextStyle}>Tegen computer</span>
<div style={SquareSize}></div>
</Vierkant>
diff --git a/yarn.lock b/yarn.lock
index 2af215a..9b9d633 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1459,6 +1459,16 @@
prop-types "^15.7.2"
react-is "^16.8.0 || ^17.0.0"
+"@mdi/js@^5.8.55":
+ version "5.8.55"
+ resolved "https://registry.yarnpkg.com/@mdi/js/-/js-5.8.55.tgz#630bc5fafd8b1d2f6e63489a9ab170177559e41b"
+ integrity sha512-2bvln56SW6V/nSDC/0/NTu1bMF/CgSyZox8mcWbAPWElBN3UYIrukKDUckEER8ifr8X2YJl1RLKQqi7T7qLzmg==
+
+"@mdi/react@^1.4.0":
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/@mdi/react/-/react-1.4.0.tgz#7f6bad1bd8801226d0e5bad91659b215ce68a93f"
+ integrity sha512-OUH9RhfDJPhybQL3owwrSDIXz2yVKXg5lYeOZjyRCiT9wqywNK0FeYyDByOwNIZnnIQoQYmuSrMv+pOX0Uqkmw==
+
"@nodelib/fs.scandir@2.1.3":
version "2.1.3"
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b"