Skip to content

Commit

Permalink
#38 temporarily removing about
Browse files Browse the repository at this point in the history
  • Loading branch information
samgildea committed Apr 28, 2021
1 parent c8062ae commit da2cc70
Show file tree
Hide file tree
Showing 2 changed files with 260 additions and 236 deletions.
96 changes: 48 additions & 48 deletions src/pages/about.js
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
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>{aboutData.company_background_section_heading}</h1>
</Layout>
)
}
// return (
// <Layout>
// <h1>{aboutData.company_background_section_heading}</h1>
// </Layout>
// )
// }

export const query = graphql`
query AboutQuery {
prismicAboutPage {
data {
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
}
}
}
}
`
// export const query = graphql`
// query AboutQuery {
// prismicAboutPage {
// data {
// 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
// }
// }
// }
// }
// `
Loading

0 comments on commit da2cc70

Please sign in to comment.