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/congrats.svg b/public/icons/congrats.svg
similarity index 100%
rename from public/product_assets/images/congrats.svg
rename to public/icons/congrats.svg
diff --git a/public/icons/smiley-sad.svg b/public/icons/smiley-sad.svg
new file mode 100644
index 0000000..64c7c5f
--- /dev/null
+++ b/public/icons/smiley-sad.svg
@@ -0,0 +1 @@
+
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/public/product_assets/dairy_coffee/egg.jpg b/public/product_assets/dairy_coffee/egg.jpg
new file mode 100644
index 0000000..910c0fc
Binary files /dev/null and b/public/product_assets/dairy_coffee/egg.jpg differ
diff --git a/public/product_assets/data/dairy_coffee.json b/public/product_assets/data/dairy_coffee_egg.json
similarity index 64%
rename from public/product_assets/data/dairy_coffee.json
rename to public/product_assets/data/dairy_coffee_egg.json
index 41c5f6e..f973d09 100644
--- a/public/product_assets/data/dairy_coffee.json
+++ b/public/product_assets/data/dairy_coffee_egg.json
@@ -1,130 +1,138 @@
[
{
"id": "ea86d695-59b7-465d-94b9-4b31ca4f8ab8",
- "title": "Watermelon",
+ "title": "Cheddar",
"description": "Cillum in laborum eu sint.",
- "price": "$ 2.42 each",
+ "price": "2.42€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/american_cheese.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "3b4470d2-ce5c-4967-8088-1162b191d1d8",
- "title": "Green Apple",
+ "title": "Beurre",
"description": "Ipsum velit officia officia eiusmod commodo tempor.",
- "price": "$ 1.69 each",
+ "price": "1.69€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/butter.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "d98c63f7-323c-49a0-879b-a49e76b55d84",
- "title": "Apricot",
+ "title": "Graines de café",
"description": "Proident ea voluptate veniam nulla duis fugiat veniam.",
- "price": "$ 1.22 each",
+ "price": "1.22€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/coffee_beans.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "b119f376-0228-4d9f-a0c0-56cc46d62c51",
- "title": "Plum",
+ "title": "Capsule de café",
"description": "Exercitation nostrud nisi labore id occaecat quis nulla.",
- "price": "$ 3.21 each",
+ "price": "3.21€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/coffee_capsule.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "e9591ded-7b1a-4428-97a1-1435a675306c",
- "title": "Yellow Apple",
+ "title": "Papier filtre",
"description": "Laborum laboris dolore eiusmod sint dolor eiusmod cillum.",
- "price": "$ 4.11 each",
+ "price": "4.11€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/coffee_paper_filter.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "24d3e3d3-9dd5-467d-a1b8-f1dfa4959dba",
- "title": "Orange",
+ "title": "Café broyé",
"description": "Eiusmod dolore elit cillum ex sint sunt irure laborum.",
- "price": "$ 1.21 each",
+ "price": "1.21€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/coffee_powder.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "69824912-20ca-4e74-951d-82cc9a5c43e2",
- "title": "Strawberry",
+ "title": "Lait concentré",
"description": "Elit ex in aliqua magna ut voluptate labore ullamco dolor voluptate in ex.",
- "price": "$ 1.61 each",
+ "price": "1.61€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/condensed_milk.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "8aebeb2f-2442-4801-8c73-80e0901e8ba6",
- "title": "Peach",
+ "title": "Crème",
"description": "Excepteur mollit enim et dolore ipsum eu non reprehenderit.",
- "price": "$ 1.36 each",
+ "price": "1.36€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/cream.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "6e1301f3-c547-4166-9487-ede8cba2e88e",
- "title": "Red Apple",
+ "title": "Ghee",
"description": "Consectetur excepteur sit id enim deserunt laborum officia.",
- "price": "$ 2.57 each",
+ "price": "2.57€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/ghee.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "79cf61db-65cd-422e-a077-384f4e45a64c",
- "title": "Watermelon",
+ "title": "Glace",
"description": "Aliquip id esse dolor ad adipisicing labore cillum sint est irure.",
- "price": "$ 3.91 each",
+ "price": "3.91€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/ice_cream.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "968805b1-cc7b-4597-9f20-edf2df7798b4",
- "title": "Green Apple",
+ "title": "Lait",
"description": "Laborum sint laboris consectetur officia.",
- "price": "$ 7.23 each",
+ "price": "7.23€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/milk.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "d67c00e2-f3a3-4ffe-a06c-0d08c8d4ee3f",
- "title": "Apricot",
+ "title": "Parmesan",
"description": "Deserunt voluptate dolor est quis aute.",
- "price": "$ 1.91 each",
+ "price": "1.91€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/parmesan_cheese.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "79ad3f98-0719-4dd0-970a-8b53296f10e1",
- "title": "Plum",
+ "title": "Lait en poudre",
"description": "Excepteur eu anim consequat irure cillum fugiat nostrud.",
- "price": "$ 3.97 each",
+ "price": "3.97€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/powdered_milk.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "93bd748b-40b1-4064-9bff-205d97ac0404",
- "title": "Yellow Apple",
+ "title": "Fromage frais",
"description": "Aute sit officia duis excepteur.",
- "price": "$ 1.04 each",
+ "price": "1.04€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/soft_cheese.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "7cfabc56-e24f-4631-bb43-99c3dd8b4e50",
- "title": "Orange",
+ "title": "Fromage suisse",
"description": "Occaecat ex consequat qui nulla sint proident do elit.",
- "price": "$ 1.73 each",
+ "price": "1.73€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/swiss_cheese.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
},
{
"id": "6c543f63-f66a-4b66-9910-d56943d0fd60",
- "title": "Strawberry",
+ "title": "Yaourt",
"description": "Pariatur dolore amet cupidatat eiusmod pariatur officia.",
- "price": "$ 3.18 each",
+ "price": "3.18€ pièce",
"previewImageUrl": "/product_assets/dairy_coffee/yogurt.jpg",
- "category": "DAIRY_COFFEE"
+ "category": "DAIRY_COFFEE_EGG"
+ },
+ {
+ "id": "b1b0b6a0-5b0a-4b0e-8b0a-2b0b0b0b0b0b",
+ "title": "Oeuf",
+ "description": "Pariatur dolore amet cupidatat eiusmod pariatur officia.",
+ "price": "0,5€ pièce",
+ "previewImageUrl": "/product_assets/dairy_coffee/egg.jpg",
+ "category": "DAIRY_COFFEE_EGG"
}
]
diff --git a/src/components/ui/AppBar/Menu/Menu.tsx b/src/components/ui/AppBar/Menu/Menu.tsx
index 57e7a31..ce3bd56 100644
--- a/src/components/ui/AppBar/Menu/Menu.tsx
+++ b/src/components/ui/AppBar/Menu/Menu.tsx
@@ -21,6 +21,11 @@ const menuItems = [
link: "flour",
icon: require("/public/icons/flour.svg"),
},
+ {
+ text: ProductCategory.DAIRY_COFFEE_EGG,
+ link: "egg",
+ icon: require("/public/icons/egg.svg"),
+ },
];
const Menu: React.FC = () => {
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 = ({