diff --git a/src/assets/styles/global.js b/src/assets/styles/global.js index 9a939fe..1d15a1d 100644 --- a/src/assets/styles/global.js +++ b/src/assets/styles/global.js @@ -121,6 +121,10 @@ const GlobalStyle = createGlobalStyle` color: var(--color__headline); } + img { + max-width: 100%; + } + button, .button, a.button { diff --git a/src/components/Cta/Cta.component.js b/src/components/Cta/Cta.component.js index b87fa29..5aa7b37 100644 --- a/src/components/Cta/Cta.component.js +++ b/src/components/Cta/Cta.component.js @@ -7,7 +7,7 @@ const Cta = () => (

Get a free quote for your next project

- + Get in touch diff --git a/src/components/Footer/Footer.component.js b/src/components/Footer/Footer.component.js index 11eea2a..88f2d47 100644 --- a/src/components/Footer/Footer.component.js +++ b/src/components/Footer/Footer.component.js @@ -6,10 +6,10 @@ const Footer = () => (
- + @@ -20,10 +20,10 @@ const Footer = () => ( */} - + diff --git a/src/components/Header/Header.component.js b/src/components/Header/Header.component.js index 88c3fdd..52417c5 100644 --- a/src/components/Header/Header.component.js +++ b/src/components/Header/Header.component.js @@ -9,30 +9,30 @@ const Header = () => (
- + - + - +
diff --git a/src/components/Header/index.js b/src/components/Header/index.js index 3e167eb..ab11000 100644 --- a/src/components/Header/index.js +++ b/src/components/Header/index.js @@ -1 +1 @@ -export { default as Header } from "./Header.component" \ No newline at end of file +export { default as Header } from './Header.component' diff --git a/src/components/Layout.js b/src/components/Layout.js index f172401..3c6ac05 100644 --- a/src/components/Layout.js +++ b/src/components/Layout.js @@ -1,19 +1,21 @@ import React from 'react' import 'normalize.css' +import PropTypes from 'prop-types' import GlobalStyle from '../assets/styles/global' import { Header } from './Header' import { Footer } from './Footer' -const Layout = ({ children }) => { - // delete this line - return ( - <> - -
-
{children}
-