From 8c5fd96b1d3d3289053123bef701e9eb2e67abde Mon Sep 17 00:00:00 2001 From: Karol Grochowalski Date: Wed, 20 Apr 2022 16:01:06 +0200 Subject: [PATCH] update flotiq react components --- src/components/RecipeSteps.js | 11 ++++++----- src/pages/404.js | 2 +- src/sections/RecipeCards.js | 2 +- src/templates/index.js | 13 +++++++------ src/templates/recipe.js | 17 +++++++++-------- 5 files changed, 24 insertions(+), 21 deletions(-) diff --git a/src/components/RecipeSteps.js b/src/components/RecipeSteps.js index 86b442e..79c1b33 100644 --- a/src/components/RecipeSteps.js +++ b/src/components/RecipeSteps.js @@ -8,11 +8,12 @@ const RecipeSteps = ({ additionalClass, steps }) => ( > {steps.map((step, index) => (
- - + + {`Step ${index + 1}`} + + + {step.step} + {step.image && step.image[0] && ( ( Page not found -
+
Page not found, sorry
{/* Example usage of button */}