Skip to content

Commit

Permalink
Merge branch 'master' into #40-quote-section
Browse files Browse the repository at this point in the history
  • Loading branch information
samgildea committed Apr 29, 2021
2 parents d3cf8db + 48c6072 commit a937839
Show file tree
Hide file tree
Showing 7 changed files with 582 additions and 542 deletions.
76 changes: 38 additions & 38 deletions src/pages/about.js
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
import { graphql } from "gatsby"
// import { graphql } from "gatsby"

import React from "react"
import Layout from "../components/layout"
// import React from "react"
// import Layout from "../components/layout"

export default function About({ data }) {
// const aboutData = data.prismicAboutPage.data
// export default function About({ data }) {
// const aboutData = data.prismicAboutPage.data

return (
<Layout>
<h1>test</h1>
</Layout>
)
}
// return (
// <Layout>
// <h1>{aboutData.company_background_section_heading}</h1>
// </Layout>
// )
// }

// export const query = graphql`
// query AboutQuery {
// prismicAboutPage {
// data {
// # company {
// # company_name
// # }
// company {
// company_name
// }
// company_background_description
// company_background_section_heading
// # company_comparison_section_heading
// # company_team_heading
// # cta_button_destination
// # cta_button_text
// # industry_context_explanation {
// # explanation_description
// # }
// # industry_context_heading
// # mission_description
// # mission_heading
// # product_benefit {
// # product_benefit_title
// # }
// # product_feature {
// # product_feature_name
// # }
// # products_navigation_button_destination
// # products_navigation_button_text
// # team_member_information {
// # contact_button_destination
// # contact_button_text
// # team_member_description
// # team_member_title
// # }
// company_comparison_section_heading
// company_team_heading
// cta_button_destination
// cta_button_text
// industry_context_explanation {
// explanation_description
// }
// industry_context_heading
// mission_description
// mission_heading
// product_benefit {
// product_benefit_title
// }
// product_feature {
// product_feature_name
// }
// products_navigation_button_destination
// products_navigation_button_text
// team_member_information {
// contact_button_destination
// contact_button_text
// team_member_description
// team_member_title
// }
// }
// }
// }
Expand Down
26 changes: 13 additions & 13 deletions src/pages/products.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import React from "react"
import { graphql } from "gatsby"
// import React from "react"
// import { graphql } from "gatsby"

export default function ProductSection({ data }) {
// const productSectionData = data.prismicProductPage.data
// export default function ProductSection({ data }) {
// const productSectionData = data.prismicProductPage.data

return (
<div>
{/* Mapping over individual products. TODO: separate products based on category (homeowner or commerical) */}
{/* {productSectionData.products.map(product => {
return <h1>{product.product.document.data.product_title}</h1>
})} */}
</div>
)
}
// return (
// <div>
// {/* Mapping over individual products. TODO: separate products based on category (homeowner or commerical) */}
// {productSectionData.products.map(product => {
// return <h1>{product.product.document.data.product_title}</h1>
// })}
// </div>
// )
// }

// export const query = graphql`
// query ProductPageQuery {
Expand Down
Loading

0 comments on commit a937839

Please sign in to comment.