add calculation of ingredients based on servings
This commit is contained in:
parent
fee47da55d
commit
e467ca7e92
5 changed files with 63 additions and 14 deletions
|
|
@ -15,7 +15,7 @@ export const recipes: Recipe[] = [
|
|||
{ name: "Tomato Sauce", amount: 400, unit: "ml" }
|
||||
],
|
||||
instructions: "Cook pasta. Prepare sauce. Mix together. Serve hot.",
|
||||
imageUrl: "https://source.unsplash.com/400x300/?spaghetti"
|
||||
//imageUrl: "https://source.unsplash.com/400x300/?spaghetti"
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
|
|
@ -30,6 +30,6 @@ export const recipes: Recipe[] = [
|
|||
{ name: "Olives", amount: 100, unit: "g"}
|
||||
],
|
||||
instructions: "Cook pasta. Prepare sauce. Mix together. Serve hot.",
|
||||
imageUrl: "https://source.unsplash.com/400x300/?spaghetti"
|
||||
//imageUrl: "https://source.unsplash.com/400x300/?spaghetti"
|
||||
},
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue