diff --git a/web/src/components/detail/StepIngredientSideView.astro b/web/src/components/detail/StepIngredientSideView.astro new file mode 100644 index 0000000..c4272ee --- /dev/null +++ b/web/src/components/detail/StepIngredientSideView.astro @@ -0,0 +1,11 @@ +--- +const { ingredients, class: className } = Astro.props; +--- + +
• {i.quantity.value.value} {i.unit || ""} {i.name}
+Steps
+ {sections.map((section, sectionIndex) => ( +Step {stepIndex + 1}
+ +{stepText}
+ {stepIngredients.length > 0 && ( +{recipe.metadata.title ?? "Untitled Recipe"}
+{recipeData.metadata.title ?? "Untitled Recipe"}
Ingredients
-