From 103aca17035a9ac4738117b2c1050237514ea19b Mon Sep 17 00:00:00 2001 From: Tom Gooden Date: Fri, 14 Jan 2022 12:16:29 -0500 Subject: [PATCH] Eslint updates --- src/assets/styles/global.js | 4 +++ src/components/Cta/Cta.component.js | 2 +- src/components/Footer/Footer.component.js | 8 ++--- src/components/Header/Header.component.js | 24 +++++++------- src/components/Header/index.js | 2 +- src/components/Layout.js | 22 +++++++------ .../Navigation/Navigation.component.js | 8 ++--- src/components/Navigation/index.js | 2 +- .../ProjectRoadmap.component.js | 20 ++++++------ .../CheckInPortal/CheckInPortal.component.js | 2 +- .../Projects/CheckInPortal/index.js | 2 +- .../TherapistDirectory.component.js | 2 +- .../Projects/TherapistDirectory/index.js | 2 +- src/components/Seo.js | 5 +-- .../ServicesBlocks.component.js | 30 ++++++++--------- src/pages/404.js | 12 +++---- src/pages/about.js | 17 +++++----- src/pages/blog.js | 32 +++++++++---------- src/pages/contact.js | 24 +++++++------- src/pages/index.js | 8 ++--- src/pages/tags.js | 19 ++++++----- src/pages/thanks.js | 29 ++--------------- src/pages/uses.js | 8 ++--- src/utils/idk.js | 9 ++++-- 24 files changed, 139 insertions(+), 154 deletions(-) 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}
-