From e3a81bf5d73404e4fc859e31014db3d192d4e3a3 Mon Sep 17 00:00:00 2001 From: fsoussand Date: Mon, 3 Jul 2023 14:13:34 +0200 Subject: [PATCH] move images files in appropriate folder --- public/{product_assets/images => icons}/add.png | Bin .../images => icons}/white-arrow.svg | 0 public/{product_assets => }/images/apple-pie.jpeg | Bin public/{product_assets => }/images/burger.png | Bin src/components/ui/Buttons/AppLink.tsx | 5 +---- .../ui/Cards/AddToCartButton/AddToCartButton.tsx | 2 +- src/pages/index.tsx | 5 +---- styles/globals.css | 2 +- 8 files changed, 4 insertions(+), 10 deletions(-) rename public/{product_assets/images => icons}/add.png (100%) rename public/{product_assets/images => icons}/white-arrow.svg (100%) rename public/{product_assets => }/images/apple-pie.jpeg (100%) rename public/{product_assets => }/images/burger.png (100%) diff --git a/public/product_assets/images/add.png b/public/icons/add.png similarity index 100% rename from public/product_assets/images/add.png rename to public/icons/add.png diff --git a/public/product_assets/images/white-arrow.svg b/public/icons/white-arrow.svg similarity index 100% rename from public/product_assets/images/white-arrow.svg rename to public/icons/white-arrow.svg diff --git a/public/product_assets/images/apple-pie.jpeg b/public/images/apple-pie.jpeg similarity index 100% rename from public/product_assets/images/apple-pie.jpeg rename to public/images/apple-pie.jpeg diff --git a/public/product_assets/images/burger.png b/public/images/burger.png similarity index 100% rename from public/product_assets/images/burger.png rename to public/images/burger.png diff --git a/src/components/ui/Buttons/AppLink.tsx b/src/components/ui/Buttons/AppLink.tsx index 4f8c12b..35dc2db 100644 --- a/src/components/ui/Buttons/AppLink.tsx +++ b/src/components/ui/Buttons/AppLink.tsx @@ -26,10 +26,7 @@ const AppLink: React.FC = ({ text, link }) => { }} > {text} - + ); }; diff --git a/src/components/ui/Cards/AddToCartButton/AddToCartButton.tsx b/src/components/ui/Cards/AddToCartButton/AddToCartButton.tsx index c0fcd9d..0de0ea6 100644 --- a/src/components/ui/Cards/AddToCartButton/AddToCartButton.tsx +++ b/src/components/ui/Cards/AddToCartButton/AddToCartButton.tsx @@ -46,7 +46,7 @@ const AddToCartButton: React.FC = ({