basic instructions editor

This commit is contained in:
Anika Raemer 2025-10-11 07:32:50 +02:00
parent 47ffe8c74d
commit e94be51f3e
10 changed files with 108 additions and 33 deletions

View file

@ -122,9 +122,15 @@ export default function RecipeDetailPage() {
))}
</ul>
{/* Instructions */}
{/* Instructions - @todo add reasonable list delegate component*/}
<h2 className="section-heading">Zubereitung</h2>
<p className="mb-6">{recipe.instructions}</p>
<ol className="default-list mb-6">
{recipe.instructionStepList.map((step,j) =>(
<li key={j}>
{step.text}
</li>
))}
</ol>
{/* Action buttons */}
<div className="button-group">