add calculation of ingredients based on servings

This commit is contained in:
Anika Raemer 2025-09-07 16:28:46 +02:00
parent fee47da55d
commit e467ca7e92
5 changed files with 63 additions and 14 deletions

View file

@ -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"
},
]