diff options
| author | Georgios Andreadis <G.Andreadis@student.tudelft.nl> | 2017-11-10 09:02:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-10 09:02:07 +0100 |
| commit | 46137ff8dafa045a376549527df6098e10782420 (patch) | |
| tree | 62a92af663a7432d5c413763aeb44e42284906cf | |
| parent | aef3e697f02806a47dec3843a071f8b5cd9980bc (diff) | |
| parent | 4d6532d6b642137851f9bcc1cabadbc2bd8407bd (diff) | |
Merge pull request #56 from atlarge-research/upgrade-dependencies
Upgrade dependencies
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | package.json | 29 | ||||
| -rw-r--r-- | src/components/app/sidebars/topology/machine/UnitAddComponent.js | 3 | ||||
| -rw-r--r-- | src/components/home/ContactSection.js | 5 | ||||
| -rw-r--r-- | src/components/navigation/AppNavbar.js | 8 | ||||
| -rw-r--r-- | src/containers/auth/Login.js | 4 |
6 files changed, 26 insertions, 26 deletions
@@ -9,7 +9,8 @@ Collaborative Datacenter Simulation and Exploration for Everybody [](https://travis-ci.org/atlarge-research/opendc-frontend) [](https://opensource.org/licenses/MIT) -[](https://github.com/prettier/prettier)<br/> +[](https://github.com/prettier/prettier) +[](https://www.bithound.io/github/atlarge-research/opendc-frontend)<br/> [](https://waffle.io/atlarge-research/opendc-frontend?utm_source=badge) The user-facing component of the OpenDC stack, allowing users to build and interact with their own (virtual) datacenters. Built in *React.js* and *Redux*, with the help of `create-react-app`. diff --git a/package.json b/package.json index c6c0994a..50326e4a 100644 --- a/package.json +++ b/package.json @@ -22,31 +22,30 @@ "classnames": "^2.2.5", "husky": "^0.14.3", "isomorphic-fetch": "^2.2.1", - "konva": "^1.6.8", - "lint-staged": "^4.2.3", + "konva": "^1.7.2", + "lint-staged": "^4.3.0", "node-sass-chokidar": "^0.0.3", - "npm-run-all": "^4.1.1", - "prettier": "^1.7.4", - "prop-types": "^15.5.10", - "react": "^15.6.1", + "npm-run-all": "^4.1.2", + "prettier": "^1.8.2", + "prop-types": "^15.6.0", + "react": "^16.1.0", "react-document-title": "^2.0.3", - "react-dom": "^15.6.1", + "react-dom": "^16.1.0", "react-fontawesome": "^1.6.1", - "react-google-login": "^2.9.3", - "react-konva": "^1.1.4", - "react-mailto": "^0.4.0", + "react-google-login": "^3.0.2", + "react-konva": "^1.6.2", "react-redux": "^5.0.5", "react-router-dom": "^4.2.2", - "react-scripts": "^1.0.13", - "react-shortcuts": "^1.6.1", + "react-scripts": "^1.0.14", + "react-shortcuts": "^2.0.0", "redux": "^3.7.2", "redux-localstorage": "^0.4.1", "redux-logger": "^3.0.6", - "redux-saga": "^0.15.6", + "redux-saga": "^0.16.0", "redux-thunk": "^2.2.0", - "socket.io-client": "^2.0.3", + "socket.io-client": "^2.0.4", "svgsaver": "^0.9.0", - "victory": "^0.22.2" + "victory": "^0.24.1" }, "lint-staged": { "src/**/*.{js,jsx,json}": [ diff --git a/src/components/app/sidebars/topology/machine/UnitAddComponent.js b/src/components/app/sidebars/topology/machine/UnitAddComponent.js index 584a4360..0c903228 100644 --- a/src/components/app/sidebars/topology/machine/UnitAddComponent.js +++ b/src/components/app/sidebars/topology/machine/UnitAddComponent.js @@ -31,7 +31,8 @@ class UnitAddComponent extends React.Component { type="submit" className="btn btn-outline-primary" onClick={() => - this.props.onAdd(parseInt(this.unitSelect.value, 10))} + this.props.onAdd(parseInt(this.unitSelect.value, 10)) + } > <span className="fa fa-plus mr-2" /> Add diff --git a/src/components/home/ContactSection.js b/src/components/home/ContactSection.js index d957297a..4e640924 100644 --- a/src/components/home/ContactSection.js +++ b/src/components/home/ContactSection.js @@ -1,6 +1,5 @@ import React from "react"; import FontAwesome from "react-fontawesome"; -import Mailto from "react-mailto"; import "./ContactSection.css"; import ContentSection from "./ContentSection"; @@ -15,11 +14,11 @@ const ContactSection = () => ( </a> </div> <div className="col-4"> - <Mailto title="Contact us" email="opendc@atlarge-research.com"> + <a href="mailto:opendc@atlarge-research.com"> <FontAwesome name="envelope" size="3x" className="mb-2" /> <div className="w-100" /> opendc@atlarge-research.com - </Mailto> + </a> </div> </div> <div className="row"> diff --git a/src/components/navigation/AppNavbar.js b/src/components/navigation/AppNavbar.js index ab4b8412..1a35f85d 100644 --- a/src/components/navigation/AppNavbar.js +++ b/src/components/navigation/AppNavbar.js @@ -1,6 +1,5 @@ import React from "react"; import FontAwesome from "react-fontawesome"; -import Mailto from "react-mailto"; import { Link } from "react-router-dom"; import Navbar, { NavItem } from "./Navbar"; import "./Navbar.css"; @@ -42,15 +41,14 @@ const AppNavbar = ({ simulationId, inSimulation, fullWidth }) => ( </Link> </NavItem> <NavItem route="email"> - <Mailto + <a className="nav-link" title="Support" - email="opendc@atlarge-research.com" - headers={{ subject: "[support]" }} + href="mailto:opendc@atlarge-research.com" > <FontAwesome name="envelope" className="mr-2" /> Support - </Mailto> + </a> </NavItem> </Navbar> ); diff --git a/src/containers/auth/Login.js b/src/containers/auth/Login.js index de12f815..28e95963 100644 --- a/src/containers/auth/Login.js +++ b/src/containers/auth/Login.js @@ -33,7 +33,9 @@ class LoginContainer extends React.Component { onFailure={this.onAuthResponse.bind(this)} className="login btn btn-primary" > - <span className="fa fa-google" /> <span>Login with Google</span> + <span> + <span className="fa fa-google" /> Login with Google + </span> </GoogleLogin> ); } |
