From d4c2f178964777531be304f929ca7a17de96a907 Mon Sep 17 00:00:00 2001 From: Viviana Date: Tue, 27 Apr 2021 20:24:21 -0400 Subject: [PATCH] #31 Renamed files relevant to styling the product page for more consistency throughout different folders. --- package-lock.json | 6 +++--- .../product-page-styles.js} | 0 .../{products/products.js => product_page/product-page.js} | 2 +- src/pages/{products.js => product_page.js} | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename src/components/{products/products-styles.js => product_page/product-page-styles.js} (100%) rename src/components/{products/products.js => product_page/product-page.js} (98%) rename src/pages/{products.js => product_page.js} (96%) diff --git a/package-lock.json b/package-lock.json index bfd75cd..837179d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3735,9 +3735,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001158", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001158.tgz", - "integrity": "sha512-s5loVYY+yKpuVA3HyW8BarzrtJvwHReuzugQXlv1iR3LKSReoFXRm86mT6hT7PEF5RxW+XQZg+6nYjlywYzQ+g==" + "version": "1.0.30001218", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001218.tgz", + "integrity": "sha512-0ASydOWSy3bB88FbDpJSTt+PfDwnMqrym3yRZfqG8EXSQ06OZhF+q5wgYP/EN+jJMERItNcDQUqMyNjzZ+r5+Q==" }, "caseless": { "version": "0.12.0", diff --git a/src/components/products/products-styles.js b/src/components/product_page/product-page-styles.js similarity index 100% rename from src/components/products/products-styles.js rename to src/components/product_page/product-page-styles.js diff --git a/src/components/products/products.js b/src/components/product_page/product-page.js similarity index 98% rename from src/components/products/products.js rename to src/components/product_page/product-page.js index 71ef81a..b2b71d1 100644 --- a/src/components/products/products.js +++ b/src/components/product_page/product-page.js @@ -14,7 +14,7 @@ import { ProductImage, ProductName, ProductDescription, -} from "./products-styles" +} from "./product-page-styles" export default function ProductSection({ data }) { return ( diff --git a/src/pages/products.js b/src/pages/product_page.js similarity index 96% rename from src/pages/products.js rename to src/pages/product_page.js index 2cb05de..b6f1d02 100644 --- a/src/pages/products.js +++ b/src/pages/product_page.js @@ -1,7 +1,7 @@ import React from "react" import { graphql } from "gatsby" import Layout from "../components/layout" -import ProductPage from "../components/products/products" +import ProductPage from "../components/product_page/product-page" export default function ProductSection({ data }) { const productSectionData = data.prismicProductPage.data