Skip to content

Commit

Permalink
fixing footer copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
mstfash committed Jan 7, 2021
1 parent 1942eaa commit b5ec598
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const Footer = ({ slapToBottom, location }) => {
<Link to={"/privacy"}>Privacy Policy</Link>
</LinkContainer>
{/* <Button text={`Deployed Commit - master`} /> */}
<Button text="© Reflexer Labs 2020" />
<Button text={`© Reflexer Labs ${new Date().getFullYear()}`} />
</LowerSection>
</Container>
)
Expand Down
8 changes: 4 additions & 4 deletions src/utils/getPrefixPath.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import config from "../../gatsby-config"
const { pathPrefix } = config
// import config from "../../gatsby-config"
// const { pathPrefix } = config

const activeEnv = process.env.NODE_ENV || "development"
const isDevelopment = activeEnv === "development"
// const activeEnv = process.env.NODE_ENV || "development"
// const isDevelopment = activeEnv === "development"

const getPrefixedPath = url => {
// return isDevelopment ? url : path.join(pathPrefix, url)
Expand Down

0 comments on commit b5ec598

Please sign in to comment.