remove nested <a> in <Link> element
This commit is contained in:
parent
180173735e
commit
fdc4bfa3b8
|
@ -3,6 +3,7 @@ import NodeDropdownComponent from "./components/NodeDropdownComponent";
|
||||||
import LanguageDropDownComponent from "./components/LanguageDropdownComponent";
|
import LanguageDropDownComponent from "./components/LanguageDropdownComponent";
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import TabsOptions from "./components/TabsOptions";
|
import TabsOptions from "./components/TabsOptions";
|
||||||
|
import {Link} from "react-router";
|
||||||
|
|
||||||
|
|
||||||
export default class Header extends Component {
|
export default class Header extends Component {
|
||||||
|
@ -54,13 +55,14 @@ export default class Header extends Component {
|
||||||
<div>
|
<div>
|
||||||
<section className="bg-gradient header-branding">
|
<section className="bg-gradient header-branding">
|
||||||
<section className="container">
|
<section className="container">
|
||||||
<a className="brand" href="/" aria-label="Go to homepage">
|
<Link to={'/'} className="brand" aria-label="Go to homepage">
|
||||||
{/* TODO - don't hardcode image path*/}
|
{/* TODO - don't hardcode image path*/}
|
||||||
<img
|
<img
|
||||||
src={"https://www.myetherwallet.com/images/logo-myetherwallet.svg"} height="64px"
|
src={"https://www.myetherwallet.com/images/logo-myetherwallet.svg"}
|
||||||
|
height="64px"
|
||||||
width="245px"
|
width="245px"
|
||||||
alt="MyEtherWallet"/>
|
alt="MyEtherWallet"/>
|
||||||
</a>
|
</Link>
|
||||||
<div className="tagline">
|
<div className="tagline">
|
||||||
<span style={{maxWidth: '395px'}}>
|
<span style={{maxWidth: '395px'}}>
|
||||||
Open-Source & Client-Side Ether Wallet · v3.6.0
|
Open-Source & Client-Side Ether Wallet · v3.6.0
|
||||||
|
|
Loading…
Reference in New Issue