mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-06-21 20:07:31 +02:00
Lint and cleanup code
This commit is contained in:
parent
b16262025a
commit
a17f9b2b61
17 changed files with 755 additions and 185 deletions
|
@ -1,8 +1,9 @@
|
|||
import React from "react"
|
||||
import PropTypes from "prop-types"
|
||||
import { Trans, Link } from "gatsby-plugin-react-i18next"
|
||||
import { graphql, StaticQuery } from 'gatsby'
|
||||
|
||||
export default function Navigation({isHome, module}) {
|
||||
const Navigation = ({isHome, module}) => {
|
||||
return (
|
||||
<div className={"topBar" + (isHome ? " homeBar" : "")}>
|
||||
<nav className="topBarInner">
|
||||
|
@ -23,4 +24,11 @@ export default function Navigation({isHome, module}) {
|
|||
</nav>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Navigation.propTypes = {
|
||||
isHome: PropTypes.boolean.isRequired,
|
||||
module: PropTypes.string.isRequired
|
||||
}
|
||||
|
||||
export default Navigation;
|
Loading…
Add table
Add a link
Reference in a new issue