Initialize project and port basics

This commit is contained in:
Kevin Kandlbinder 2020-12-21 18:23:28 +01:00
commit ebb4f4d515
31 changed files with 20401 additions and 0 deletions

View file

@ -0,0 +1,17 @@
import React from "react"
import { Trans, Link } from "gatsby-plugin-react-i18next"
export default class Navigation extends React.Component {
render() {
return (
<div className={"topBar" + (this.props.isHome ? " homeBar" : "")}>
<nav className="topBarInner">
<Link to="/" className={"logo" + (this.props.module == "home" ? " active" : "")}>KevinK.dev</Link>
<div className="flexSpacer"></div>
<Link id="navBtnProjects" to="/projects" className={(this.props.module == "projects" ? "active" : "")}><Trans>projects</Trans></Link>
<Link id="navBtnSocial" to="/social" className={(this.props.module == "social" ? "active" : "")}><Trans>social</Trans></Link>
</nav>
</div>
);
}
}