diff --git a/gatsby-node.js b/gatsby-node.js index d07f840..49641ed 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -16,30 +16,12 @@ exports.createPages = ({ boundActionCreators, graphql }) => { path date title - image { - childImageSharp { - resolutions(width: 1400) { - width - height - src - srcSet - } - } - } + image heading description intro { blurbs { - image { - childImageSharp { - resolutions(width: 220) { - width - height - src - srcSet - } - } - } + image text } heading @@ -50,58 +32,22 @@ exports.createPages = ({ boundActionCreators, graphql }) => { description image1 { alt - image { - childImageSharp { - resolutions(width: 400) { - width - height - src - srcSet - } - } - } + image } image2 { alt - image { - childImageSharp { - resolutions(width: 400) { - width - height - src - srcSet - } - } - } + image } image3 { alt - image { - childImageSharp { - resolutions(width: 400) { - width - height - src - srcSet - } - } - } + image } } testimonials { author quote } - full_image { - childImageSharp { - resolutions(width: 400) { - width - height - src - srcSet - } - } - } + full_image pricing { heading description diff --git a/src/components/Features.js b/src/components/Features.js index 28fb555..1160764 100644 --- a/src/components/Features.js +++ b/src/components/Features.js @@ -3,10 +3,10 @@ import React from 'react'; const FeatureGrid = ({ gridItems }) => (
-
+
{item.text}
{frontmatter.pricing.description}
@@ -102,30 +98,12 @@ export const productPageQuery = graphql` frontmatter { title path - image { - childImageSharp { - resolutions(width: 1400) { - width - height - src - srcSet - } - } - } + image heading description intro { blurbs { - image { - childImageSharp { - resolutions(width: 220) { - width - height - src - srcSet - } - } - } + image text } heading @@ -136,46 +114,22 @@ export const productPageQuery = graphql` description image1 { alt - image { - childImageSharp { - resolutions(width: 700) { - src - } - } - } + image } image2 { alt - image { - childImageSharp { - resolutions(width: 700) { - src - } - } - } + image } image3 { alt - image { - childImageSharp { - resolutions(width: 1400) { - src - } - } - } + image } } testimonials { author quote } - full_image { - childImageSharp { - resolutions(width: 1400) { - src - } - } - } + full_image pricing { heading description diff --git a/static/admin/config.yml b/static/admin/config.yml index 0f1717b..5e93965 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -2,8 +2,8 @@ backend: name: git-gateway branch: master -media_folder: "/src/pages/blog/img" -public_folder: "img" +media_folder: static/img +public_folder: img collections: - name: "blog" diff --git a/src/pages/blog/img/chemex.jpg b/static/img/chemex.jpg similarity index 100% rename from src/pages/blog/img/chemex.jpg rename to static/img/chemex.jpg diff --git a/src/pages/product/img/illustrations/coffee-gear.png b/static/img/coffee-gear.png similarity index 100% rename from src/pages/product/img/illustrations/coffee-gear.png rename to static/img/coffee-gear.png diff --git a/src/pages/product/img/illustrations/coffee.png b/static/img/coffee.png similarity index 100% rename from src/pages/product/img/illustrations/coffee.png rename to static/img/coffee.png diff --git a/src/pages/blog/img/flavor_wheel.jpg b/static/img/flavor_wheel.jpg similarity index 100% rename from src/pages/blog/img/flavor_wheel.jpg rename to static/img/flavor_wheel.jpg diff --git a/src/pages/product/img/products/jumbotron.jpg b/static/img/jumbotron.jpg similarity index 100% rename from src/pages/product/img/products/jumbotron.jpg rename to static/img/jumbotron.jpg diff --git a/src/pages/product/img/illustrations/meeting-space.png b/static/img/meeting-space.png similarity index 100% rename from src/pages/product/img/illustrations/meeting-space.png rename to static/img/meeting-space.png diff --git a/src/pages/product/img/products/products-full-width.jpg b/static/img/products-full-width.jpg similarity index 100% rename from src/pages/product/img/products/products-full-width.jpg rename to static/img/products-full-width.jpg diff --git a/src/pages/product/img/products/products-grid1.jpg b/static/img/products-grid1.jpg similarity index 100% rename from src/pages/product/img/products/products-grid1.jpg rename to static/img/products-grid1.jpg diff --git a/src/pages/product/img/products/products-grid2.jpg b/static/img/products-grid2.jpg similarity index 100% rename from src/pages/product/img/products/products-grid2.jpg rename to static/img/products-grid2.jpg diff --git a/src/pages/product/img/products/products-grid3.jpg b/static/img/products-grid3.jpg similarity index 100% rename from src/pages/product/img/products/products-grid3.jpg rename to static/img/products-grid3.jpg diff --git a/src/pages/product/img/illustrations/tutorials.png b/static/img/tutorials.png similarity index 100% rename from src/pages/product/img/illustrations/tutorials.png rename to static/img/tutorials.png