Browse Source

MVP block explorer

Joystream Stats 4 years ago
parent
commit
0cbfb49abe
6 changed files with 9 additions and 3 deletions
  1. 1 1
      package.json
  2. BIN
      public/favicon.ico
  3. 1 1
      public/index.html
  4. BIN
      public/logo192.png
  5. 6 1
      public/manifest.json
  6. 1 0
      src/components/Main/index.js

+ 1 - 1
package.json

@@ -30,7 +30,7 @@
     "socket.io": "^2.2.0"
   },
   "scripts": {
-    "start": "concurrently \"PORT=3050 HOST=127.0.0.1 react-scripts start\" \"nodemon server\"",
+    "start": "concurrently \"PORT=3050 HOST=127.0.0.1 react-scripts start\" \"nodemon -i src server \"",
     "build": "react-scripts build",
     "prod": "node server",
     "test": "react-scripts test --env=jsdom",

BIN
public/favicon.ico


+ 1 - 1
public/index.html

@@ -8,7 +8,7 @@
 
     <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
 
-    <title>Websocket Example</title>
+    <title>JoystreamStats</title>
   </head>
   <body>
     <noscript>Please enable JavaScript to run this app.</noscript>

BIN
public/logo192.png


+ 6 - 1
public/manifest.json

@@ -1,11 +1,16 @@
 {
   "short_name": "sockets!",
-  "name": "Websocket Example",
+  "name": "JoystreamStats",
   "icons": [
     {
       "src": "favicon.png",
       "sizes": "64x64 32x32 24x24 16x16",
       "type": "image/x-icon"
+    }, 
+    {
+      "src": "logo192.png",
+      "type": "image/png",
+      "sizes": "192x192"
     }
   ],
   "start_url": ".",

+ 1 - 0
src/components/Main/index.js

@@ -97,6 +97,7 @@ const Main = (props) => {
         <div className="d-flex flex-row justify-content-between overflow-auto">
           {[10, `schism1`, 66, `schism2`, 15].map((i) => (
             <img
+              key={i}
               src={`https://eu-central-1.linodeobjects.com/joystream/${i}.jpg`}
               width="200"
               alt={`${i}`}