Skip to content

Commit

Permalink
added SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
Rouncer27 committed Jun 28, 2023
1 parent 5718606 commit 2b80f39
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ import SideByImages from "../components/templates/home/SideByImages"
import Testimonial from "../components/templates/home/Testimonial"

const IndexPage = props => {
const seoInfo = props.data.seoInfo
return (
<Layout>
<Seo title="Home Page" />
<Seo
title={seoInfo.seoFields.seoMetaTitle}
description={seoInfo.seoFields.seoMetaDescription}
metaImg={seoInfo.seoFields.seoMetaImage.mediaItemUrl}
location={props.location.pathname}
/>
<HomeIntro data={props.data.homeIntro.template.homeTemplate} />
<Flavours data={props.data.flavours.template.homeTemplate} />
<SideByImages data={props.data.sideByImages.template.homeTemplate} />
Expand Down

0 comments on commit 2b80f39

Please sign in to comment.