diff --git a/package.json b/package.json index 79c753a..d7a3b66 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,9 @@ }, "dependencies": { "file-saver": "^1.3.8", - "gatsby": "^2.0.0-beta.111", - "gatsby-image": "^2.0.0-beta.8", - "gatsby-plugin-manifest": "^2.0.2-beta.6", + "gatsby": "^2.0.0-beta.112", + "gatsby-image": "^2.0.0-beta.9", + "gatsby-plugin-manifest": "^2.0.2-beta.7", "gatsby-plugin-matomo": "^0.5.0", "gatsby-plugin-offline": "^2.0.0-beta.9", "gatsby-plugin-react-helmet": "^3.0.0-beta.4", diff --git a/src/components/atoms/LogoUnit.jsx b/src/components/atoms/LogoUnit.jsx index e7a5ba3..4071c2f 100644 --- a/src/components/atoms/LogoUnit.jsx +++ b/src/components/atoms/LogoUnit.jsx @@ -1,20 +1,43 @@ -import React from 'react' +import React, { PureComponent } from 'react' import PropTypes from 'prop-types' import Logo from '../svg/Logo' import styles from './LogoUnit.module.scss' -const LogoUnit = ({ meta, minimal }) => { - const classes = minimal ? styles.minimal : styles.logounit +class LogoUnit extends PureComponent { + constructor(props) { + super(props) - return ( -
- {'{ '} {meta.tagline.toLowerCase()} {' }'} -
-+ {'{ '} {meta.tagline.toLowerCase()} {' }'} +
+