From 36958b895b872515ea286bcefeb8562001dbbda1 Mon Sep 17 00:00:00 2001 From: yesim Date: Tue, 23 Aug 2022 23:05:28 +0300 Subject: [PATCH] feat: conflict solved --- src/components/AddMeal/AddMeal.jsx | 20 ++++----- .../__snapshots__/AddMeal.test.jsx.snap | 18 ++++---- src/components/Cards/Cards.jsx | 8 ++-- .../__snapshots__/Cards.test.jsx.snap | 8 ++-- src/components/LandingMeals/LandingMeals.jsx | 40 +++++++++--------- .../__snapshots__/LandingMeals.test.jsx.snap | 40 +++++++++--------- src/components/Navbar/Navbar.jsx | 6 +-- .../Navbar/__snapshots__/Navbar.test.jsx.snap | 5 ++- src/components/Orders/Orders.jsx | 42 +++++++++---------- .../__snapshots__/Orders.test.jsx.snap | 42 +++++++++---------- src/components/Profile/Profile.jsx | 2 +- .../SignUpForm/SignUpChef/SignUpChef.jsx | 36 +++++++--------- .../__snapshots__/SignUpChef.test.jsx.snap | 2 +- .../SignUpForm/SignUpUser/SignUpUser.jsx | 36 +++++++--------- .../__snapshots__/SignUpUser.test.jsx.snap | 2 +- src/pages/index.jsx | 2 +- tailwind.config.js | 4 -- 17 files changed, 149 insertions(+), 164 deletions(-) diff --git a/src/components/AddMeal/AddMeal.jsx b/src/components/AddMeal/AddMeal.jsx index 4f65dc7..79a7665 100644 --- a/src/components/AddMeal/AddMeal.jsx +++ b/src/components/AddMeal/AddMeal.jsx @@ -50,7 +50,7 @@ export default function AddMeal() { }} className='mx-0 mt-0 flex h-48 w-full items-center justify-center overflow-hidden bg-center bg-no-repeat' > -
+
{/* { setMealName(e.target.value); }} /> -

Dietary

+

Dietary

-

Ingredients

+

Ingredients

setIngredient(e.target.value)} > ( // eslint-disable-next-line react/jsx-key
-

+

{ingredient}

-

Delivery in

+

Delivery in

setDeliveryMin(e.target.value)} > -

Price

+

Price

setPrice(e.target.value)} > diff --git a/src/components/AddMeal/__test__/__snapshots__/AddMeal.test.jsx.snap b/src/components/AddMeal/__test__/__snapshots__/AddMeal.test.jsx.snap index 8338425..93bbca5 100644 --- a/src/components/AddMeal/__test__/__snapshots__/AddMeal.test.jsx.snap +++ b/src/components/AddMeal/__test__/__snapshots__/AddMeal.test.jsx.snap @@ -15,7 +15,7 @@ exports[`renders correctly 1`] = ` } >

Dietary

@@ -142,7 +142,7 @@ exports[`renders correctly 1`] = `

Ingredients

@@ -153,7 +153,7 @@ exports[`renders correctly 1`] = ` className="relative w-1/3" >

Delivery in

Price

{ return ( -
+
{/* title part */}
-

+

You’ve missed home made food?

@@ -25,7 +25,7 @@ const Cards = () => { alt='x' />

-
+
Pick your chef order the food and get it when you want
@@ -51,7 +51,7 @@ const Cards = () => {
-

+

Get a 15% discount for your first order!

/ diff --git a/src/components/Navbar/__snapshots__/Navbar.test.jsx.snap b/src/components/Navbar/__snapshots__/Navbar.test.jsx.snap index 7f9f1f5..d3718b8 100644 --- a/src/components/Navbar/__snapshots__/Navbar.test.jsx.snap +++ b/src/components/Navbar/__snapshots__/Navbar.test.jsx.snap @@ -2,18 +2,19 @@ exports[`Navbar Component 1`] = `