add servings information to recipe

This commit is contained in:
Anika Raemer 2025-09-07 15:32:43 +02:00
parent 5c8ddf96f2
commit fee47da55d
7 changed files with 71 additions and 8 deletions

View file

@ -29,6 +29,7 @@ export default function RecipeDetailView() {
{/* Ingredients */}
<h2 className="section-heading">Zutaten</h2>
<p>For {recipe.servings.amount} {recipe.servings.unit}</p>
<ul className="default-list-item">
{recipe.ingredients.map((ing, i) => (
<li key={i}>