Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

Commit 880990d

Browse files
authored
feat(frontend): Display Nodes on Geomap based on ip address (#335)
1 parent 82882fa commit 880990d

File tree

12 files changed

+2029
-70
lines changed

12 files changed

+2029
-70
lines changed

frontend/next-env.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ declare module "*.svg" {
66
}
77

88
declare module "react-text-collapse";
9+
10+
declare module "*"; // for datamaps npm

frontend/package-lock.json

Lines changed: 792 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,16 @@
4242
"autobahn": "19.7.3",
4343
"bn.js": "^5.1.1",
4444
"bootstrap": "^4.5.0",
45+
"d3": "^5.16.0",
4546
"hexy": "^0.3.0",
46-
"moment": "^2.25.3",
47+
"lodash": "^4.17.15",
48+
"moment": "^2.26.0",
4749
"nearlib": "^0.19.1",
4850
"next": "^9.4.1",
4951
"react": "^16.13.1",
5052
"react-bootstrap": "^1.0.1",
53+
"react-countdown": "^2.2.1",
54+
"react-datamaps": "^0.4.1",
5155
"react-dom": "^16.13.1",
5256
"react-flip-move": "^3.0.3",
5357
"react-infinite-scroll-component": "^5.0.4",
@@ -58,6 +62,7 @@
5862
"devDependencies": {
5963
"@types/autobahn": "^18.10.0",
6064
"@types/bn.js": "^4.11.6",
65+
"@types/d3": "^5.7.2",
6166
"@types/jest": "^24.0.18",
6267
"@types/node": "^12.12.39",
6368
"@types/react": "^16.9.35",
Lines changed: 15 additions & 0 deletions
Loading
Lines changed: 11 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)