From eeddb85460fca7f2f488b83bddb7211fa41a2993 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 6 Jan 2020 23:29:15 +1300 Subject: [PATCH] Added a title and description for the index page --- src/layouts/Layout/index.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/layouts/Layout/index.tsx b/src/layouts/Layout/index.tsx index cd3d7b0..561f59b 100644 --- a/src/layouts/Layout/index.tsx +++ b/src/layouts/Layout/index.tsx @@ -4,6 +4,7 @@ import React, { FC, Fragment, useEffect } from "react" import { Container } from "../../components/Container" import { HomeFooter } from "../../components/HomeFooter" import { HomeHeader } from "../../components/HomeHeader" +import { SEO } from "../../components/SEO" import { WavesBottom } from "../../components/Waves" import { GlobalStyles } from "../../globalStyles" import useLocation from "../../hooks/useLocation" @@ -25,9 +26,18 @@ export const Layout: FC = ({ children }) => { - + {isHome && ( + + + + + )} {!isHome && ( + {children}